summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-06-12 16:27:36 -0400
committerPeter LaFosse <peter@vector35.com>2020-06-23 09:02:48 -0400
commite0fbcc712f8ca31914d2f1e04b7f8b16eff44d66 (patch)
tree1c79e6e76f4d0bdf6dfc09c3cd3036dbf96c56f2 /binaryninjaapi.h
parent4ffa5187aa0c9589dffac5bf00f3a7dd423578e8 (diff)
Add BinaryView.parse_types_from_string to the python API and update how the underlying BNParseTypesString works
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 60320769..0328b58f 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1649,7 +1649,8 @@ __attribute__ ((format (printf, 1, 2)))
uint64_t GetPreviousDataVariableStartBeforeAddress(uint64_t addr);
bool ParseTypeString(const std::string& text, QualifiedNameAndType& result, std::string& errors);
- bool ParseTypeString(const std::string& text, std::map<QualifiedName, Ref<Type>>& result, std::string& errors);
+ bool ParseTypeString(const std::string& text, std::map<QualifiedName, Ref<Type>>& types,
+ std::map<QualifiedName, Ref<Type>>& variables, std::map<QualifiedName, Ref<Type>>& functions, std::string& errors);
std::map<QualifiedName, Ref<Type>> GetTypes();
std::vector<QualifiedName> GetTypeNames(const std::string& matching="");