Functions
test_helpers.cpp File Reference

Go to the source code of this file.

Functions

struct module_tget_module (uint64_t index)
 
int64_t symbol_length (const char *sym)
 
int64_t resolve_symbol (const char *name, void **sym)
 
int64_t execute_symbol (const char *sym, uint64_t arg1, uint64_t arg2, uint64_t cpuid)
 
int64_t add_md_to_memory_manager (struct module_t *module)
 
int64_t load_elf_file (struct module_t *module)
 

Function Documentation

◆ get_module()

struct module_t* get_module ( uint64_t  index)

◆ symbol_length()

int64_t symbol_length ( const char *  sym)

Definition at line 73 of file common.c.

◆ resolve_symbol()

int64_t resolve_symbol ( const char *  name,
void **  sym 
)

Definition at line 87 of file common.c.

◆ execute_symbol()

int64_t execute_symbol ( const char *  sym,
uint64_t  arg1,
uint64_t  arg2,
uint64_t  cpuid 
)

Definition at line 108 of file common.c.

◆ add_md_to_memory_manager()

int64_t add_md_to_memory_manager ( struct module_t module)

Definition at line 152 of file common.c.

◆ load_elf_file()

int64_t load_elf_file ( struct module_t module)

Definition at line 191 of file common.c.