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

Method sysp

g2all/700/module/chain.js:514–525  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

512 }
513
514 sysp(...args) {
515 const errno = this._errno;
516 this.do_syscall_clear_errno(...args);
517
518 const err = errno[0];
519 if (err !== 0) {
520 throw Error(`syscall(${args[0]}) errno: ${err}`);
521 }
522
523 const retval = this._return_value;
524 return new Addr(retval[0], retval[1]);
525 }
526}
527
528export function get_gadget(map, insn_str) {

Callers 2

patch_kernelFunction · 0.45
runPayloadFunction · 0.45

Calls 1

Tested by

no test coverage detected