(gadget_map, offset_map, base_addr)
| 184 | } |
| 185 | |
| 186 | export 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 | |
| 192 | class Chain900Base extends ChainBase { |
| 193 | constructor() { |