pretend mprotect works
This commit is contained in:
parent
d1cd254003
commit
e2ec521f21
1 changed files with 3 additions and 0 deletions
|
|
@ -575,6 +575,9 @@ impl<'a, 'mir, 'tcx: 'mir + 'a> EvalContextExt<'tcx, 'mir> for EvalContext<'a, '
|
|||
let addr = self.read_scalar(args[0])?.not_undef()?;
|
||||
self.write_scalar(addr, dest)?;
|
||||
}
|
||||
"mprotect" => {
|
||||
self.write_null(dest)?;
|
||||
}
|
||||
|
||||
// Windows API subs
|
||||
"AddVectoredExceptionHandler" => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue