diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-04-14 17:25:29 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-06-21 14:51:14 -0400 |
| commit | 63e72efd13b31c1d2061b978e2a5f4688e7ba4fd (patch) | |
| tree | c74a04f126b76051792ab2be294d34e909d003b3 /binaryninjacore.h | |
| parent | 34e5803d69fea165da55da518ffaddfb7344ed00 (diff) | |
Add Analysis::GetTypeByRef, which searches for types by id/name
Due to bugs, sometimes named types will not have a correct id, leading to bugs
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 58fb6bf2..587e5920 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -4189,6 +4189,7 @@ extern "C" BINARYNINJACOREAPI BNQualifiedName* BNGetAnalysisTypeNames(BNBinaryView* view, size_t* count, const char* matching); BINARYNINJACOREAPI void BNFreeTypeNameList(BNQualifiedName* names, size_t count); BINARYNINJACOREAPI BNType* BNGetAnalysisTypeByName(BNBinaryView* view, BNQualifiedName* name); + BINARYNINJACOREAPI BNType* BNGetAnalysisTypeByRef(BNBinaryView* view, BNNamedTypeReference* ref); BINARYNINJACOREAPI BNType* BNGetAnalysisTypeById(BNBinaryView* view, const char* id); BINARYNINJACOREAPI char* BNGetAnalysisTypeId(BNBinaryView* view, BNQualifiedName* name); BINARYNINJACOREAPI BNQualifiedName BNGetAnalysisTypeNameById(BNBinaryView* view, const char* id); |
