diff options
Diffstat (limited to 'workflow.cpp')
| -rw-r--r-- | workflow.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/workflow.cpp b/workflow.cpp index 9c1c7d20..b2648d3a 100644 --- a/workflow.cpp +++ b/workflow.cpp @@ -1,5 +1,4 @@ #include "binaryninjaapi.h" -#include "json/json.h" #include "rapidjsonwrapper.h" #include <string> #include <variant> @@ -8,12 +7,10 @@ using namespace BinaryNinja; using namespace std; -AnalysisContext::AnalysisContext(BNAnalysisContext* analysisContext) : - m_reader(Json::CharReaderBuilder().newCharReader()) +AnalysisContext::AnalysisContext(BNAnalysisContext* analysisContext) { // LogError("API-Side AnalysisContext Constructed!"); m_object = analysisContext; - m_builder["indentation"] = ""; } @@ -104,6 +101,12 @@ void AnalysisContext::SetHighLevelILFunction(Ref<HighLevelILFunction> highLevelI } +bool AnalysisContext::Inform(const char* request) +{ + return BNAnalysisContextInform(m_object, request); +} + + bool AnalysisContext::Inform(const string& request) { return BNAnalysisContextInform(m_object, request.c_str()); |
