// libudis86 for some reason cannot understand the code asmjit emits for the trampolines
dbg.printf("%8x: <indirect call trampolines>\n", asm.offset());
}
dbg.println();
}
methods.add(new NativeMethod(fn, stub.name, stub.signature));
fn += asm.codeSize();
}
pm.protectPages(code, (int) npages, PageManager.PROT_READ | PageManager.PROT_EXEC);