Header menu logo B2R2

ELFBinFile Type

Represents an ELF binary file.

Constructors

Constructor Description

ELFBinFile(path, bytes, baseAddrOpt, rfOpt)

Full Usage: ELFBinFile(path, bytes, baseAddrOpt, rfOpt)

Parameters:
    path : string
    bytes : byte[]
    baseAddrOpt : uint64 option
    rfOpt : IRegisterFactory option

Returns: ELFBinFile
path : string
bytes : byte[]
baseAddrOpt : uint64 option
rfOpt : IRegisterFactory option
Returns: ELFBinFile

Instance members

Instance member Description

this.ProgramHeaderCount

Full Usage: this.ProgramHeaderCount

Returns: int

Number of entries in the program header table (e_phnum), i.e., the AT_PHNUM value passed through the auxiliary vector.

Returns: int

this.ProgramHeaderTableAddress

Full Usage: this.ProgramHeaderTableAddress

Returns: Addr option

Virtual address of the program header table, i.e., the AT_PHDR value that the kernel passes through the auxiliary vector. Taken from PT_PHDR when present, otherwise derived from e_phoff and the enclosing PT_LOAD segment; None when it maps into no loadable segment.

Returns: Addr option

Type something to start searching.