Home
last modified time | relevance | path

Searched refs:phdrs (Results 1 – 25 of 29) sorted by relevance

12

/external/libchrome/base/debug/
Delf_reader_linux.cc77 const Phdr* phdrs = in FindElfSegments() local
81 if (phdrs[i].p_type == segment_type) in FindElfSegments()
82 segments.push_back({elf_base + phdrs[i].p_offset, phdrs[i].p_filesz}); in FindElfSegments()
/external/llvm-project/llvm/test/tools/llvm-objdump/X86/
Dphdrs.test1 ## phdrs.elf-x86-64 was generated using lld (3.9).
3 ## lld test.o -o phdrs.elf-x86-64
14 RUN: llvm-objdump -p %p/Inputs/phdrs.elf-x86-64 \
/external/elfutils/tests/
Drun-getphdrnum.sh107 testfiles testfile-phdrs.elf
109 testrun_compare ${abs_top_builddir}/src/readelf -h testfile-phdrs.elf<<\EOF
DMakefile.am509 run-getphdrnum.sh testfile-phdrs.elf.bz2 \
DChangeLog332 * testfile-phdrs.elf.bz2: New test file.
335 (EXTRA_DIST): Add run-getphdrnum.sh and testfile-phdrs.elf.bz2.
/external/google-breakpad/src/common/linux/
Delfutils.cc93 const Phdr* phdrs = in FindElfClassSegment() local
97 if (phdrs[i].p_type == segment_type) { in FindElfClassSegment()
99 seg.start = elf_base + phdrs[i].p_offset; in FindElfClassSegment()
100 seg.size = phdrs[i].p_filesz; in FindElfClassSegment()
/external/llvm-project/lld/ELF/
DLinkerScript.cpp1016 std::vector<StringRef> &phdrs) { in maybePropagatePhdrs() argument
1017 if (sec.phdrs.empty()) { in maybePropagatePhdrs()
1021 sec.phdrs = phdrs; in maybePropagatePhdrs()
1023 phdrs = sec.phdrs; in maybePropagatePhdrs()
1150 void LinkerScript::allocateHeaders(std::vector<PhdrEntry *> &phdrs) { in allocateHeaders() argument
1157 phdrs, [](const PhdrEntry *e) { return e->p_type == PT_LOAD; }); in allocateHeaders()
1158 if (it == phdrs.end()) in allocateHeaders()
1184 llvm::erase_if(phdrs, in allocateHeaders()
1320 for (StringRef s : cmd->phdrs) { in getPhdrIndices()
DWriter.cpp164 static void removeEmptyPTLoad(std::vector<PhdrEntry *> &phdrs) { in removeEmptyPTLoad() argument
166 phdrs.begin(), phdrs.end(), [&](const PhdrEntry *p) { in removeEmptyPTLoad()
177 DenseSet<PhdrEntry *> removed(it, phdrs.end()); in removeEmptyPTLoad()
181 phdrs.erase(it, phdrs.end()); in removeEmptyPTLoad()
605 script->allocateHeaders(mainPart->phdrs); in run()
611 removeEmptyPTLoad(part.phdrs); in run()
1154 for (PhdrEntry *p : part.phdrs) { in setReservedSymbolSections()
2098 part.phdrs = script->hasPhdrsCommands() ? script->createPhdrs() in finalizeSections()
2111 Out::programHeaders->size = sizeof(Elf_Phdr) * mainPart->phdrs.size(); in finalizeSections()
2117 for (PhdrEntry *p : mainPart->phdrs) in finalizeSections()
[all …]
DOutputSections.h86 std::vector<StringRef> phdrs; variable
DLinkerScript.h315 void allocateHeaders(std::vector<PhdrEntry *> &phdrs);
DScriptParser.cpp908 cmd->phdrs = readOutputSectionPhdrs(); in readOutputSectionDescription()
1422 std::vector<StringRef> phdrs; in readOutputSectionPhdrs() local
1425 phdrs.push_back((tok.size() == 1) ? next() : tok.substr(1)); in readOutputSectionPhdrs()
1427 return phdrs; in readOutputSectionPhdrs()
DSyntheticSections.h1173 std::vector<PhdrEntry *> phdrs; member
DSyntheticSections.cpp3700 eHdr->e_phnum = part.phdrs.size(); in writeEhdr()
3712 for (PhdrEntry *p : part.phdrs) { in writePhdrs()
3749 return sizeof(typename ELFT::Phdr) * getPartition().phdrs.size(); in getSize()
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dsection-types.test60 # LLVM: Name: .phdrs
121 # GNU-NEXT: .phdrs LLVM_PART_PHDR
206 - Name: .phdrs
/external/crosvm/kernel_loader/src/
Dlib.rs112 let phdrs: Vec<elf::Elf64_Phdr> = unsafe { in load_kernel() localVariable
121 for phdr in &phdrs { in load_kernel()
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c401 void *phdrs = malloc (phdrs_bytes); in find_prelink_address_sync() local
402 if (unlikely (phdrs == NULL)) in find_prelink_address_sync()
404 dst.d_buf = phdrs; in find_prelink_address_sync()
409 free (phdrs); in find_prelink_address_sync()
414 Elf32_Phdr (*p32)[phnum] = phdrs; in find_prelink_address_sync()
424 Elf64_Phdr (*p64)[phnum] = phdrs; in find_prelink_address_sync()
432 free (phdrs); in find_prelink_address_sync()
DChangeLog745 phdrs and shdrs.
747 Likewise for phdrs.
749 (elf_from_remote_memory): Allocate exact amount of bytes for phdrs.
861 * link_map.c (dwfl_link_map_report): Allocate phdrs and dyn with
867 Allocate phdrs with malloc, not on stack. free in finish.
885 phdrs on the stack. Allocate with malloc and free when done.
900 phdrs and shdrs unions with malloc, not alloca. Free after use.
1937 PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
2078 * link_map.c (dwfl_link_map_report): Detect bias of embedded phdrs and
/external/llvm/test/tools/llvm-readobj/
Dgnu-phdrs.test13 RUN: llvm-readobj -program-headers %p/Inputs/phdrs-elf.exe-i386 --elf-output-style=GNU \
15 RUN: llvm-readobj -program-headers %p/Inputs/phdrs-elf.exe-x86_64 \
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc876 char *phdrs = base + ehdr->e_phoff; in ForEachMappedRegion() local
877 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion()
883 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
892 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cpp1165 char *phdrs = base + ehdr->e_phoff; in ForEachMappedRegion() local
1166 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion()
1172 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
1181 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
/external/elfutils/libelf/
DChangeLog485 updating phdrs.
487 checking if phdrs haven't been read in yet.
721 * elf32_getphdr.c (getphdr_wrlock): Allocate phdrs with malloc, not
/external/elfutils/
DNEWS739 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
745 support dynamic symbol tables found via phdrs;
/external/elfutils/config/
Delfutils.spec.in858 - readelf, elflint: handle SHT_NOTE sections without requiring phdrs
862 rt dynamic symbol tables found via phdrs; dwfl_standard_find_de
/external/elfutils/src/
DChangeLog479 * strip.c (handle_elf): Always copy over phdrs if there are any
1556 (check_sections): Don't try to match section offsets to phdrs offsets
1898 is not zero for symbol tables. Check phdrs are not NULL.
/external/elfutils/po/
Dja.po6263 msgid "cannot get number of phdrs"

12