Home
last modified time | relevance | path

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

/external/elfutils/libdwfl/
Ddwfl_segment_report_module.c302 GElf_Addr vaddr, size_t filesz) in dwfl_segment_report_module()
306 if (filesz > buffer_available in dwfl_segment_report_module()
307 || vaddr - start > buffer_available - filesz in dwfl_segment_report_module()
310 || (filesz == 0 && memchr (vaddr - start + buffer, '\0', in dwfl_segment_report_module()
314 *data_size = filesz; in dwfl_segment_report_module()
316 data, data_size, vaddr, filesz); in dwfl_segment_report_module()
460 inline void consider_notes (GElf_Addr vaddr, GElf_Xword filesz, in dwfl_segment_report_module()
464 if (build_id != NULL || filesz == 0) in dwfl_segment_report_module()
469 if (read_portion (&data, &data_size, vaddr, filesz)) in dwfl_segment_report_module()
476 filesz = data_size; in dwfl_segment_report_module()
[all …]
Delf-from-memory.c233 GElf_Xword filesz, GElf_Xword memsz) in elf_from_remote_memory()
239 GElf_Off segment_end = ((offset + filesz + pagesize - 1) in elf_from_remote_memory()
251 segments_end = offset + filesz; in elf_from_remote_memory()
313 GElf_Xword filesz) in elf_from_remote_memory()
316 GElf_Off end = (offset + filesz + pagesize - 1) & -pagesize; in elf_from_remote_memory()
Dlink_map.c762 GElf_Addr vaddr, GElf_Xword filesz) in dwfl_link_map_report()
779 dyn_filesz = filesz; in dwfl_link_map_report()
DChangeLog96 filesz isn't larger than buffer_available.
97 (dwfl_segment_report_module): Check data_size vs filesz after
/external/u-boot/drivers/remoteproc/
Drproc-elf-loader.c190 u64 da, memsz, filesz, offset; local
208 filesz = phdr->p_filesz;
215 __func__, phdr->p_type, da, memsz, filesz);
228 if (filesz)
229 memcpy(ptr, (void *)addr + offset, filesz);
230 if (filesz != memsz)
231 memset(ptr + filesz, 0x00, memsz - filesz);
234 roundup((ulong)ptr + filesz, ARCH_DMA_MINALIGN) -
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/
Dobjdump-private-headers.test10 ELF-i386: filesz 0x00000134 memsz 0x00000134 flags r-x
12 ELF-i386: filesz 0x00000000 memsz 0x00000000 flags rw-
16 ELF-x86-64: filesz 0x0000000000000138 memsz 0x0000000000000138 flags r-x
18 ELF-x86-64: filesz 0x0000000000000014 memsz 0x0000000000000014 flags r--
20 ELF-x86-64: filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
/external/llvm/test/Object/
Dobjdump-private-headers.test10 ELF-i386: filesz 0x00000134 memsz 0x00000134 flags r-x
12 ELF-i386: filesz 0x00000000 memsz 0x00000000 flags rw-
16 ELF-x86-64: filesz 0x0000000000000138 memsz 0x0000000000000138 flags r-x
18 ELF-x86-64: filesz 0x0000000000000014 memsz 0x0000000000000014 flags r--
20 ELF-x86-64: filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/
Dopenbsd-headers.test16 CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
18 CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
20 CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
Dphdrs.test18 CHECK-NEXT: filesz 0x0000000000000004 memsz 0x0000000000001000 flags r--
32 NOTE-NEXT: filesz 0x0000000000000008 memsz 0x0000000000000008 flags r--
/external/toybox/toys/pending/
Dreadelf.c53 long long offset, vaddr, paddr, filesz, memsz, align; member
119 ph->filesz = TT.elf_int(phdr+=8, 8); in get_ph()
126 ph->filesz = TT.elf_int(phdr+=4, 4); in get_ph()
428 ph.filesz, ph.memsz, ph.flags&4?'R':' ', ph.flags&2?'W':' ', in scan_elf()
432 (int) ph.filesz-1, TT.elf+ph.offset); in scan_elf()
444 if (s.offset >= ph.offset && s.offset+s.size <= ph.offset+ph.filesz) in scan_elf()
521 ph.offset, ph.filesz); in scan_elf()
522 show_notes(ph.offset, ph.filesz); in scan_elf()
/external/google-breakpad/src/common/linux/
Dsynth_elf.cc150 size_t filesz = 0; in AddSegment() local
159 filesz += size; in AddSegment()
174 .Append(endianness(), addr_size_, filesz) in AddSegment()
/external/elfutils/src/
Dstrip.c868 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() local
870 if (lastoffset < shdr.sh_offset + filesz) in handle_debug_relocs()
871 lastoffset = shdr.sh_offset + filesz; in handle_debug_relocs()
910 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() local
912 lastoffset = shdr.sh_offset + filesz; in handle_debug_relocs()
914 *last_size = filesz; in handle_debug_relocs()
2087 GElf_Off filesz = (shdr_info[cnt].shdr.sh_type != SHT_NOBITS in handle_elf() local
2089 if (lastoffset < shdr_info[cnt].shdr.sh_offset + filesz) in handle_elf()
2090 lastoffset = shdr_info[cnt].shdr.sh_offset + filesz; in handle_elf()
2115 GElf_Off filesz = (shdr_info[cnt].shdr.sh_type != SHT_NOBITS in handle_elf() local
[all …]
DChangeLog2555 * elflint (check_sections): Allow zero sized sections at (filesz) end
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc1114 size_t filesz = sizeof(Nhdr) + 8 + sizeof(prpsinfo) + in main() local
1131 phdr.p_filesz = filesz; in main()
1137 size_t note_align = phdr.p_align - ((offset+filesz) % phdr.p_align); in main()
1157 offset += filesz; in main()
1158 filesz = mapping.data.size(); in main()
/external/u-boot/tools/
Dmxsimage.c2024 FILE *fp, off_t filesz) in sb_verify_image_end() argument
2040 if (pos != filesz) { in sb_verify_image_end()