xten0 provides the following features for JIT/AOT compiler implementation:
- The
asmmodule provides anx86_64assembler that runs on Rust'sio::Write. It supports writing data and rodata, defining symbols and embedding relocation information. - The
elfmodule provides the ability to generate relocatable objects in ELF format. You can convert anObject(generated by theasmmodule) into an ELF binary and link it with a common linker. - The
jitmodule provides the ability to loadObjectinto memory and prepare it for direct execution.