From 41a1e7292997c84643202f3d27a4daa4b02197e4 Mon Sep 17 00:00:00 2001 From: spv Date: Wed, 27 Apr 2022 12:00:16 -0400 Subject: add hopefully functional port spray and broken release_port_ptrs that hangs after 1 run --- src/js/lib/myutils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/js/lib/myutils.js') diff --git a/src/js/lib/myutils.js b/src/js/lib/myutils.js index 325c490..e856624 100755 --- a/src/js/lib/myutils.js +++ b/src/js/lib/myutils.js @@ -95,8 +95,8 @@ var strlen = scall_wrapper("strlen"); var mach_task_self = scall_wrapper("mach_task_self"); var mach_thread_self = scall_wrapper("mach_thread_self"); var malloc = scall_wrapper("malloc"); -var mach_port_allocate = scall_wrapper("malloc"); -var mach_port_insert_right = scall_wrapper("malloc"); +var mach_port_allocate = scall_wrapper("mach_port_allocate"); +var mach_port_insert_right = scall_wrapper("mach_port_insert_right"); var mach_port_set_attributes = scall_wrapper("mach_port_set_attributes"); var usleep = scall_wrapper("usleep"); var sched_yield = scall_wrapper("sched_yield"); -- cgit v1.2.3