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

Method get_gadget

g2all/700/module/chain.js:285–292  ·  view source on GitHub ↗
(insn_str)

Source from the content-addressed store, hash-verified

283 }
284
285 get_gadget(insn_str) {
286 const addr = this.gadgets.get(insn_str);
287 if (addr === undefined) {
288 throw Error(`gadget not found: ${insn_str}`);
289 }
290
291 return addr;
292 }
293
294 push_gadget(insn_str) {
295 this.push_value(this.get_gadget(insn_str));

Callers 10

push_gadgetMethod · 0.95
spawn_threadFunction · 0.45
push_get_errnoMethod · 0.45
push_clear_errnoMethod · 0.45
push_get_errnoMethod · 0.45
push_clear_errnoMethod · 0.45
push_get_errnoMethod · 0.45
push_clear_errnoMethod · 0.45
push_get_errnoMethod · 0.45
push_clear_errnoMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected