Binary Raw - Docs
    Preparing search index...

    Function parse

    • Parses an ELF image and returns its structured representation.

      Produces the following sections:

      • ELF Header – identification fields, type, machine, and entry point.
      • Program Header Table – one child entry per program header (capped at 128).
      • Section Header Table – one child entry per section header (capped at 256).

      Both ELF32 and ELF64 formats are supported, as well as little-endian and big-endian data encodings. Field offsets are resolved at parse time via

      Parameters

      Returns ParsedStructure

      A ParsedStructure with format set to 'ELF' and entryPoint set to the absolute virtual entry address, or undefined if e_entry is zero.