macos frida fixes
This commit is contained in:
parent
81ccf7f7d8
commit
ca869cd70a
@ -3,8 +3,12 @@ use capstone::{arch::BuildsCapstone, Capstone};
|
|||||||
use color_backtrace::{default_output_stream, BacktracePrinter, Verbosity};
|
use color_backtrace::{default_output_stream, BacktracePrinter, Verbosity};
|
||||||
#[cfg(target_arch = "aarch64")]
|
#[cfg(target_arch = "aarch64")]
|
||||||
use frida_gum::interceptor::Interceptor;
|
use frida_gum::interceptor::Interceptor;
|
||||||
|
|
||||||
|
#[cfg(all(feature = "std", any(target_os = "linux", target_os = "android")))]
|
||||||
|
use libafl::bolts::os::find_mapping_for_address;
|
||||||
|
|
||||||
use libafl::{
|
use libafl::{
|
||||||
bolts::{os::find_mapping_for_address, ownedref::OwnedPtr, tuples::Named},
|
bolts::{ownedref::OwnedPtr, tuples::Named},
|
||||||
corpus::Testcase,
|
corpus::Testcase,
|
||||||
events::EventFirer,
|
events::EventFirer,
|
||||||
executors::{ExitKind, HasExecHooks},
|
executors::{ExitKind, HasExecHooks},
|
||||||
|
@ -8,6 +8,8 @@ this helps finding mem errors early.
|
|||||||
|
|
||||||
use frida_gum::NativePointer;
|
use frida_gum::NativePointer;
|
||||||
use hashbrown::HashMap;
|
use hashbrown::HashMap;
|
||||||
|
|
||||||
|
#[cfg(all(feature = "std", any(target_os = "linux", target_os = "android")))]
|
||||||
use libafl::bolts::os::{find_mapping_for_address, find_mapping_for_path};
|
use libafl::bolts::os::{find_mapping_for_address, find_mapping_for_path};
|
||||||
|
|
||||||
use nix::{
|
use nix::{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user