Home
last modified time | relevance | path

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

/external/elfutils/libdwfl/
Ddwfl_segment_report_module.c263 GElf_Addr vaddr, size_t filesz) in read_portion() argument
267 if (filesz > *read_state->buffer_available in read_portion()
268 || vaddr - start > *read_state->buffer_available - filesz in read_portion()
271 || (filesz == 0 && memchr (vaddr - start + *read_state->buffer, '\0', in read_portion()
276 *data_size = filesz; in read_portion()
281 data, data_size, vaddr, filesz, in read_portion()
488 GElf_Xword filesz = is32 ? p32[i].p_filesz : p64[i].p_filesz; in dwfl_segment_report_module() local
494 dyn_filesz = filesz; in dwfl_segment_report_module()
499 if (build_id.memory != NULL || filesz == 0) in dwfl_segment_report_module()
508 start, segment, note_vaddr, filesz)) in dwfl_segment_report_module()
[all …]
Delf-from-memory.c248 GElf_Xword filesz = class32 ? (*p32)[i].p_filesz : (*p64)[i].p_filesz; in elf_from_remote_memory() local
254 GElf_Off segment_end = ((offset + filesz + pagesize - 1) in elf_from_remote_memory()
266 segments_end = offset + filesz; in elf_from_remote_memory()
304 GElf_Xword filesz = class32 ? (*p32)[i].p_filesz : (*p64)[i].p_filesz; in elf_from_remote_memory() local
307 GElf_Off end = (offset + filesz + pagesize - 1) & -pagesize; in elf_from_remote_memory()
Dlink_map.c908 GElf_Xword filesz = (is32 in dwfl_link_map_report() local
928 dyn_filesz = filesz; in dwfl_link_map_report()
DChangeLog8 switch. inline handle_segment call, set vaddr, offset and filesz
14 switch on class. Set new vaddr, memsz, offset and filesz
327 filesz isn't larger than buffer_available.
328 (dwfl_segment_report_module): Check data_size vs filesz after
/external/llvm-project/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/llvm-project/lld/test/ELF/linkerscript/
Dempty-load.s10 # CHECK-NEXT: filesz {{0x[0-9a-f]+}} memsz {{0x[0-9a-f]+}} flags rw-
12 # CHECK-NEXT: filesz {{0x[0-9a-f]+}} memsz {{0x[0-9a-f]+}} flags r-x
14 # CHECK-NEXT: filesz
/external/llvm-project/llvm/test/tools/llvm-objdump/
Dopenbsd-headers.test7 # CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
9 # CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
11 # CHECK-NEXT: filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
/external/toybox/toys/pending/
Dreadelf.c52 unsigned long long offset, vaddr, paddr, filesz, memsz, align; member
153 ph->filesz = elf_long(&phdr); in get_ph()
160 ph->filesz = elf_int(&phdr); in get_ph()
166 if (ph->offset >= TT.size-ph->filesz) { in get_ph()
167 printf("phdr %d has bad offset/size %llu/%llu", i, ph->offset, ph->filesz); in get_ph()
489 ph.filesz, ph.memsz, ph.flags&4?'R':' ', ph.flags&2?'W':' ', in scan_elf()
491 if (ph.type == 3 /*PH_INTERP*/ && ph.filesz<TT.size && in scan_elf()
492 ph.offset<TT.size && ph.filesz - 1 < TT.size - ph.offset) { in scan_elf()
494 (int) ph.filesz-1, TT.elf+ph.offset); in scan_elf()
507 if (s.offset >= ph.offset && s.offset+s.size <= ph.offset+ph.filesz) in scan_elf()
[all …]
/external/llvm-project/llvm/test/tools/llvm-objdump/X86/
Dphdrs.test18 CHECK-NEXT: filesz 0x0000000000000004 memsz 0x0000000000001000 flags r--
32 NOTE-NEXT: filesz 0x0000000000000008 memsz 0x0000000000000008 flags r--
/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.c889 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() local
891 if (lastoffset < shdr.sh_offset + filesz) in handle_debug_relocs()
892 lastoffset = shdr.sh_offset + filesz; in handle_debug_relocs()
931 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() local
933 lastoffset = shdr.sh_offset + filesz; in handle_debug_relocs()
935 *last_size = filesz; in handle_debug_relocs()
2138 GElf_Off filesz = (shdr_info[cnt].shdr.sh_type != SHT_NOBITS in handle_elf() local
2140 if (lastoffset < shdr_info[cnt].shdr.sh_offset + filesz) in handle_elf()
2141 lastoffset = shdr_info[cnt].shdr.sh_offset + filesz; in handle_elf()
2166 GElf_Off filesz = (shdr_info[cnt].shdr.sh_type != SHT_NOBITS in handle_elf() local
[all …]
DChangeLog2814 * elflint (check_sections): Allow zero sized sections at (filesz) end
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc1320 size_t filesz = sizeof(Nhdr) + 8 + sizeof(prpsinfo) + in main() local
1337 phdr.p_filesz = filesz; in main()
1343 size_t note_align = phdr.p_align - ((offset+filesz) % phdr.p_align); in main()
1363 offset += filesz; in main()
1364 filesz = mapping.data.size(); in main()