36 EXPECT_NE(
nullptr, sym.first) <<
"Failed to look up symbol kIntegerValue";
42 EXPECT_NE(
nullptr, sym.first) <<
"Failed to look up symbol kStringValue";
50 [](
auto&
h) {
return h.p_type == PT_LOAD; });
61 const char* msg =
nullptr;
70 "#!/bin/sh\necho I'm small non-ELF executable\n";
74 const char* msg =
nullptr;
const T & getAddressValue(const ElfAddr addr) const
const ElfPhdr * iterateProgramHeaders(Fn fn) const
#define EXPECT_EQ(val1, val2)
const T & getSymbolValue(const ElfSym *symbol) const
constexpr size_type size() const
#define EXPECT_GE(val1, val2)
const char * kStringValue
#define EXPECT_STREQ(s1, s2)
int openNoThrow(const char *name, bool readOnly=true, const char **msg=nullptr) noexcept
constexpr Iter data() const
ssize_t writeFull(int fd, const void *buf, size_t count)
Symbol getSymbolByName(const char *name) const
const fs::path & path() const
TEST_F(ElfTest, IntegerValue)
#define EXPECT_NE(val1, val2)
ThreadPoolListHook * addr