From e0fbcc712f8ca31914d2f1e04b7f8b16eff44d66 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Fri, 12 Jun 2020 16:27:36 -0400 Subject: Add BinaryView.parse_types_from_string to the python API and update how the underlying BNParseTypesString works --- binaryninjaapi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'binaryninjaapi.h') 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>& result, std::string& errors); + bool ParseTypeString(const std::string& text, std::map>& types, + std::map>& variables, std::map>& functions, std::string& errors); std::map> GetTypes(); std::vector GetTypeNames(const std::string& matching=""); -- cgit v1.3.1