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

Method sys

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

Source from the content-addressed store, hash-verified

504 }
505
506 sys(...args) {
507 const errno = this._errno;
508 this.do_syscall_clear_errno(...args);
509
510 const err = errno[0];
511 if (err !== 0) {
512 throw Error(`syscall(${args[0]}) errno: ${err}`);
513 }
514
515 const retval = this._return_value;
516 return new Int(retval[0], retval[1]);
517 }
518
519 sysp(...args) {
520 const errno = this._errno;

Callers 1

kexploitFunction · 0.45

Calls 1

Tested by

no test coverage detected