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