diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-11-06 15:28:59 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-11-06 16:10:47 -0500 |
| commit | 6436615567547349434351468012512505109552 (patch) | |
| tree | e798973c25805377731c4a199f40379263bc128c /binaryninjacore.h | |
| parent | 4108964609171327618627477163339656037111 (diff) | |
Type Browser
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 6f46326a..995f2f4f 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -1630,6 +1630,7 @@ extern "C" PaddingLineType, UndefinedXrefLineType, CollapsedPaddingLineType, + EmptyLineType, } BNTypeDefinitionLineType; typedef struct BNTypeDefinitionLine @@ -1638,6 +1639,7 @@ extern "C" BNInstructionTextToken* tokens; size_t count; BNType* type; + BNType* parentType; BNType* rootType; char* rootTypeName; BNNamedTypeReference* baseType; @@ -1868,7 +1870,22 @@ extern "C" BraceOption3Color, BraceOption4Color, BraceOption5Color, - BraceOption6Color + BraceOption6Color, + + // Type class colors + VoidTypeColor, + StructureTypeColor, + EnumerationTypeColor, + FunctionTypeColor, + BoolTypeColor, + IntegerTypeColor, + FloatTypeColor, + PointerTypeColor, + ArrayTypeColor, + VarArgsTypeColor, + ValueTypeColor, + NamedTypeReferenceColor, + WideCharTypeColor, } BNThemeColor; // The following edge styles map to Qt's Qt::PenStyle enumeration @@ -4127,6 +4144,11 @@ extern "C" BINARYNINJACOREAPI BNTypeWithConfidence* BNGetTypesReferenced( BNBinaryView* view, BNQualifiedName* type, uint64_t offset, size_t* count); + BINARYNINJACOREAPI BNQualifiedName* BNGetOutgoingDirectTypeReferences(BNBinaryView* view, BNQualifiedName* type, size_t* count); + BINARYNINJACOREAPI BNQualifiedName* BNGetOutgoingRecursiveTypeReferences(BNBinaryView* view, BNQualifiedName* types, size_t typeCount, size_t* count); + BINARYNINJACOREAPI BNQualifiedName* BNGetIncomingDirectTypeReferences(BNBinaryView* view, BNQualifiedName* type, size_t* count); + BINARYNINJACOREAPI BNQualifiedName* BNGetIncomingRecursiveTypeReferences(BNBinaryView* view, BNQualifiedName* types, size_t typeCount, size_t* count); + BINARYNINJACOREAPI void BNRegisterGlobalFunctionRecognizer(BNFunctionRecognizer* rec); BINARYNINJACOREAPI bool BNGetStringAtAddress(BNBinaryView* view, uint64_t addr, BNStringReference* strRef); |
