title: Find function's start offset in ELF
body: <p>Suppose I have function <code>fn</code> somewhere within the <code>.text</code> section of an ELF64 executable. Is there a way to know at which offset (in bytes) from the start of the ELF file the <code>fn</code> function is located? Note that I don't need to know at which VA it was relocated at linking time, but its position within the ELF file.</p>