25 bfelf_loader_ut::test_bfelf_file_get_relro_invalid_ef()
27 bfelf64_addr
addr = 0;
28 bfelf64_xword
size = 0;
30 auto ret = bfelf_file_get_relro(
nullptr, &addr, &size);
35 bfelf_loader_ut::test_bfelf_file_get_relro_invalid_addr()
39 bfelf64_xword
size = 0;
41 ret = bfelf_file_get_relro(&ef,
nullptr, &size);
46 bfelf_loader_ut::test_bfelf_file_get_relro_invalid_size()
50 bfelf64_addr
addr = 0;
52 ret = bfelf_file_get_relro(&ef, &addr,
nullptr);
57 bfelf_loader_ut::test_bfelf_file_get_relro_success()
61 bfelf64_addr
addr = 0;
62 bfelf64_xword
size = 0;
64 ret = bfelf_file_get_relro(&ef, &addr, &size);
#define BFELF_ERROR_INVALID_ARG
constexpr const auto size
constexpr const auto addr