IBinStructure Type
Represents the structural view of a binary file, such as its sections and functions.
Instance members
| Instance member |
Description
|
|
Returns a binary file pointer that points to the beginning of the code section, e.g., ".text" section of ELF.
|
Full Usage:
this.FunctionAddresses
Returns: Addr[]
An array of function addresses.
Modifiers: abstract |
Returns an array of local function addresses (excluding external functions) from a given BinFile. This function only considers addresses that are certain. We do not include the entry point address (e.g., _start) in the result, because it is not necessarily a function address in general.
|
Full Usage:
this.GetSectionPointer
Parameters:
string
Returns: BinFilePointer
Modifiers: abstract |
Returns a binary file pointer of the given section whose name is given as an argument. The resulting pointer will point to the beginning of the section. If the address is not in any section, then this function returns a null pointer.
|
|
Returns an array of binary sections in the associated binary file.
|
Full Usage:
this.TryFindSectionByAddr
Parameters:
Addr
Returns: Result<BinSection, ErrorCase>
Modifiers: abstract |
Finds the section that contains the given address. If the address is not in any section, then this function returns an error.
|
Full Usage:
this.TryFindSectionByName
Parameters:
string
Returns: Result<BinSection, ErrorCase>
Modifiers: abstract |
Finds the section whose name matches the given name. If no such section exists, then this function returns an error.
|
Full Usage:
this.TryFindSectionByOffset
Parameters:
uint32
Returns: Result<BinSection, ErrorCase>
Modifiers: abstract |
Finds the section that contains the given file offset. Sections without file-backed contents are not considered. If the offset is not in any section, then this function returns an error.
|
|
|
|
B2R2