A match produced by a provider. More...
A match produced by a provider.
Similarity and confidence range from 0 to 255, where 255 is strongest. Automatic metadata transfer requires `target` to identify an active function.
Public Member Functions | |
| SimilarityResult (SimilarityProviderId provider, uint8_t similarity, uint8_t confidence, const SimilarityEntityRef &target) | |
| SimilarityResult (const BNSimilarityResult &result) | |
| bool | operator== (const SimilarityResult &other) const =default |
| BNSimilarityResult | ToRaw () const |
Public Attributes | |
| SimilarityProviderId | providerId |
| The provider which produced the match. | |
| uint8_t | similarity |
| The similarity of the two entities. | |
| uint8_t | confidence |
| The provider's confidence in the match. | |
| SimilarityEntityRef | target |
| The matched entity, which may be used as the source for metadata transfer. | |
|
inline |
|
inline |
|
default |
|
inlinenodiscard |
| SimilarityProviderId BinaryNinja::SimilarityResult::providerId |
The provider which produced the match.
| uint8_t BinaryNinja::SimilarityResult::similarity |
The similarity of the two entities.
| uint8_t BinaryNinja::SimilarityResult::confidence |
The provider's confidence in the match.
| SimilarityEntityRef BinaryNinja::SimilarityResult::target |
The matched entity, which may be used as the source for metadata transfer.