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.DynamicArrayEntries

Full Usage: this.DynamicArrayEntries

Returns: DynamicArrayEntry array

List of dynamic section entries.

Returns: DynamicArrayEntry array

this.ExceptionFrame

Full Usage: this.ExceptionFrame

Returns: ExceptionFrame

Exception information.

Returns: ExceptionFrame

this.FindSection

Full Usage: this.FindSection

Parameters:
    idx : int

Returns: SectionHeader

Find a section by its index.

idx : int
Returns: SectionHeader

this.GlobalPointer

Full Usage: this.GlobalPointer

Returns: Addr option

Returns Global Pointer (GP) value when it is known. This is only available in MIPS binaries.

Returns: Addr option

this.HasCode

Full Usage: this.HasCode

Parameters:
Returns: bool

Is this section contains executable code?

sec : SectionHeader
Returns: bool

this.Header

Full Usage: this.Header

Returns: Header

ELF Header information.

Returns: Header

this.IsPLT

Full Usage: this.IsPLT

Parameters:
Returns: bool

Is this a PLT section?

sec : SectionHeader
Returns: bool

this.LSDATable

Full Usage: this.LSDATable

Returns: LSDATable

LSDA table.

Returns: LSDATable

this.PLT

Full Usage: this.PLT

Returns: NoOverlapIntervalMap<LinkageTableEntry>

PLT.

Returns: NoOverlapIntervalMap<LinkageTableEntry>

this.ProgramHeaders

Full Usage: this.ProgramHeaders

Returns: ProgramHeader array

ELF program headers.

Returns: ProgramHeader array

this.RelocationInfo

Full Usage: this.RelocationInfo

Returns: RelocationInfo

Relocation information.

Returns: RelocationInfo

this.SectionHeaders

Full Usage: this.SectionHeaders

Returns: SectionHeader array

ELF section headers.

Returns: SectionHeader array

this.Symbols

Full Usage: this.Symbols

Returns: SymbolStore

ELF symbol information.

Returns: SymbolStore

this.TryFindSection

Full Usage: this.TryFindSection

Parameters:
    name : string

Returns: SectionHeader option

Try to find a section by its name.

name : string
Returns: SectionHeader option

this.UnwindingTable

Full Usage: this.UnwindingTable

Returns: Map<Addr, UnwindingEntry>

Unwinding table.

Returns: Map<Addr, UnwindingEntry>

Type something to start searching.