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

Method sysp

g2all/900/module/chain.js:519–530  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

517 }
518
519 sysp(...args) {
520 const errno = this._errno;
521 this.do_syscall_clear_errno(...args);
522
523 const err = errno[0];
524 if (err !== 0) {
525 throw Error(`syscall(${args[0]}) errno: ${err}`);
526 }
527
528 const retval = this._return_value;
529 return new Addr(retval[0], retval[1]);
530 }
531
532}
533

Callers 2

patch_kernelFunction · 0.45
runPayloadFunction · 0.45

Calls 1

Tested by

no test coverage detected