strace: reserve_address_range argument _address is an InOut parameter.

This commit is contained in:
Augustin Cavalier
2023-03-28 13:33:51 -04:00
parent 0f3ea49704
commit 0166c1efdd
+3
View File
@@ -45,6 +45,9 @@ patch_area()
clone->GetParameter("protection")->SetHandler(
new FlagsTypeHandler(kAreaProtectionFlags));
Syscall *reserve_address_range = get_syscall("_kern_reserve_address_range");
reserve_address_range->GetParameter("_address")->SetInOut(true);
Syscall *set_area_protection = get_syscall("_kern_set_area_protection");
set_area_protection->GetParameter("newProtection")->SetHandler(
new FlagsTypeHandler(kAreaProtectionFlags));