Skip to content

Latest commit

History

History
38 lines (29 loc) · 2.28 KB

File metadata and controls

38 lines (29 loc) · 2.28 KB

FunctionSignatureBody

Properties

NameTypeDescriptionNotes
calling_conventionstrCalling convention, when the producer reported one.[optional]
created_atdatetimeWhen this signature was extracted.[optional]
data_typesList[DataTypeEntry]The types the signature names — its parameter types and its return type — ordered by data_type_id. Each entry is identical to the one the data types endpoints serve for that id. Returned only when include_data_types is true.[optional]
function_idint
function_namestrCurrent name of the function.
has_signatureboolWhether a signature was extracted for this function. False is a normal result: no signature is recorded unless data type extraction ran for the analysis, and thunks and external functions are skipped when it does.
parametersList[SignatureParameterEntry]Parameters in argument order. Empty with has_signature true means the function is known to take no arguments.
return_data_type_idintReturn type, resolvable against the analysis data types list. Absent for an unresolved return type.[optional]
source_function_idintThe function this signature was copied from, when it was transferred rather than extracted.[optional]
source_typestrWhere this signature came from.[optional]

Example

fromrevengai.models.function_signature_bodyimportFunctionSignatureBody# TODO update the JSON string belowjson="{}"# create an instance of FunctionSignatureBody from a JSON stringfunction_signature_body_instance=FunctionSignatureBody.from_json(json)
# print the JSON string representation of the objectprint(FunctionSignatureBody.to_json())
# convert the object into a dictfunction_signature_body_dict=function_signature_body_instance.to_dict()
# create an instance of FunctionSignatureBody from a dictfunction_signature_body_from_dict=FunctionSignatureBody.from_dict(function_signature_body_dict)

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