From 3083903d0ee4ccd18099cb3315e0220c7f5993fb Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 8 Oct 2020 23:29:39 +0000 Subject: Add Simplifier Implementation --- binaryninjaapi.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 7e956161..8604e44f 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -700,14 +700,14 @@ __attribute__ ((format (printf, 1, 2))) void SetCurrentPluginLoadOrder(BNPluginLoadOrder order); void AddRequiredPluginDependency(const std::string& name); void AddOptionalPluginDependency(const std::string& name); - bool DemangleMS(Architecture* arch, - const std::string& mangledName, - Type** outType, - QualifiedName& outVarName); - bool DemangleGNU3(Ref arch, - const std::string& mangledName, - Type** outType, - QualifiedName& outVarName); + + class BinaryView; + + bool DemangleMS(Architecture* arch, const std::string& mangledName, Type** outType, + QualifiedName& outVarName, const Ref& view); + bool DemangleGNU3(Ref arch, const std::string& mangledName, Type** outType, + QualifiedName& outVarName, const Ref& view); + void RegisterMainThread(MainThreadActionHandler* handler); Ref ExecuteOnMainThread(const std::function& action); void ExecuteOnMainThreadAndWait(const std::function& action); @@ -831,8 +831,6 @@ __attribute__ ((format (printf, 1, 2))) virtual bool Navigate(const std::string& view, uint64_t offset) = 0; }; - class BinaryView; - class User : public CoreRefCountObject { private: -- cgit v1.3.1