VSF Documented
|
Data Structures | |
struct | vsf_elfloader_info_t |
struct | __vsf_elfloader_get_section_t |
struct | __vsf_elfloader_vaddr2off_t |
Macros | |
#define | __VSF_ELFLOADER_CLASS_IMPLEMENT |
#define | __VSF_LOADER_CLASS_INHERIT__ |
#define | VSF_ELFLOADER_CFG_MAX_SYM_LEN (32 + 1) |
#define | vsf_elfloader_debug(...) vsf_trace_debug(__VA_ARGS__) |
#define | vsf_elfloader_debug_buffer(...) vsf_trace_buffer(VSF_TRACE_DEBUG, __VA_ARGS__) |
Typedefs | |
typedef struct vsf_elfloader_info_t | vsf_elfloader_info_t |
typedef struct __vsf_elfloader_get_section_t | __vsf_elfloader_get_section_t |
typedef struct __vsf_elfloader_vaddr2off_t | __vsf_elfloader_vaddr2off_t |
Variables | |
const struct vsf_loader_op_t | vsf_elfloader_op |
#define __VSF_ELFLOADER_CLASS_IMPLEMENT |
#define __VSF_LOADER_CLASS_INHERIT__ |
#define VSF_ELFLOADER_CFG_MAX_SYM_LEN (32 + 1) |
#define vsf_elfloader_debug | ( | ... | ) | vsf_trace_debug(__VA_ARGS__) |
#define vsf_elfloader_debug_buffer | ( | ... | ) | vsf_trace_buffer(VSF_TRACE_DEBUG, __VA_ARGS__) |
typedef struct vsf_elfloader_info_t vsf_elfloader_info_t |
typedef struct __vsf_elfloader_get_section_t __vsf_elfloader_get_section_t |
typedef struct __vsf_elfloader_vaddr2off_t __vsf_elfloader_vaddr2off_t |
int vsf_elfloader_arch_relocate_sym | ( | vsf_elfloader_t * | elfloader, |
Elf_Addr | tgtaddr, | ||
int | type, | ||
Elf_Addr | tgtvalue | ||
) |
int vsf_elfloader_arch_init_plt | ( | vsf_elfloader_t * | elfloader, |
int | num | ||
) |
void vsf_elfloader_arch_fini_plt | ( | vsf_elfloader_t * | elfloader | ) |
int vsf_elfloader_link | ( | vsf_elfloader_t * | elfloader, |
char * | symname, | ||
Elf_Addr * | target | ||
) |
int vsf_elfloader_arch_link | ( | vsf_elfloader_t * | elfloader, |
char * | symname, | ||
Elf_Addr * | target | ||
) |
void vsf_elfloader_cleanup | ( | vsf_elfloader_t * | elfloader | ) |
int vsf_elfloader_foreach_section | ( | vsf_elfloader_t * | elfloader, |
vsf_loader_target_t * | target, | ||
void * | param, | ||
int(*)(vsf_elfloader_t *, vsf_loader_target_t *, Elf_Shdr *header, char *name, int index, void *param) | callback | ||
) |
int vsf_elfloader_foreach_program_header | ( | vsf_elfloader_t * | elfloader, |
vsf_loader_target_t * | target, | ||
void * | param, | ||
int(*)(vsf_elfloader_t *, vsf_loader_target_t *, Elf_Phdr *pheader, int index, void *param) | callback | ||
) |
int vsf_elfloader_call_init_array | ( | vsf_elfloader_t * | elfloader | ) |
void vsf_elfloader_call_fini_array | ( | vsf_elfloader_t * | elfloader | ) |
void * vsf_elfloader_remap | ( | vsf_elfloader_t * | elfloader, |
void * | vaddr | ||
) |
int vsf_elfloader_load | ( | vsf_elfloader_t * | elfloader, |
vsf_loader_target_t * | target | ||
) |
uint32_t vsf_elfloader_get_section | ( | vsf_elfloader_t * | elfloader, |
vsf_loader_target_t * | target, | ||
const char * | name, | ||
Elf_Shdr * | header | ||
) |
const struct vsf_loader_op_t vsf_elfloader_op |