(Chain)
| 346 | export const Chain = Chain900; |
| 347 | |
| 348 | export function init(Chain) { |
| 349 | [libwebkit_base, libkernel_base, libc_base] = get_bases(); |
| 350 | |
| 351 | init_gadget_map(gadgets, webkit_gadget_offsets, libwebkit_base); |
| 352 | init_gadget_map(gadgets, libc_gadget_offsets, libc_base); |
| 353 | init_gadget_map(gadgets, libkernel_gadget_offsets, libkernel_base); |
| 354 | init_syscall_array(syscall_array, libkernel_base, 300 * KB); |
| 355 | log('syscall_array:'); |
| 356 | Chain.init_class(gadgets, syscall_array); |
| 357 | } |
| 358 | |
| 359 | log('Chain900'); |
nothing calls this directly
no test coverage detected