clippy
This commit is contained in:
parent
c4dd0b25b8
commit
022dc33251
@ -20,6 +20,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
|
||||||
|
#[allow(clippy::unused_self)]
|
||||||
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}",
|
||||||
|
@ -38,7 +38,7 @@ use crate::{asan_rt::AsanRuntime, FridaOptions};
|
|||||||
#[cfg(feature = "cmplog")]
|
#[cfg(feature = "cmplog")]
|
||||||
use crate::cmplog_rt::CmpLogRuntime;
|
use crate::cmplog_rt::CmpLogRuntime;
|
||||||
|
|
||||||
#[cfg(feature = "cmplog")]
|
#[cfg(all(feature = "cmplog", target_arch = "aarch64"))]
|
||||||
enum CmplogOperandType {
|
enum CmplogOperandType {
|
||||||
Regid(capstone::RegId),
|
Regid(capstone::RegId),
|
||||||
Imm(u64),
|
Imm(u64),
|
||||||
|
@ -44,6 +44,7 @@ impl FridaOptions {
|
|||||||
/// # Panics
|
/// # Panics
|
||||||
/// Panics, if no `=` sign exists in input, or or `value` behind `=` has zero length.
|
/// Panics, if no `=` sign exists in input, or or `value` behind `=` has zero length.
|
||||||
#[must_use]
|
#[must_use]
|
||||||
|
#[allow(clippy::too_many_lines)]
|
||||||
pub fn parse_env_options() -> Self {
|
pub fn parse_env_options() -> Self {
|
||||||
let mut options = Self::default();
|
let mut options = Self::default();
|
||||||
let mut asan_cores = None;
|
let mut asan_cores = None;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user