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

Function init_gadget_map

g2all/900/rop/900.js:186–190  ·  view source on GitHub ↗
(gadget_map, offset_map, base_addr)

Source from the content-addressed store, hash-verified

184}
185
186export function init_gadget_map(gadget_map, offset_map, base_addr) {
187 for (const [insn, offset] of offset_map) {
188 gadget_map.set(insn, base_addr.add(offset));
189 }
190}
191
192class Chain900Base extends ChainBase {
193 constructor() {

Callers 1

initFunction · 0.70

Calls 2

setMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected