diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-11-27 12:15:23 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-01-24 12:52:12 -0500 |
| commit | 8767400b712f12f459556844e27d9b9f5ff037bd (patch) | |
| tree | bbac40ec6fb68b647e2f9bd4a0c528088072dc79 /lang/rust/pseudorust.cpp | |
| parent | 1c81ef63a163b479d07f3182f7831fdb6548488b (diff) | |
Add line formatter API and a generic line formatter plugin
Diffstat (limited to 'lang/rust/pseudorust.cpp')
| -rw-r--r-- | lang/rust/pseudorust.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/rust/pseudorust.cpp b/lang/rust/pseudorust.cpp index 837a7932..a1f7defe 100644 --- a/lang/rust/pseudorust.cpp +++ b/lang/rust/pseudorust.cpp @@ -7,9 +7,9 @@ using namespace std; using namespace BinaryNinja; -PseudoRustFunction::PseudoRustFunction( - Architecture* arch, Function* owner, HighLevelILFunction* highLevelILFunction) : - LanguageRepresentationFunction(arch, owner, highLevelILFunction), m_highLevelIL(highLevelILFunction) +PseudoRustFunction::PseudoRustFunction(LanguageRepresentationFunctionType* type, Architecture* arch, Function* owner, + HighLevelILFunction* highLevelILFunction) : + LanguageRepresentationFunction(type, arch, owner, highLevelILFunction), m_highLevelIL(highLevelILFunction) { } @@ -2814,7 +2814,7 @@ PseudoRustFunctionType::PseudoRustFunctionType(): LanguageRepresentationFunction Ref<LanguageRepresentationFunction> PseudoRustFunctionType::Create(Architecture* arch, Function* owner, HighLevelILFunction* highLevelILFunction) { - return new PseudoRustFunction(arch, owner, highLevelILFunction); + return new PseudoRustFunction(this, arch, owner, highLevelILFunction); } |
