(libwebkit_base)
| 129 | |
| 130 | // dump for libSceLibcInternal.sprx |
| 131 | function dump_libc(libwebkit_base) { |
| 132 | const offset = 0x918; |
| 133 | const vtable_p = js_textarea.readp(0x18).readp(0); |
| 134 | // strlen |
| 135 | const strlen_import = libwebkit_base.add(offset); |
| 136 | |
| 137 | const libc_leak = resolve_import(strlen_import); |
| 138 | log(`strlen import: ${libc_leak}`); |
| 139 | |
| 140 | const [lib_base, lib_end] = get_boundaries(libc_leak); |
| 141 | dump("libSceLibcInternal", lib_base, lib_end); |
| 142 | } |
| 143 | |
| 144 | function dump_webkit() { |
| 145 | const libwebkit_base = dump_libwebkit(); |
no test coverage detected