diff options
| author | spv <aquaticvegetable@gmail.com> | 2022-04-27 12:00:16 -0400 |
|---|---|---|
| committer | spv <aquaticvegetable@gmail.com> | 2022-04-27 12:00:16 -0400 |
| commit | 41a1e7292997c84643202f3d27a4daa4b02197e4 (patch) | |
| tree | 4d2828935d4b5e9100903a698ea6136d1b277649 /src/js/lib/myutils.js | |
| parent | 33be9e9d0a5ee0abd0837b74cca15474b81c4f57 (diff) | |
add hopefully functional port spray and broken release_port_ptrs that hangs after 1 run
Diffstat (limited to 'src/js/lib/myutils.js')
| -rwxr-xr-x | src/js/lib/myutils.js | 4 |
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"); |
