fix clippy errors
This commit is contained in:
parent
3651e6aedf
commit
b8e4f4c6fa
@ -19,7 +19,7 @@ impl CmpLogRuntime {
|
||||
}
|
||||
}
|
||||
|
||||
/// Call the external function that populates the cmplog_map with the relevant values
|
||||
/// Call the external function that populates the `cmplog_map` with the relevant values
|
||||
extern "C" fn populate_lists(&mut self, op1: u64, op2: u64, retaddr: u64) {
|
||||
// println!(
|
||||
// "entered populate_lists with: {:#02x}, {:#02x}, {:#02x}",
|
||||
|
@ -108,9 +108,8 @@ impl FridaOptions {
|
||||
}
|
||||
"cmplog" => {
|
||||
options.enable_cmplog = value.parse().unwrap();
|
||||
match cfg!(feature = "cmplog") {
|
||||
false => panic!("cmplog feature is disabled!"),
|
||||
_ => (),
|
||||
if !cfg!(feature = "cmplog") && options.enable_cmplog {
|
||||
panic!("cmplog feature is disabled!")
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user