Home
last modified time | relevance | path

Searched refs:SELFMAG (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/malloc_debug/
DMapData.cpp88 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/
Ddl_iterate_phdr_static.cpp45 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in dl_iterate_phdr()
/bionic/libc/kernel/uapi/linux/
Delf.h285 #define SELFMAG 4 macro
/bionic/tests/
Dlink_test.cpp70 ASSERT_EQ(0, memcmp(ehdr, ELFMAG, SELFMAG)); in TEST()
/bionic/libc/include/bits/
Delf_common.h149 #define SELFMAG 4 /* magic string size */ macro
/bionic/linker/
Dlinker_phdr.cpp248 if (memcmp(header_.e_ident, ELFMAG, SELFMAG) != 0) { in VerifyElfHeader()