Go to the source code of this file.
|
int | jit_write_elf (int fd, uint64_t code_addr, const char *sym, const void *code, int csize, void *debug, int nr_debug_entries, void *unwinding, uint64_t unwinding_header_size, uint64_t unwinding_size) |
|
◆ Elf_Ehdr
#define Elf_Ehdr Elf64_Ehdr |
◆ elf_getshdr
#define elf_getshdr elf64_getshdr |
◆ elf_newehdr
#define elf_newehdr elf64_newehdr |
◆ Elf_Shdr
#define Elf_Shdr Elf64_Shdr |
◆ ELF_ST_BIND
#define ELF_ST_BIND |
( |
|
a | ) |
ELF64_ST_BIND(a) |
◆ ELF_ST_TYPE
#define ELF_ST_TYPE |
( |
|
a | ) |
ELF64_ST_TYPE(a) |
◆ ELF_ST_VIS
#define ELF_ST_VIS |
( |
|
a | ) |
ELF64_ST_VISIBILITY(a) |
◆ Elf_Sym
#define Elf_Sym Elf64_Sym |
◆ GEN_ELF_ENDIAN
#define GEN_ELF_ENDIAN ELFDATA2MSB |
◆ GEN_ELF_TEXT_OFFSET
#define GEN_ELF_TEXT_OFFSET sizeof(Elf_Ehdr) |
◆ jit_write_elf()
int jit_write_elf |
( |
int |
fd, |
|
|
uint64_t |
code_addr, |
|
|
const char * |
sym, |
|
|
const void * |
code, |
|
|
int |
csize, |
|
|
void * |
debug, |
|
|
int |
nr_debug_entries, |
|
|
void * |
unwinding, |
|
|
uint64_t |
unwinding_header_size, |
|
|
uint64_t |
unwinding_size |
|
) |
| |