From ecfc3d061aedcaa08d165227909b6b1098cbebb5 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sun, 31 Jul 2022 00:01:08 -0400 Subject: stage4 --- src/js/main.js | 6 ------ src/stage4/main.js | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 src/stage4/main.js (limited to 'src') diff --git a/src/js/main.js b/src/js/main.js index ec7e814..905c4ef 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -126,12 +126,6 @@ function main() { var dyld_shc_slide = get_dyld_shc_slide(); - sym_cache["JSStringCreateWithUTF8CString"] = JSStringCreateWithUTF8CString + dyld_shc_slide; - sym_cache["JSObjectGetProperty"] = JSObjectGetProperty + dyld_shc_slide; - sym_cache["JSContextGetGlobalObject"] = JSContextGetGlobalObject + dyld_shc_slide; - -// prep_shit(); - setup_fancy_rw(); parse_nvram_options(); diff --git a/src/stage4/main.js b/src/stage4/main.js new file mode 100644 index 0000000..4947a77 --- /dev/null +++ b/src/stage4/main.js @@ -0,0 +1,6 @@ +function main() { + printf("landed in stage4\n"); + syslog(LOG_SYSLOG, "we out here in stage 4"); + + return 0; +} \ No newline at end of file -- cgit v1.2.3