Skip to content

Commit 4dc31e9

Browse files
committed
scan_macho_pages: cfg feature alloc
1 parent 41023d9 commit 4dc31e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/file_format/macho.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ fn scan_macho_page(process: &Process, range: (Address, u64)) -> Option<Address>
4747
}
4848

4949
/// Scans the range for pages that begin with Mach-O Magic
50+
#[cfg(feature = "alloc")]
5051
fn scan_macho_pages(
5152
process: &Process,
5253
range: (Address, u64),

0 commit comments

Comments
 (0)