We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dbd4b3 commit fcd3ef7Copy full SHA for fcd3ef7
Sources/SimpleDebugger/SimpleDebugger.cpp
@@ -56,7 +56,7 @@ void protectPage(vm_address_t address, vm_size_t size, vm_prot_t newProtection)
56
kern_return_t result = vm_protect(mach_task_self(), address, size, 0, newProtection);
57
58
if (result != 0) {
59
- perror("error on vmprotect");
+ printf("error calling vm_protect: %s (response value: %d)\n", mach_error_string(result), result);
60
}
61
62
0 commit comments