summaryrefslogtreecommitdiff
path: root/typeparser.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-05-28 18:53:17 -0400
committerGlenn Smith <glenn@vector35.com>2024-06-04 00:29:48 -0400
commit6520026964065327558472841838510176646568 (patch)
tree6a124b7d6aa5efdfafc43fbb2ccaf3af23d35ff2 /typeparser.cpp
parent5c7ab961657c6bcfc58c84cf93f850bdb102a425 (diff)
Add AdjustTypeParserArguments callback to platform
Implementing the solution to #4868
Diffstat (limited to 'typeparser.cpp')
-rw-r--r--typeparser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/typeparser.cpp b/typeparser.cpp
index 67dadd95..c32bcec1 100644
--- a/typeparser.cpp
+++ b/typeparser.cpp
@@ -99,6 +99,12 @@ std::string TypeParser::FormatParseErrors(const std::vector<TypeParserError>& er
}
+std::string TypeParser::GetName() const
+{
+ return BNGetTypeParserName(m_object);
+}
+
+
bool TypeParser::GetOptionText(BNTypeParserOption option, std::string value, std::string& result) const
{
// Default: Don't accept anything