Verified Commit d432f7ce authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add debugging for mprotect

parent 3a0671d2
......@@ -264,6 +264,12 @@ pub fn format_call(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize) -
validate_slice(b as *const [usize; 2], c)
SYS_MPROTECT => format!(
"mprotect({:#X}, {}, {:#X})",
SYS_NANOSLEEP => format!(
"nanosleep({:?}, ({}, {}))",
validate_slice(b as *const TimeSpec, 1),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment