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) {
|
extern "C" fn populate_lists(&mut self, op1: u64, op2: u64, retaddr: u64) {
|
||||||
// println!(
|
// println!(
|
||||||
// "entered populate_lists with: {:#02x}, {:#02x}, {:#02x}",
|
// "entered populate_lists with: {:#02x}, {:#02x}, {:#02x}",
|
||||||
|
@ -108,9 +108,8 @@ impl FridaOptions {
|
|||||||
}
|
}
|
||||||
"cmplog" => {
|
"cmplog" => {
|
||||||
options.enable_cmplog = value.parse().unwrap();
|
options.enable_cmplog = value.parse().unwrap();
|
||||||
match cfg!(feature = "cmplog") {
|
if !cfg!(feature = "cmplog") && options.enable_cmplog {
|
||||||
false => panic!("cmplog feature is disabled!"),
|
panic!("cmplog feature is disabled!")
|
||||||
_ => (),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user