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