diff options
| author | Mason Reed <mason@vector35.com> | 2025-04-30 17:38:40 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | c3fdda9727f5507818e3f55576ad32215a22b0f9 (patch) | |
| tree | d522025055eb7253c7f2cb94732402aacf2afbfc /rust/src/function_recognizer.rs | |
| parent | c3f344a38ca4b027b4e69b0f82d3184622d6da79 (diff) | |
[Rust] Remove Architecture trait bound on LLIL related structures
Diffstat (limited to 'rust/src/function_recognizer.rs')
| -rw-r--r-- | rust/src/function_recognizer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/function_recognizer.rs b/rust/src/function_recognizer.rs index 64e33806..cd5592ee 100644 --- a/rust/src/function_recognizer.rs +++ b/rust/src/function_recognizer.rs @@ -10,7 +10,7 @@ pub trait FunctionRecognizer { &self, _bv: &BinaryView, _func: &Function, - _llil: &RegularLowLevelILFunction<CoreArchitecture>, + _llil: &RegularLowLevelILFunction, ) -> bool { false } @@ -49,7 +49,7 @@ where let context = unsafe { &*(ctxt as *mut FunctionRecognizerHandlerContext<R>) }; let bv = unsafe { BinaryView::from_raw(bv).to_owned() }; let func = unsafe { Function::from_raw(func).to_owned() }; - let llil = unsafe { LowLevelILFunction::from_raw(func.arch(), llil).to_owned() }; + let llil = unsafe { LowLevelILFunction::from_raw(llil).to_owned() }; context.recognizer.recognize_low_level_il(&bv, &func, &llil) } |
