findTextSectionFileOffset
Function: findTextSectionFileOffset()
findTextSectionFileOffset(
buf):number
Defined in: packages/content-mapper/src/patch-tsc.ts:90
Find the file offset of the .text / __text code section in a Mach-O, ELF, or PE binary.
Parameters
buf
Buffer
Raw binary buffer
Returns
number
File offset where the code section begins