Header menu logo B2R2

ELFBinFile Type

This class 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 : RegisterFactory option

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

Instance members

Instance member Description

this.DynamicSectionEntries

Full Usage: this.DynamicSectionEntries

Returns: DynamicSectionEntry array

List of dynamic section entries.

Returns: DynamicSectionEntry array

this.ExceptionInfo

Full Usage: this.ExceptionInfo

Returns: ExceptionInfo

Exception information.

Returns: ExceptionInfo

this.FindSection

Full Usage: this.FindSection

Parameters:
    idx : int

Returns: ELFSection

Find a section by its index.

idx : int
Returns: ELFSection

this.Header

Full Usage: this.Header

Returns: ELFHeader

ELF Header information.

Returns: ELFHeader

this.PLT

Full Usage: this.PLT

Returns: ARMap<LinkageTableEntry>

PLT.

Returns: ARMap<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: ELFSection array

ELF section headers.

Returns: ELFSection array

this.SymbolInfo

Full Usage: this.SymbolInfo

Returns: ELFSymbolInfo

ELF symbol information.

Returns: ELFSymbolInfo

this.TryFindSection

Full Usage: this.TryFindSection

Parameters:
    name : string

Returns: ELFSection option

Try to find a section by its name.

name : string
Returns: ELFSection option

Type something to start searching.