43 driver_entry_ut::test_common_add_module_invalid_file()
49 driver_entry_ut::test_common_add_module_invalid_file_size()
55 driver_entry_ut::test_common_add_module_garbage_module()
57 auto file =
"this is clearly not an ELF file!!!";
63 driver_entry_ut::test_common_add_module_add_when_already_loaded()
74 driver_entry_ut::test_common_add_module_add_when_already_running()
88 driver_entry_ut::test_common_add_module_add_when_corrupt()
104 driver_entry_ut::test_common_add_module_add_too_many()
114 driver_entry_ut::test_common_add_module_platform_alloc_fails()
116 MockRepository mocks;
126 driver_entry_ut::test_common_add_module_load_elf_fails()
128 MockRepository mocks;
int64_t common_add_module(const char *file, uint64_t fsize)
#define RUN_UNITTEST_WITH_MOCKS(a, b)
#define BFELF_ERROR_INVALID_ARG
int64_t common_load_vmm(void)
int64_t common_fini(void)
#define BF_ERROR_VMM_INVALID_STATE
#define BF_ERROR_MAX_MODULES_REACHED
int64_t load_elf_file(struct module_t *module)
int64_t common_start_vmm(void)
#define BF_ERROR_OUT_OF_MEMORY
#define BF_ERROR_INVALID_ARG
int64_t common_vmm_status(void)
#define BF_ERROR_VMM_CORRUPTED
int64_t common_reset(void)