Skip to content

Latest commit

History

History
48 lines (39 loc) · 1.67 KB

File metadata and controls

48 lines (39 loc) · 1.67 KB

ELFModel

Properties

NameTypeDescriptionNotes
file_typestr
architecturestr
endiannessstr
entry_pointint
entry_point_bytesstr
import_hashstr
export_hashstr
build_idstr
securityELFSecurity
sectionsList[ELFSection]
segmentsList[ELFSegment]
symbolsList[ELFSymbol]
dynamic_symbolsList[ELFSymbol]
relocationsList[ELFRelocation]
importsELFImportModel
exported_functionsList[str]
dynamic_entriesList[ElfDynamicEntry]
notesList[Dict[str, object]]
debug_infoDict[str, object]
version_infoDict[str, object]

Example

fromrevengai.models.elf_modelimportELFModel# TODO update the JSON string belowjson="{}"# create an instance of ELFModel from a JSON stringelf_model_instance=ELFModel.from_json(json)
# print the JSON string representation of the objectprint(ELFModel.to_json())
# convert the object into a dictelf_model_dict=elf_model_instance.to_dict()
# create an instance of ELFModel from a dictelf_model_from_dict=ELFModel.from_dict(elf_model_dict)

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