Update mach crate to maintained fork (#3203)
This commit is contained in:
parent
d8f8640982
commit
8d5a80d4b2
@ -217,7 +217,7 @@ windows-result = "0.3.0"
|
|||||||
windows = { workspace = true }
|
windows = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(target_vendor = "apple")'.dependencies]
|
[target.'cfg(target_vendor = "apple")'.dependencies]
|
||||||
mach = "0.3.2"
|
mach2 = "0.4.2"
|
||||||
|
|
||||||
#[profile.release]
|
#[profile.release]
|
||||||
#lto = true
|
#lto = true
|
||||||
|
@ -12,7 +12,7 @@ use std::process::Command;
|
|||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use libc::siginfo_t;
|
use libc::siginfo_t;
|
||||||
#[cfg(target_vendor = "apple")]
|
#[cfg(target_vendor = "apple")]
|
||||||
use mach::{
|
use mach2::{
|
||||||
message::mach_msg_type_number_t,
|
message::mach_msg_type_number_t,
|
||||||
port::mach_port_t,
|
port::mach_port_t,
|
||||||
traps::mach_task_self,
|
traps::mach_task_self,
|
||||||
|
@ -10,7 +10,8 @@ use libafl::{
|
|||||||
Error,
|
Error,
|
||||||
executors::forkserver::{
|
executors::forkserver::{
|
||||||
FORKSRV_FD, FS_ERROR_SHM_OPEN, FS_NEW_OPT_AUTODTCT, FS_NEW_OPT_MAPSIZE,
|
FORKSRV_FD, FS_ERROR_SHM_OPEN, FS_NEW_OPT_AUTODTCT, FS_NEW_OPT_MAPSIZE,
|
||||||
FS_NEW_OPT_SHDMEM_FUZZ, FS_NEW_VERSION_MAX, FS_OPT_ERROR, SHM_ENV_VAR, SHM_FUZZ_ENV_VAR, SHM_CMPLOG_ENV_VAR,
|
FS_NEW_OPT_SHDMEM_FUZZ, FS_NEW_VERSION_MAX, FS_OPT_ERROR, SHM_CMPLOG_ENV_VAR, SHM_ENV_VAR,
|
||||||
|
SHM_FUZZ_ENV_VAR,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
use libafl_bolts::os::{ChildHandle, ForkResult};
|
use libafl_bolts::os::{ChildHandle, ForkResult};
|
||||||
@ -19,9 +20,9 @@ use nix::{
|
|||||||
unistd::Pid,
|
unistd::Pid,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::coverage::{__afl_map_size, EDGES_MAP_PTR, INPUT_LENGTH_PTR, INPUT_PTR, SHM_FUZZING};
|
|
||||||
#[cfg(feature = "cmplog")]
|
#[cfg(feature = "cmplog")]
|
||||||
use crate::cmps::CMPLOG_MAP_PTR;
|
use crate::cmps::CMPLOG_MAP_PTR;
|
||||||
|
use crate::coverage::{__afl_map_size, EDGES_MAP_PTR, INPUT_LENGTH_PTR, INPUT_PTR, SHM_FUZZING};
|
||||||
#[cfg(any(target_os = "linux", target_vendor = "apple"))]
|
#[cfg(any(target_os = "linux", target_vendor = "apple"))]
|
||||||
use crate::coverage::{__token_start, __token_stop};
|
use crate::coverage::{__token_start, __token_stop};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user