Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.57 KB

File metadata and controls

39 lines (30 loc) · 1.57 KB

MatchedFunction

Properties

Name Type Description Notes
analysis_id int Analysis the candidate's binary belongs to
binary_id int Binary the candidate belongs to
binary_name str Binary name
confidence float Softmax-normalised confidence over the candidate pool
debug bool Whether the candidate's name came from debug info
function_id int Candidate function ID
function_name str Candidate function name
function_vaddr int Candidate's virtual address inside its binary
mangled_name str Mangled name when available
sha_256_hash str SHA-256 of the candidate's binary
similarity float Cosine similarity scaled to a percentage

Example

from revengai.models.matched_function import MatchedFunction

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

# convert the object into a dict
matched_function_dict = matched_function_instance.to_dict()
# create an instance of MatchedFunction from a dict
matched_function_from_dict = MatchedFunction.from_dict(matched_function_dict)

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