This commit is contained in:
Dominik Maier 2021-06-10 22:07:18 +02:00
parent c4dd0b25b8
commit 022dc33251
3 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@ impl CmpLogRuntime {
}
/// 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) {
// println!(
// "entered populate_lists with: {:#02x}, {:#02x}, {:#02x}",

View File

@ -38,7 +38,7 @@ use crate::{asan_rt::AsanRuntime, FridaOptions};
#[cfg(feature = "cmplog")]
use crate::cmplog_rt::CmpLogRuntime;
#[cfg(feature = "cmplog")]
#[cfg(all(feature = "cmplog", target_arch = "aarch64"))]
enum CmplogOperandType {
Regid(capstone::RegId),
Imm(u64),

View File

@ -44,6 +44,7 @@ impl FridaOptions {
/// # Panics
/// Panics, if no `=` sign exists in input, or or `value` behind `=` has zero length.
#[must_use]
#[allow(clippy::too_many_lines)]
pub fn parse_env_options() -> Self {
let mut options = Self::default();
let mut asan_cores = None;