summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 1bdaab13..7a6b3280 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -891,6 +891,14 @@ namespace BinaryNinja
DisassemblySettings* settings);
bool ParseTypeString(const std::string& text, NameAndType& result, std::string& errors);
+
+ std::map<std::string, Ref<Type>> GetTypes();
+ Ref<Type> GetTypeByName(const std::string& name);
+ bool IsTypeAutoDefined(const std::string& name);
+ void DefineType(const std::string& name, Type* type);
+ void DefineUserType(const std::string& name, Type* type);
+ void UndefineType(const std::string& name);
+ void UndefineUserType(const std::string& name);
};
class BinaryData: public BinaryView