diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-01-20 18:44:25 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-01-20 18:44:25 -0500 |
| commit | e78cae77103b5396ce42d9e33593ea55f9135be0 (patch) | |
| tree | b44cb4bf7732c1e2e77ae39335eb4e2f02d9af84 /lang/c | |
| parent | cbd4d7f12d54ddc4b6d3d90a8d7b49591f468a94 (diff) | |
Revert "Add line formatter API and a generic line formatter plugin"
This reverts commit 1699c71999d29d32aba5c9f8fea193a661a4b02b.
Diffstat (limited to 'lang/c')
| -rw-r--r-- | lang/c/pseudoc.cpp | 8 | ||||
| -rw-r--r-- | lang/c/pseudoc.h | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lang/c/pseudoc.cpp b/lang/c/pseudoc.cpp index 52622f57..dff591ff 100644 --- a/lang/c/pseudoc.cpp +++ b/lang/c/pseudoc.cpp @@ -6,9 +6,9 @@ using namespace std; using namespace BinaryNinja; -PseudoCFunction::PseudoCFunction(LanguageRepresentationFunctionType* type, Architecture* arch, Function* owner, - HighLevelILFunction* highLevelILFunction) : - LanguageRepresentationFunction(type, arch, owner, highLevelILFunction), m_highLevelIL(highLevelILFunction) +PseudoCFunction::PseudoCFunction( + Architecture* arch, Function* owner, HighLevelILFunction* highLevelILFunction) : + LanguageRepresentationFunction(arch, owner, highLevelILFunction), m_highLevelIL(highLevelILFunction) { } @@ -2766,7 +2766,7 @@ PseudoCFunctionType::PseudoCFunctionType(): LanguageRepresentationFunctionType(" Ref<LanguageRepresentationFunction> PseudoCFunctionType::Create(Architecture* arch, Function* owner, HighLevelILFunction* highLevelILFunction) { - return new PseudoCFunction(this, arch, owner, highLevelILFunction); + return new PseudoCFunction(arch, owner, highLevelILFunction); } diff --git a/lang/c/pseudoc.h b/lang/c/pseudoc.h index feb64552..024be2f1 100644 --- a/lang/c/pseudoc.h +++ b/lang/c/pseudoc.h @@ -51,8 +51,7 @@ protected: const BinaryNinja::HighLevelILInstruction& instr, BinaryNinja::HighLevelILTokenEmitter& tokens) override; public: - PseudoCFunction(BinaryNinja::LanguageRepresentationFunctionType* type, BinaryNinja::Architecture* arch, - BinaryNinja::Function* owner, BinaryNinja::HighLevelILFunction* highLevelILFunction); + PseudoCFunction(BinaryNinja::Architecture* arch, BinaryNinja::Function* owner, BinaryNinja::HighLevelILFunction* highLevelILFunction); std::string GetAnnotationStartString() const override; std::string GetAnnotationEndString() const override; |
