From 6520026964065327558472841838510176646568 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 28 May 2024 18:53:17 -0400 Subject: Add AdjustTypeParserArguments callback to platform Implementing the solution to #4868 --- typeparser.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'typeparser.cpp') 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& 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 -- cgit v1.3.1