25 bfelf_loader_ut::test_bfelf_file_get_entry_invalid_ef()
29 auto ret = bfelf_file_get_entry(
nullptr, &addr);
34 bfelf_loader_ut::test_bfelf_file_get_entry_invalid_addr()
39 auto &&
data = get_test();
40 auto &&buff = std::get<0>(
data);
43 ret = bfelf_file_init(buff.get(),
size, &ef);
46 ret = bfelf_file_get_entry(&ef,
nullptr);
51 bfelf_loader_ut::test_bfelf_file_get_entry_success()
57 auto &&
data = get_test();
58 auto &&buff = std::get<0>(
data);
59 auto &&size = std::get<1>(
data);
61 ret = bfelf_file_init(buff.get(),
size, &ef);
64 ret = bfelf_file_get_entry(&ef, &addr);
#define BFELF_ERROR_INVALID_ARG
int64_t unsigned long void * data
constexpr const auto size
constexpr const auto addr