Skip to content

Commit 321a6bf

Browse files
committed
yoo... ubuntu?
1 parent 50b5534 commit 321a6bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mem.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ pub fn get_base_address(pid: Pid) -> Result<usize, std::io::Error> {
9494
let (start, _end, _perms, mod_path) = scan_fmt!(&line, "{x}-{x} {} {*} {*} {*} {[^\t\n]}\n", [hex usize], [hex usize], String, String).unwrap();
9595
handle.copy_address(start, &mut magic_buf).unwrap();
9696
if is_elf(&magic_buf) {
97-
return Ok(start);
97+
log::info!("ELF: {} -> {}", start, mod_path);
98+
//return Ok(start);
9899
}
99100
}
100101
}

0 commit comments

Comments
 (0)