Skip to content

Latest commit

History

History
31 lines (22 loc) · 1.14 KB

File metadata and controls

31 lines (22 loc) · 1.14 KB

FunctionMapping

Properties

NameTypeDescriptionNotes
function_mapDict[str, int]Mapping of remote function ids to local function addresses
inverse_function_mapDict[str, int]Mapping of local function addresses to remote function ids
name_mapDict[str, str]Mapping of local function addresses to mangled names

Example

fromrevengai.models.function_mappingimportFunctionMapping# TODO update the JSON string belowjson="{}"# create an instance of FunctionMapping from a JSON stringfunction_mapping_instance=FunctionMapping.from_json(json)
# print the JSON string representation of the objectprint(FunctionMapping.to_json())
# convert the object into a dictfunction_mapping_dict=function_mapping_instance.to_dict()
# create an instance of FunctionMapping from a dictfunction_mapping_from_dict=FunctionMapping.from_dict(function_mapping_dict)

[Back to Model list][Back to API list][Back to README]