Skip to content

Latest commit

History

History
39 lines (30 loc) · 1.8 KB

File metadata and controls

39 lines (30 loc) · 1.8 KB

DataTypeEntry

A data type extracted from the binary. kind selects the variant and so which definition the type carries.

Properties

NameTypeDescriptionNotes
created_atdatetimeWhen this type was extracted.
data_type_idintIdentifies the type within its analysis. 0 is a valid id.
definitionFunctionTypeDefinitionAbsent only for a type referenced but never defined.[optional]
has_definitionboolWhether this type carries a definition. False for the kinds that never have one and for a type referenced but never defined.
kindstr
namestrType name.
namespacestrThe scope qualifying the type name. Empty for a program-defined type.
sizeintSize in bytes, absent when it could not be determined.[optional]
source_function_idintThe function this type was copied from, when transferred rather than extracted.[optional]
source_typestrWhere this type came from.

Example

fromrevengai.models.data_type_entryimportDataTypeEntry# TODO update the JSON string belowjson="{}"# create an instance of DataTypeEntry from a JSON stringdata_type_entry_instance=DataTypeEntry.from_json(json)
# print the JSON string representation of the objectprint(DataTypeEntry.to_json())
# convert the object into a dictdata_type_entry_dict=data_type_entry_instance.to_dict()
# create an instance of DataTypeEntry from a dictdata_type_entry_from_dict=DataTypeEntry.from_dict(data_type_entry_dict)

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