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

Function swapkeyval

restore/505/exploit.js:232–239  ·  view source on GitHub ↗
(json)

Source from the content-addressed store, hash-verified

230 "sys_randomized_path": 602,
231};
232function swapkeyval(json) {
233 var ret = {};
234 for (var key in json) {
235 if (json.hasOwnProperty(key))
236 ret[json[key]] = key;
237 }
238 return ret;
239}
240window.nameforsyscall = swapkeyval(window.syscallnames);
241window.memory = function (address) {
242 this.basePtr = address;

Callers 1

exploit.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected