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

Function stringify

exploit.js:525–532  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

523 }
524
525 function stringify(str) {
526 let bufView = new Uint8Array(str.length + 1);
527 for (let i = 0; i < str.length; i++) {
528 bufView[i] = str.charCodeAt(i) & 0xFF;
529 }
530 nogc.push(bufView);
531 return p.read8(p.leakval(bufView).add32(0x10));
532 }
533
534 function readstr(addr) {
535 let str = "";

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected