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

Function find_proc

702/WebRTE/userland.js:639–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

637 }
638
639 function find_proc() {
640 var proc = kernel_read8(kernel_base.add32(KERNEL_ALLPROC_OFFSET));
641 while (proc.low != 0) {
642 var pid = kernel_read8(proc.add32(PROC_PID_OFFSET));
643 if (pid.low == this_pid) {
644 return proc;
645 }
646 proc = kernel_read8(proc);
647 }
648 alert("[ERROR] failed to find proc REBOOT");
649 while (1) {};
650 }
651
652 function find_execution_socket() {
653

Callers 1

stage3Function · 0.70

Calls 1

kernel_read8Function · 0.70

Tested by

no test coverage detected