(gadget_map, offset_map, base_addr)
| 153 | } |
| 154 | |
| 155 | export function init_gadget_map(gadget_map, offset_map, base_addr) { |
| 156 | for (const [insn, offset] of offset_map) { |
| 157 | gadget_map.set(insn, base_addr.add(offset)); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | class Chain800Base extends ChainBase { |
| 162 | push_end() { |