Home
last modified time | relevance | path

Searched refs:phdr (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dmem_hooks.cpp38 for (ElfW(Phdr) phdr : phdrList) { in FindLibDwarfCodeRegion()
40 if (phdr.p_type == PT_LOAD && (phdr.p_flags & PF_X) != 0) { in FindLibDwarfCodeRegion()
41 *arange = PandaHooks::AddrRange(info->dlpi_addr + phdr.p_vaddr, phdr.p_memsz); in FindLibDwarfCodeRegion()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Delf_reader.cpp253 llvm::ELF::Elf64_Phdr *phdr = reinterpret_cast<llvm::ELF::Elf64_Phdr *>(addr + ehdr->e_phoff); in ParseELFSegment() local
255 if (phdr[i].p_type != llvm::ELF::PT_LOAD) { in ParseELFSegment()
258 if (phdr[i].p_filesz > phdr[i].p_memsz) { in ParseELFSegment()
259 LOG_COMPILER(ERROR) << " p_filesz:0x" << std::hex << phdr[i].p_filesz << " > p_memsz:0x" in ParseELFSegment()
260 << phdr[i].p_memsz; in ParseELFSegment()
263 if (!phdr[i].p_filesz) { in ParseELFSegment()
266 unsigned char *virtualAddr = reinterpret_cast<unsigned char *>(addr + phdr[i].p_vaddr); in ParseELFSegment()
267 ASSERT(phdr[i].p_offset % PageSize() == 0); in ParseELFSegment()
268 if ((phdr[ in ParseELFSegment()
[all...]
H A Delf_checker.h313 llvm::ELF::Elf32_Phdr* phdr; /* Pointer to the program header array. */ member
337 llvm::ELF::Elf64_Phdr* phdr; /* Pointer to the program header array. */ member

Completed in 3 milliseconds