Function Type
Represents a function in a binary, which is essentially a continuous chunk of code. Functions may overlap with each other in rare cases. Function overlapping is rare because we will create a new function when there is an incoming edge in the middle of a funcion,
Constructors
| Constructor |
Description
|
Full Usage:
Function(entryPoint, name, noret, callers, jmptbls, isExtern)
Parameters:
Addr
name : string
noret : NonReturningStatus
callers : HashSet<Addr>
jmptbls : List<JmpTableInfo>
isExtern : bool
Returns: Function
|
|
Full Usage:
Function(entryPoint, name, cfg, isNoRet, callees, callers, jmptbls, isExtern)
Parameters:
Addr
name : string
cfg : LowUIRCFG
isNoRet : NonReturningStatus
callees : SortedList<CallSite, CalleeKind>
callers : HashSet<Addr>
jmptbls : List<JmpTableInfo>
isExtern : bool
Returns: Function
|
|
Instance members
| Instance member |
Description
|
Function's control flow graph.
|
|
|
Mapping from a callsite to its callee kind.
|
|
|
|
Function entry point address.
|
Full Usage:
this.ID
Returns: string
|
Unique ID of the function. A binary can have multiple functions with the same name, but they will have different IDs.
|
Full Usage:
this.IsExternal
Returns: bool
|
Whether this function is an external function.
|
|
Jump tables associated with this function.
|
Full Usage:
this.Name
Returns: string
|
Name of the function.
|
|
Return the non-returning status of this function.
|
B2R2