summaryrefslogtreecommitdiff
path: root/src/js/lib
diff options
context:
space:
mode:
authorspv <aquaticvegetable@gmail.com>2022-04-27 12:00:16 -0400
committerspv <aquaticvegetable@gmail.com>2022-04-27 12:00:16 -0400
commit41a1e7292997c84643202f3d27a4daa4b02197e4 (patch)
tree4d2828935d4b5e9100903a698ea6136d1b277649 /src/js/lib
parent33be9e9d0a5ee0abd0837b74cca15474b81c4f57 (diff)
add hopefully functional port spray and broken release_port_ptrs that hangs after 1 run
Diffstat (limited to 'src/js/lib')
-rwxr-xr-xsrc/js/lib/myutils.js4
1 files changed, 2 insertions, 2 deletions
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");