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

Function stringify

restore/900v3/kexploit.js:162–169  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

160 }
161
162 function stringify(str) {
163 var bufView = new Uint8Array(str.length + 1);
164 for (var i = 0; i < str.length; i++) {
165 bufView[i] = str.charCodeAt(i) & 0xFF;
166 }
167 window.nogc.push(bufView);
168 return p.read8(p.leakval(bufView).add32(0x10));
169 }
170
171 function readstr(addr) {
172 var str = "";

Callers

nothing calls this directly

Calls 1

read8Method · 0.45

Tested by

no test coverage detected