diff --git a/libafl/src/executors/inprocess.rs b/libafl/src/executors/inprocess.rs index 13db302c2b..32f81db846 100644 --- a/libafl/src/executors/inprocess.rs +++ b/libafl/src/executors/inprocess.rs @@ -500,7 +500,7 @@ mod unix_signal_handler { ); } // let's yolo-cat the maps for debugging, if possible. - #[cfg(all(target_os = "linux", feature = "std"))] + #[cfg(all(any(target_os = "linux", target_os = "netbsd"), feature = "std"))] match std::fs::read_to_string("/proc/self/maps") { Ok(maps) => println!("maps:\n{}", maps), Err(e) => println!("Couldn't load mappings: {:?}", e),