Home
last modified time | relevance | path

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

12

/external/libunwind/src/coredump/
D_UCD_create.c172 cur->p_filesz = hdr64.p_filesz; in _UCD_create()
177 cur->backing_filesize = hdr64.p_filesz; in _UCD_create()
197 cur->p_filesz = hdr32.p_filesz; in _UCD_create()
218 ui->note_phdr = malloc(cur->p_filesz); in _UCD_create()
220 || (uoff_t)read(fd, ui->note_phdr, cur->p_filesz) != cur->p_filesz) in _UCD_create()
226 note_end = STRUCT_MEMBER_P (ui->note_phdr, cur->p_filesz); in _UCD_create()
257 (unsigned long long) cur->p_filesz, in _UCD_create()
261 if (cur->p_filesz < cur->p_memsz) in _UCD_create()
354 if (phdr->p_filesz != 0) in _UCD_add_backing_file_at_segment()
357 char *core_buf = malloc(phdr->p_filesz); in _UCD_add_backing_file_at_segment()
[all …]
D_UCD_elf_map_image.c47 ei->size = phdr->p_filesz; in CD_elf_map_image()
48 size_t remainder_len = phdr->p_memsz - phdr->p_filesz; in CD_elf_map_image()
51 void *remainder_base = (char*) ei->image + phdr->p_filesz; in CD_elf_map_image()
D_UCD_internal.h66 uoff_t p_filesz; member
D_UCD_access_mem.c58 if (addr_last >= phdr->p_vaddr + phdr->p_filesz) in _UCD_access_mem()
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-minimal.c135 phdr->p_filesz = bswap_32(phdr->p_filesz); in filename__read_build_id()
141 buf_size = phdr->p_filesz; in filename__read_build_id()
184 phdr->p_filesz = bswap_64(phdr->p_filesz); in filename__read_build_id()
190 buf_size = phdr->p_filesz; in filename__read_build_id()
/external/elfutils/src/libdwfl/
Delf-from-memory.c239 phdrs.p32[i].p_filesz, phdrs.p32[i].p_memsz)) in elf_from_remote_memory()
250 phdrs.p64[i].p_filesz, phdrs.p64[i].p_memsz)) in elf_from_remote_memory()
302 phdrs.p32[i].p_filesz)) in elf_from_remote_memory()
329 phdrs.p64[i].p_filesz)) in elf_from_remote_memory()
Dcore-file.c263 end = (phdr.p_offset + phdr.p_filesz + align - 1) & -align; in dwfl_elf_phdr_memory_callback()
274 if (phdr.p_filesz < phdr.p_memsz) in dwfl_elf_phdr_memory_callback()
463 notes_phdr.p_filesz, in dwfl_core_file_report()
Ddwfl_segment_report_module.c575 phdrs.p32[i].p_offset, phdrs.p32[i].p_filesz, in dwfl_segment_report_module()
586 phdrs.p64[i].p_offset, phdrs.p64[i].p_filesz, in dwfl_segment_report_module()
885 phdrs.p32[i].p_offset, phdrs.p32[i].p_filesz); in dwfl_segment_report_module()
889 phdrs.p64[i].p_offset, phdrs.p64[i].p_filesz); in dwfl_segment_report_module()
/external/elfutils/src/libelf/
Dgelf_update_phdr.c66 || unlikely (src->p_filesz > 0xffffffffull) in gelf_update_phdr()
102 COPY (p_filesz); in gelf_update_phdr()
Delf32_getphdr.c160 CONVERT_TO (phdr[cnt].p_filesz, notcvt[cnt].p_filesz);
207 CONVERT (phdr[cnt].p_filesz);
Dgelf_getphdr.c103 COPY (p_filesz);
/external/elfutils/src/libdw/
Ddwarf_getcfi_elf.c128 if (unlikely (phdr->p_filesz < 4)) in getcfi_gnu_eh_frame()
131 Elf_Data *data = elf_getdata_rawchunk (elf, phdr->p_offset, phdr->p_filesz, in getcfi_gnu_eh_frame()
145 const uint8_t *search_table = parse_eh_frame_hdr (data->d_buf, phdr->p_filesz, in getcfi_gnu_eh_frame()
/external/valgrind/coregrind/m_ume/
Delf.c195 filesz = ph->p_filesz; in mapelf()
368 HChar *buf = VG_(malloc)("ume.LE.1", ph->p_filesz+1); in VG_()
373 VG_(pread)(fd, buf, ph->p_filesz, ph->p_offset); in VG_()
374 buf[ph->p_filesz] = '\0'; in VG_()
/external/google-breakpad/src/common/linux/
Delf_core_dump.cc157 offset_in_segment < program->p_filesz) { in CopyData()
174 program_header->p_filesz); in GetFirstNote()
Delfutils.cc101 *segment_size = phdrs[i].p_filesz; in FindElfClassSegment()
/external/elfutils/src/tests/
Dalldts.c232 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
243 phdr[1].p_filesz = ndtflags * sizeof (Elf32_Dyn); in main()
Dshowptable.c109 (unsigned long long int) phdr->p_filesz, in main()
Dupdate2.c115 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
/external/kernel-headers/original/uapi/linux/
Delf.h248 Elf32_Word p_filesz; member
260 Elf64_Xword p_filesz; /* Segment size in file */ member
/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c124 phdr->p_filesz = write ? len : 0; in fill_phdr()
690 phdrs[0].p_filesz = notesz; in make_elf_coredump()
708 off += phdrs[idx].p_filesz; in make_elf_coredump()
728 if (phdrs[idx].p_filesz > 0) { in make_elf_coredump()
731 vg_assert(seg->end - seg->start + 1 >= phdrs[idx].p_filesz); in make_elf_coredump()
733 (void)VG_(write)(core_fd, (void *)seg->start, phdrs[idx].p_filesz); in make_elf_coredump()
/external/llvm/tools/llvm-objdump/
DELFDump.cpp66 << format(Fmt, (uint64_t)pi->p_filesz) in printProgramHeaders()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_freebsd.h109 __uint32_t p_filesz; member
/external/elfutils/src/libdwelf/
Ddwelf_elf_gnu_build_id.c87 phdr->p_filesz, in find_elf_build_id()
/external/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp128 FileRange file_range (header->p_offset, header->p_filesz); in AddAddressRangeFromLoadSegment()
509 while (offset < segment_header->p_filesz) in ParseThreadContextsFromNoteSegment()
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h197 elf_xword p_filesz; ///< Byte size of the segment in file. member

12