Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.33 KB

TriageFunction.md

File metadata and controls

34 lines (25 loc) · 1.33 KB

TriageFunction

Properties

Name Type Description Notes
address int Virtual address of the function
capabilities List[str] Capability categories the function exhibits
capability_implementations List[CapabilityImplementation] How the function implements each assigned capability. Absent when the run did not record any. [optional]
id int ID of the function
score float Maliciousness score for the function, 0 to 1
summary str What the function does

Example

from revengai.models.triage_function import TriageFunction

# TODO update the JSON string below
json = "{}"
# create an instance of TriageFunction from a JSON string
triage_function_instance = TriageFunction.from_json(json)
# print the JSON string representation of the object
print(TriageFunction.to_json())

# convert the object into a dict
triage_function_dict = triage_function_instance.to_dict()
# create an instance of TriageFunction from a dict
triage_function_from_dict = TriageFunction.from_dict(triage_function_dict)

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