(gadgets, syscall_array=[])
| 353 | // An array whose indices correspond to syscall numbers. Maps syscall |
| 354 | // numbers to their addresses in memory. Defaults to an empty Array. |
| 355 | static init_class(gadgets, syscall_array=[]) { |
| 356 | this.prototype.gadgets = gadgets; |
| 357 | this.prototype.syscall_array = syscall_array; |
| 358 | } |
| 359 | |
| 360 | // START: implementation-dependent parts |
| 361 | // |