Package ai.reveng.model
Class MatchedFunction
java.lang.Object
ai.reveng.model.MatchedFunction
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class MatchedFunction
extends Object
MatchedFunction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisId(Long analysisId) binaryName(String binaryName) confidence(Double confidence) booleanstatic MatchedFunctionCreate an instance of MatchedFunction given an JSON stringfunctionId(Long functionId) functionName(String functionName) functionVaddr(Long functionVaddr) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Analysis the candidate's binary belongs toBinary the candidate belongs toBinary nameSoftmax-normalised confidence over the candidate poolgetDebug()Whether the candidate's name came from debug infoCandidate function IDCandidate function nameCandidate's virtual address inside its binaryMangled name when availableSHA-256 of the candidate's binaryCosine similarity scaled to a percentageinthashCode()mangledName(String mangledName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnalysisId(Long analysisId) voidsetBinaryId(Long binaryId) voidsetBinaryName(String binaryName) voidsetConfidence(Double confidence) voidvoidsetFunctionId(Long functionId) voidsetFunctionName(String functionName) voidsetFunctionVaddr(Long functionVaddr) voidsetMangledName(String mangledName) voidsetSha256Hash(String sha256Hash) voidsetSimilarity(Double similarity) sha256Hash(String sha256Hash) similarity(Double similarity) toJson()Convert an instance of MatchedFunction to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ANALYSIS_ID
- See Also:
-
SERIALIZED_NAME_BINARY_ID
- See Also:
-
SERIALIZED_NAME_BINARY_NAME
- See Also:
-
SERIALIZED_NAME_CONFIDENCE
- See Also:
-
SERIALIZED_NAME_DEBUG
- See Also:
-
SERIALIZED_NAME_FUNCTION_ID
- See Also:
-
SERIALIZED_NAME_FUNCTION_NAME
- See Also:
-
SERIALIZED_NAME_FUNCTION_VADDR
- See Also:
-
SERIALIZED_NAME_MANGLED_NAME
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_SIMILARITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MatchedFunction
public MatchedFunction()
-
-
Method Details
-
analysisId
-
getAnalysisId
Analysis the candidate's binary belongs to- Returns:
- analysisId
-
setAnalysisId
-
binaryId
-
getBinaryId
Binary the candidate belongs to- Returns:
- binaryId
-
setBinaryId
-
binaryName
-
getBinaryName
Binary name- Returns:
- binaryName
-
setBinaryName
-
confidence
-
getConfidence
Softmax-normalised confidence over the candidate pool- Returns:
- confidence
-
setConfidence
-
debug
-
getDebug
Whether the candidate's name came from debug info- Returns:
- debug
-
setDebug
-
functionId
-
getFunctionId
Candidate function ID- Returns:
- functionId
-
setFunctionId
-
functionName
-
getFunctionName
Candidate function name- Returns:
- functionName
-
setFunctionName
-
functionVaddr
-
getFunctionVaddr
Candidate's virtual address inside its binary- Returns:
- functionVaddr
-
setFunctionVaddr
-
mangledName
-
getMangledName
Mangled name when available- Returns:
- mangledName
-
setMangledName
-
sha256Hash
-
getSha256Hash
SHA-256 of the candidate's binary- Returns:
- sha256Hash
-
setSha256Hash
-
similarity
-
getSimilarity
Cosine similarity scaled to a percentage- Returns:
- similarity
-
setSimilarity
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the MatchedFunction instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to MatchedFunction
-
fromJson
Create an instance of MatchedFunction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MatchedFunction
- Throws:
IOException- if the JSON string is invalid with respect to MatchedFunction
-
toJson
Convert an instance of MatchedFunction to an JSON string- Returns:
- JSON string
-