diff options
| author | KyleMiles <krm504@nyu.edu> | 2020-10-08 23:29:39 +0000 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2020-10-19 18:17:38 +0000 |
| commit | 3083903d0ee4ccd18099cb3315e0220c7f5993fb (patch) | |
| tree | 0209754640d3365f07bd204f9bb0f5412b7d1cb9 /binaryninjaapi.h | |
| parent | cbebe461efab02c736c79bf48641f33c793a27f4 (diff) | |
Add Simplifier Implementation
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 18 |
1 files changed, 8 insertions, 10 deletions
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<Architecture> 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<BinaryView>& view); + bool DemangleGNU3(Ref<Architecture> arch, const std::string& mangledName, Type** outType, + QualifiedName& outVarName, const Ref<BinaryView>& view); + void RegisterMainThread(MainThreadActionHandler* handler); Ref<MainThreadAction> ExecuteOnMainThread(const std::function<void()>& action); void ExecuteOnMainThreadAndWait(const std::function<void()>& 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<BNUser, BNNewUserReference, BNFreeUser> { private: |
