From 6436615567547349434351468012512505109552 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 6 Nov 2023 15:28:59 -0500 Subject: Type Browser --- binaryninjaapi.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index d32af5ce..021069e5 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -3169,7 +3170,7 @@ namespace BinaryNinja { { BNTypeDefinitionLineType lineType; std::vector tokens; - Ref type, rootType; + Ref type, parentType, rootType; std::string rootTypeName; Ref baseType; uint64_t baseOffset; @@ -4505,6 +4506,13 @@ namespace BinaryNinja { */ std::vector>> GetTypesReferenced(const QualifiedName& type, uint64_t offset); + std::unordered_set GetOutgoingDirectTypeReferences(const QualifiedName& type); + std::unordered_set GetOutgoingRecursiveTypeReferences(const QualifiedName& type); + std::unordered_set GetOutgoingRecursiveTypeReferences(const std::unordered_set& types); + std::unordered_set GetIncomingDirectTypeReferences(const QualifiedName& type); + std::unordered_set GetIncomingRecursiveTypeReferences(const QualifiedName& type); + std::unordered_set GetIncomingRecursiveTypeReferences(const std::unordered_set& types); + Ref CreateStructureBasedOnFieldAccesses(const QualifiedName& type); // Unimplemented! /*! Returns a list of virtual addresses called by the call site in the ReferenceSource -- cgit v1.3.1