From 630aecdb5082b7aabf38c4d5594fb236bebcceff Mon Sep 17 00:00:00 2001 From: spv420 Date: Sat, 30 Jul 2022 23:32:19 -0400 Subject: hell --- src/js/lib/myutils.js | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/js/lib/myutils.js') diff --git a/src/js/lib/myutils.js b/src/js/lib/myutils.js index 4f03957..001bb7d 100755 --- a/src/js/lib/myutils.js +++ b/src/js/lib/myutils.js @@ -127,4 +127,22 @@ var mach_ports_lookup = scall_wrapper("mach_ports_lookup"); var mach_port_destroy = scall_wrapper("mach_port_destroy"); var pid_for_task = scall_wrapper("pid_for_task"); var __CFStringMakeConstantString = scall_wrapper("__CFStringMakeConstantString"); -var CFStringCreateWithCString = scall_wrapper("CFStringCreateWithCString"); \ No newline at end of file +var CFStringCreateWithCString = scall_wrapper("CFStringCreateWithCString"); +var fopen = scall_wrapper("fopen"); +var fseek = scall_wrapper("fseek"); +var ftell = scall_wrapper("ftell"); +var fread = scall_wrapper("fread"); +var fclose = scall_wrapper("fclose"); +var open = scall_wrapper("open"); +var read = scall_wrapper("read"); +var xpc_connection_create_mach_service = scall_wrapper("xpc_connection_create_mach_service"); +var bootstrap_look_up = scall_wrapper("bootstrap_look_up"); +var vm_write = scall_wrapper("vm_write"); +var thread_create = scall_wrapper("thread_create"); +var CFPreferencesSetValue = scall_wrapper("CFPreferencesSetValue"); +var setuid = scall_wrapper("setuid"); +var getuid = scall_wrapper("getuid"); +var getpwnam = scall_wrapper("getpwnam"); +var IORegistryEntryFromPath = scall_wrapper("IORegistryEntryFromPath"); +var IOMasterPort = scall_wrapper("IOMasterPort"); +var exit = scall_wrapper("exit"); \ No newline at end of file -- cgit v1.2.3