Skip to content

Commit b3897fb

Browse files
committed
Using mimalloc everywhere
1 parent dfe7f90 commit b3897fb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

libafl_frida/src/lib.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ mod tests {
348348
};
349349
use std::{cell::RefCell, rc::Rc};
350350

351-
#[cfg(unix)]
352351
use mimalloc::MiMalloc;
353352

354353
use crate::{
@@ -361,14 +360,13 @@ mod tests {
361360
frida_helper_shutdown_observer::FridaHelperObserver,
362361
helper::FridaInstrumentationHelper,
363362
};
364-
#[cfg(unix)]
365363
#[global_allocator]
366364
static GLOBAL: MiMalloc = MiMalloc;
367-
#[cfg(windows)]
368-
use dlmalloc::GlobalDlmalloc;
369-
#[cfg(windows)]
370-
#[global_allocator]
371-
static GLOBAL: GlobalDlmalloc = GlobalDlmalloc;
365+
// #[cfg(windows)]
366+
// use dlmalloc::GlobalDlmalloc;
367+
// #[cfg(windows)]
368+
// #[global_allocator]
369+
// static GLOBAL: GlobalDlmalloc = GlobalDlmalloc;
372370

373371
static GUM: OnceLock<Gum> = OnceLock::new();
374372

0 commit comments

Comments
 (0)