Searched refs:SELFMAG (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 88 if (__builtin_add_overflow(start_, SELFMAG, &end_addr) || end_addr >= end_) { in Init() 93 struct iovec src_io = {.iov_base = reinterpret_cast<void*>(start_), .iov_len = SELFMAG}; in Init() 94 struct iovec dst_io = {.iov_base = ehdr.e_ident, .iov_len = SELFMAG}; in Init() 96 valid_ = rc == SELFMAG && IS_ELF(ehdr); in Init()
|
/bionic/libc/bionic/ |
D | dl_iterate_phdr_static.cpp | 45 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in dl_iterate_phdr()
|
/bionic/libc/kernel/uapi/linux/ |
D | elf.h | 285 #define SELFMAG 4 macro
|
/bionic/tests/ |
D | link_test.cpp | 70 ASSERT_EQ(0, memcmp(ehdr, ELFMAG, SELFMAG)); in TEST()
|
/bionic/libc/include/bits/ |
D | elf_common.h | 149 #define SELFMAG 4 /* magic string size */ macro
|
/bionic/linker/ |
D | linker_phdr.cpp | 248 if (memcmp(header_.e_ident, ELFMAG, SELFMAG) != 0) { in VerifyElfHeader()
|