| /llvm-project-15.0.7/lldb/test/Shell/Register/Core/Inputs/ |
| H A D | strip-coredump.py | 17 next_segment_offset = min(x.header.p_offset for x in elf.iter_segments()) 28 inf.seek(seg.header.p_offset) 30 outf.seek(seg.header.p_offset)
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | nobits-offset.s | 7 ## p_offset will be set to the sh_offset field of the section. Check we align 8 ## sh_offset to sh_addr modulo max-page-size, so that p_vaddr=p_offset (mod
|
| H A D | tls-nobits-offset.s | 7 ## p_offset will be set to the sh_offset field of the section. Check we align 8 ## sh_offset to sh_addr modulo p_align, so that p_vaddr=p_offset (mod
|
| H A D | separate-segments.s | 4 ## -z noseparate-code is the default. All PT_LOAD can have overlapping p_offset 14 ## The two RW can have overlapping p_offset ranges at runtime.
|
| H A D | relro-bss.s | 7 # We have 2 RW PT_LOAD segments. p_offset p_vaddr p_paddr p_filesz of the first
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | tls-nobits-offset.s | 11 ## p_offset will be set to the sh_offset field of the section. Check we align 12 ## sh_offset to sh_addr modulo p_align, so that p_vaddr=p_offset (mod
|
| H A D | nobits-offset.s | 11 ## p_offset will be set to the sh_offset field of the section. Check we align 12 ## sh_offset to sh_addr modulo max-page-size, so that p_vaddr=p_offset (mod
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | 2009-01-21-InvalidIterator.c | 15 Elf64_Off p_offset; member
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Writer.h | 38 uint64_t p_offset = 0; member
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | only-keep-debug.test | 135 ## Check that p_offset or p_filesz of PT_PHDR are not modified. 225 ## PT_TLS and .tdata are empty. Test that we set its p_offset to the parent 226 ## segment's p_offset. If we don't rewrite the p_offset of PT_TLS and the deleted 227 ## bytes are large, p_offset can be larger than the file size, and trigger
|
| H A D | binary-paddr.test | 1 ## The computed LMA of a section in a PT_LOAD equals sh_offset-p_offset+p_paddr. 75 ## LMA = sh_offset-p_offset+p_paddr = 0x2000-0x2000+0x4000 = 0x4000. 121 ## LMA = sh_offset-p_offset+p_paddr = 0x2000-0x2000+0x3000 = 0x3000.
|
| H A D | invalid-p_filesz-p_offset.test | 24 ## A similar case, but now the p_offset property of the program header is too large.
|
| H A D | empty-section.test | 40 ## the p_offset of the second segment.
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_freebsd.h | 105 __uint32_t p_offset; member
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.cpp | 376 if (!GetMaxU64(data, offset, &p_offset, byte_size, 5)) in Parse() 392 if (!GetMaxU64(data, offset, &p_offset, byte_size, 6)) in Parse()
|
| H A D | ELFHeader.h | 195 elf_off p_offset; ///< Start of segment from beginning of file. member
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | ELF.cpp | 544 reinterpret_cast<const Elf_Dyn *>(base() + Phdr.p_offset), in dynamicEntries() 620 uint64_t Offset = Phdr.p_offset + Delta; in toMappedAddr() 626 Twine::utohexstr(Phdr.p_offset + Phdr.p_filesz) + in toMappedAddr()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | hash-symbols.test | 72 ## llvm-readelf will read .hash content from PT_LOAD's p_offset + (DT_HASH value - p_vaddr). 78 ## llvm-readelf will read .gnu.hash content from PT_LOAD's p_offset + (DT_GNU_HASH value - p_vaddr). 356 ## p_offset + (p_vaddr - DT_HASH) = p_offset + (0 - 0) = p_offset, 555 ## PT_LOAD p_offset == .hash offset == 0x54. 627 ## PT_LOAD p_offset == .hash offset == 0x54.
|
| H A D | unwind.test | 305 ## Case A: test we report an error when the p_offset of the PT_GNU_EH_FRAME 321 # BROKEN-CONTENT-NEXT: error: '[[FILE]]': program header [index 0] has a p_offset ([[OFFSET]]) + p… 360 # BROKEN-CONTENT2-NEXT: error: '[[FILE]]': program header [index 0] has a p_offset ([[OFFSET]]) + p…
|
| H A D | hash-histogram.test | 99 ## p_offset + (p_vaddr - DT_HASH) = p_offset + (0 - 0) = p_offset,
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ELF.h | 310 if (Phdr.p_offset + Phdr.p_filesz > getBufSize()) { in notes_begin() 312 createError("invalid offset (0x" + Twine::utohexstr(Phdr.p_offset) + in notes_begin() 316 return Elf_Note_Iterator(base() + Phdr.p_offset, Phdr.p_filesz, Err); in notes_begin() 523 uintX_t Offset = Phdr.p_offset; in getSegmentContents() 781 FakeShdr.sh_offset = Phdr.p_offset; in createFakeSections()
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfilingPlatformLinux.c | 200 ProgramHeader[I].p_offset); in __llvm_write_binary_ids()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | ELF.h | 1334 Elf32_Off p_offset; // File offset where segment is located, in bytes member 1347 Elf64_Off p_offset; // File offset where segment is located, in bytes member
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | DwarfCFIEHPrinter.h | 100 W.startLine() << format("Offset: 0x%" PRIx64 "\n", (uint64_t)EHFramePHdr->p_offset); in printEHFrameHdr()
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/ |
| H A D | program-header-size-offset.yaml | 108 ## Check that by default the p_offset field of a segment is set to the
|