Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/test/Shell/Register/Core/Inputs/
H A Dstrip-coredump.py17 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 Dnobits-offset.s7 ## 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 Dtls-nobits-offset.s7 ## 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 Dseparate-segments.s4 ## -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 Drelro-bss.s7 # 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 Dtls-nobits-offset.s11 ## 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 Dnobits-offset.s11 ## 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 D2009-01-21-InvalidIterator.c15 Elf64_Off p_offset; member
/llvm-project-15.0.7/lld/ELF/
H A DWriter.h38 uint64_t p_offset = 0; member
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Donly-keep-debug.test135 ## 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 Dbinary-paddr.test1 ## 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 Dinvalid-p_filesz-p_offset.test24 ## A similar case, but now the p_offset property of the program header is too large.
H A Dempty-section.test40 ## the p_offset of the second segment.
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_freebsd.h105 __uint32_t p_offset; member
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp376 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 DELFHeader.h195 elf_off p_offset; ///< Start of segment from beginning of file. member
/llvm-project-15.0.7/llvm/lib/Object/
H A DELF.cpp544 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 Dhash-symbols.test72 ## 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 Dunwind.test305 ## 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 Dhash-histogram.test99 ## p_offset + (p_vaddr - DT_HASH) = p_offset + (0 - 0) = p_offset,
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELF.h310 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 DInstrProfilingPlatformLinux.c200 ProgramHeader[I].p_offset); in __llvm_write_binary_ids()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DELF.h1334 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 DDwarfCFIEHPrinter.h100 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 Dprogram-header-size-offset.yaml108 ## Check that by default the p_offset field of a segment is set to the

12