From 497ac816b57402b1a5d1e4b67e6fbec6438af276 Mon Sep 17 00:00:00 2001 From: comex Date: Tue, 22 Mar 2011 20:40:43 -0400 Subject: [PATCH] how about C --- make_kernel_patchfile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/make_kernel_patchfile.c b/make_kernel_patchfile.c index d6917dd..35a960b 100644 --- a/make_kernel_patchfile.c +++ b/make_kernel_patchfile.c @@ -113,7 +113,6 @@ void do_kernel(struct binary *binary, struct binary *sandbox) { // PE_i_can_has_debugger (patch4) - so AMFI allows non-ldid'd binaries (and some other stuff is allowed) // switching to patching the actual thing, and the startup code // why? debug_enabled is used directly in kdp, and I was not emulating PE_i_can_has's behavior correctly anyway - printf("%x\n", find_string(b_macho_segrange(binary, "__TEXT"), "debug-enabled", 1, true)); patch("+debug_enabled", resolve_ldr(binary, _PE_i_can_has_debugger + 2), uint32_t, {1});