MCPcopy Create free account
hub / github.com/ChendoChap/PS5-Webkit-Execution / readstr

Function readstr

exploit.js:534–545  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

532 }
533
534 function readstr(addr) {
535 let str = "";
536 for (let i = 0;; i++) {
537 let c = p.read1(addr.add32(i));
538 if (c == 0x0) {
539 break;
540 }
541 str += String.fromCharCode(c);
542
543 }
544 return str;
545 }
546
547 function writestr(addr, str) {
548 let waddr = addr.add32(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected