MCPcopy Create free account
hub / github.com/Cryptogenic/PS5-IPV6-Kernel-Exploit / ptrToString

Function ptrToString

document/en/ps5/webkit.js:50–57  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

48 var string_id = 10000000;
49
50 function ptrToString(p) {
51 var s = '';
52 for (var i = 0; i < 8; i++) {
53 s += String.fromCharCode(p % 256);
54 p = (p - p % 256) / 256;
55 }
56 return s;
57 }
58
59 function stringToPtr(p, o) {
60 if (o === undefined)

Callers 2

pocFunction · 0.85
makeReaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected