Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/Process/POSIX/
DNativeProcessELF.cpp67 ELF_PHDR phdr_entry; in GetELFImageInfoAddress() local
70 auto error = ReadMemory(phdr_addr + i * phdr_entry_size, &phdr_entry, in GetELFImageInfoAddress()
71 sizeof(phdr_entry), bytes_read); in GetELFImageInfoAddress()
74 if (phdr_entry.p_type == llvm::ELF::PT_PHDR) { in GetELFImageInfoAddress()
75 load_bias = phdr_addr - phdr_entry.p_vaddr; in GetELFImageInfoAddress()
79 if (phdr_entry.p_type == llvm::ELF::PT_DYNAMIC) { in GetELFImageInfoAddress()
80 dynamic_section_addr = phdr_entry.p_vaddr; in GetELFImageInfoAddress()
81 dynamic_section_size = phdr_entry.p_memsz; in GetELFImageInfoAddress()