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

NameTypeDescriptionNotes
analysis_idintAnalysis the candidate's binary belongs to
binary_idintBinary the candidate belongs to
binary_namestrBinary name
confidencefloatSoftmax-normalised confidence over the candidate pool
debugboolWhether the candidate's name came from debug info
function_idintCandidate function ID
function_namestrCandidate function name
function_vaddrintCandidate's virtual address inside its binary
mangled_namestrMangled name when available
sha_256_hashstrSHA-256 of the candidate's binary
similarityfloatCosine similarity scaled to a percentage

Example

fromrevengai.models.matched_functionimportMatchedFunction# TODO update the JSON string belowjson="{}"# create an instance of MatchedFunction from a JSON stringmatched_function_instance=MatchedFunction.from_json(json)
# print the JSON string representation of the objectprint(MatchedFunction.to_json())
# convert the object into a dictmatched_function_dict=matched_function_instance.to_dict()
# create an instance of MatchedFunction from a dictmatched_function_from_dict=MatchedFunction.from_dict(matched_function_dict)

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