(libwebkit_base)
| 142 | |
| 143 | // dump for libSceLibcInternal.sprx |
| 144 | function dump_libc(libwebkit_base) { |
| 145 | const offset = 0x918; |
| 146 | const vtable_p = js_textarea.readp(0x18).readp(0); |
| 147 | // strlen |
| 148 | const strlen_import = libwebkit_base.add(offset); |
| 149 | |
| 150 | const libc_leak = resolve_import(strlen_import); |
| 151 | log(`strlen import: ${libc_leak}`); |
| 152 | |
| 153 | const [lib_base, lib_end] = get_boundaries(libc_leak); |
| 154 | dump('libSceLibcInternal', lib_base, lib_end); |
| 155 | } |
| 156 | |
| 157 | function dump_webkit() { |
| 158 | const libwebkit_base = dump_libwebkit(); |
no test coverage detected