Home
last modified time | relevance | path

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

/external/u-boot/tools/
Dprelink-riscv.inc27 static void* get_offset_nn (void* data, Elf_Phdr* phdrs, size_t phnum, Elf_Addr addr)
31 for (p = phdrs; p < phdrs + phnum; ++p)
48 Elf_Phdr *phdrs = data + ehdr->e_phoff;
51 for (p = phdrs; p < phdrs + ehdr->e_phnum; ++p) {
68 rela_dyn = get_offset_nn(data, phdrs, ehdr->e_phnum, + dyn->d_un.d_ptr);
72 dynsym = get_offset_nn(data, phdrs, ehdr->e_phnum, + dyn->d_un.d_ptr);
83 void* buf = get_offset_nn(data, phdrs, ehdr->e_phnum, r->r_offset);
/external/libunwind/src/coredump/
D_UCD_create.c153 …coredump_phdr_t *phdrs = ui->phdrs = memset(malloc(size * sizeof(phdrs[0])), 0, size * sizeof(phdr… in _UCD_create() local
156 coredump_phdr_t *cur = phdrs; in _UCD_create()
182 coredump_phdr_t *cur = phdrs; in _UCD_create()
209 coredump_phdr_t *cur = phdrs; in _UCD_create()
315 struct coredump_phdr *phdr = &ui->phdrs[phdr_no]; in _UCD_add_backing_file_at_segment()
410 struct coredump_phdr *phdr = &ui->phdrs[i]; in _UCD_add_backing_file_at_vaddr()
D_UCD_destroy.c41 struct coredump_phdr *phdr = &ui->phdrs[i]; in _UCD_destroy()
D_UCD_internal.h90 coredump_phdr_t *phdrs; /* array, allocated */ member
D_UCD_access_mem.c44 phdr = &ui->phdrs[i]; in _UCD_access_mem()
D_UCD_elf_map_image.c90 coredump_phdr_t *phdr = &ui->phdrs[i]; in _UCD_get_elf_image()
/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/google-breakpad/src/common/linux/
Delfutils.cc95 const Phdr* phdrs = in FindElfClassSegment() local
99 if (phdrs[i].p_type == segment_type) { in FindElfClassSegment()
100 *segment_start = elf_base + phdrs[i].p_offset; in FindElfClassSegment()
101 *segment_size = phdrs[i].p_filesz; in FindElfClassSegment()
/external/swiftshader/third_party/llvm-7.0/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 \
Dopenbsd-headers.test1 ## openbsd-phdrs.elf-x86-64 was generated using GNU ld (GNU Binutils for Ubuntu) 2.26.1.
3 ## ld -script linker.script main.o -o openbsd-phdrs.elf-x86-64
12 RUN: llvm-objdump -p %p/Inputs/openbsd-phdrs.elf-x86-64 \
/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()
DChangeLog470 phdrs and shdrs.
472 Likewise for phdrs.
474 (elf_from_remote_memory): Allocate exact amount of bytes for phdrs.
586 * link_map.c (dwfl_link_map_report): Allocate phdrs and dyn with
592 Allocate phdrs with malloc, not on stack. free in finish.
610 phdrs on the stack. Allocate with malloc and free when done.
625 phdrs and shdrs unions with malloc, not alloca. Free after use.
1662 PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
1803 * link_map.c (dwfl_link_map_report): Detect bias of embedded phdrs and
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dprogram-headers.test10 ## openbsd-phdrs.elf-x86-64 was generated using GNU ld (GNU Binutils for Ubuntu) 2.26.1.
12 ## ld -script linker.script main.o -o openbsd-phdrs.elf-x86-64
21 RUN: llvm-readobj -program-headers %p/../../Object/Inputs/openbsd-phdrs.elf-x86-64 \
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/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/elfutils/libelf/
DChangeLog324 updating phdrs.
326 checking if phdrs haven't been read in yet.
560 * elf32_getphdr.c (getphdr_wrlock): Allocate phdrs with malloc, not
/external/elfutils/config/
Delfutils.spec.in660 - readelf, elflint: handle SHT_NOTE sections without requiring phdrs
664 rt dynamic symbol tables found via phdrs; dwfl_standard_find_de
/external/elfutils/
DNEWS604 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
610 support dynamic symbol tables found via phdrs;
/external/elfutils/src/
DChangeLog73 * strip.c (handle_elf): Always copy over phdrs if there are any
1150 (check_sections): Don't try to match section offsets to phdrs offsets
1492 is not zero for symbol tables. Check phdrs are not NULL.
/external/elfutils/po/
Dde.po5947 msgid "cannot get number of phdrs"
Dja.po6212 msgid "cannot get number of phdrs"
Duk.po6524 msgid "cannot get number of phdrs"
Dpl.po6478 msgid "cannot get number of phdrs"
Des.po6491 msgid "cannot get number of phdrs"