MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / dump_libkernel

Function dump_libkernel

g2all/700/send.js:117–128  ·  view source on GitHub ↗
(libwebkit_base)

Source from the content-addressed store, hash-verified

115
116// dump for libkernel_web.sprx
117function dump_libkernel(libwebkit_base) {
118 const offset = 0x8d8;
119 const vtable_p = js_textarea.readp(0x18).readp(0);
120 // __stack_chk_fail
121 const stack_chk_fail_import = libwebkit_base.add(offset);
122
123 const libkernel_leak = resolve_import(stack_chk_fail_import);
124 log(`__stack_chk_fail import: ${libkernel_leak}`);
125
126 const [lib_base, lib_end] = get_boundaries(libkernel_leak);
127 dump("libkernel_web", lib_base, lib_end);
128}
129
130// dump for libSceLibcInternal.sprx
131function dump_libc(libwebkit_base) {

Callers 1

dump_webkitFunction · 0.70

Calls 6

resolve_importFunction · 0.90
logFunction · 0.90
get_boundariesFunction · 0.70
dumpFunction · 0.70
readpMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected