Home
last modified time | relevance | path

Searched refs:SHdr (Results 1 – 25 of 55) sorted by relevance

123

/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/CodeGen/
H A DELFWriter.cpp856 SHdrTab.emitWord32(SHdr.Type); in EmitSectionHeader()
859 SHdrTab.emitWord(SHdr.Addr); in EmitSectionHeader()
860 SHdrTab.emitWord(SHdr.Offset); in EmitSectionHeader()
861 SHdrTab.emitWord64(SHdr.Size); in EmitSectionHeader()
862 SHdrTab.emitWord32(SHdr.Link); in EmitSectionHeader()
863 SHdrTab.emitWord32(SHdr.Info); in EmitSectionHeader()
868 SHdrTab.emitWord(SHdr.Addr); in EmitSectionHeader()
869 SHdrTab.emitWord(SHdr.Offset); in EmitSectionHeader()
870 SHdrTab.emitWord32(SHdr.Size); in EmitSectionHeader()
871 SHdrTab.emitWord32(SHdr.Link); in EmitSectionHeader()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/tools/obj2yaml/
H A Delf2yaml.cpp98 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr);
176 const Elf_Shdr &SHdr) { in shouldPrintSection() argument
180 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
181 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
298 const typename ELFT::Shdr &SHdr, in isInSegment() argument
306 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
307 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
309 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
310 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
316 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/obj2yaml/
H A Delf2yaml.cpp98 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr);
176 const Elf_Shdr &SHdr) { in shouldPrintSection() argument
180 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
181 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
298 const typename ELFT::Shdr &SHdr, in isInSegment() argument
306 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
307 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
309 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
310 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
316 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/tools/obj2yaml/
H A Delf2yaml.cpp108 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
188 const Elf_Shdr &SHdr, in shouldPrintSection() argument
193 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
194 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
338 const typename ELFT::Shdr &SHdr, in isInSegment() argument
346 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
347 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
349 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
350 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
356 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/tools/obj2yaml/
H A Delf2yaml.cpp102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
439 const typename ELFT::Shdr &SHdr, in isInSegment() argument
447 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
448 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
450 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
451 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
457 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/tools/obj2yaml/
H A Delf2yaml.cpp102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
438 const typename ELFT::Shdr &SHdr, in isInSegment() argument
446 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
447 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
449 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
450 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
456 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/tools/obj2yaml/
H A Delf2yaml.cpp101 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
182 const Elf_Shdr &SHdr, in shouldPrintSection() argument
187 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
188 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
407 const typename ELFT::Shdr &SHdr, in isInSegment() argument
415 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
416 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
418 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
419 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
425 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/tools/obj2yaml/
H A Delf2yaml.cpp102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
438 const typename ELFT::Shdr &SHdr, in isInSegment() argument
446 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
447 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
449 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
450 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
456 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/tools/obj2yaml/
H A Delf2yaml.cpp102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
438 const typename ELFT::Shdr &SHdr, in isInSegment() argument
446 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
447 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
449 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
450 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
456 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/tools/obj2yaml/
H A Delf2yaml.cpp101 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
182 const Elf_Shdr &SHdr, in shouldPrintSection() argument
187 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
188 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
407 const typename ELFT::Shdr &SHdr, in isInSegment() argument
415 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
416 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
418 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
419 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
425 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/tools/obj2yaml/
H A Delf2yaml.cpp102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
438 const typename ELFT::Shdr &SHdr, in isInSegment() argument
446 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
447 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
449 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
450 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
456 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/tools/obj2yaml/
H A Delf2yaml.cpp102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
438 const typename ELFT::Shdr &SHdr, in isInSegment() argument
446 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
447 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
449 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
450 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
456 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/ada/libgnat/
H A Ds-objrea.adb549 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
552 Offset (SHdr.Sh_Offset),
553 uint64 (SHdr.Sh_Addr),
554 uint64 (SHdr.Sh_Size),
555 (SHdr.Sh_Flags and SHF_ALLOC) /= 0);
743 SHdr : Section_Header; variable
745 SHdr := Read_Section_Header (Obj, Sec.Num);
746 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/lang/gcc9/gcc-9.4.0/gcc/ada/libgnat/
H A Ds-objrea.adb550 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
553 Offset (SHdr.Sh_Offset),
554 uint64 (SHdr.Sh_Addr),
555 uint64 (SHdr.Sh_Size),
556 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
744 SHdr : Section_Header; variable
746 SHdr := Read_Section_Header (Obj, Sec.Num);
747 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/ada/libgnat/
H A Ds-objrea.adb549 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
552 Offset (SHdr.Sh_Offset),
553 uint64 (SHdr.Sh_Addr),
554 uint64 (SHdr.Sh_Size),
555 (SHdr.Sh_Flags and SHF_ALLOC) /= 0);
743 SHdr : Section_Header; variable
745 SHdr := Read_Section_Header (Obj, Sec.Num);
746 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/ada/libgnat/
H A Ds-objrea.adb549 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
552 Offset (SHdr.Sh_Offset),
553 uint64 (SHdr.Sh_Addr),
554 uint64 (SHdr.Sh_Size),
555 (SHdr.Sh_Flags and SHF_ALLOC) /= 0);
743 SHdr : Section_Header; variable
745 SHdr := Read_Section_Header (Obj, Sec.Num);
746 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/ada/libgnat/
H A Ds-objrea.adb546 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
550 Offset (SHdr.Sh_Offset),
551 uint64 (SHdr.Sh_Addr),
552 uint64 (SHdr.Sh_Size),
553 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
746 SHdr : Section_Header; variable
749 SHdr := Read_Section_Header (Obj, Sec.Num);
750 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/ada/libgnat/
H A Ds-objrea.adb550 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
553 Offset (SHdr.Sh_Offset),
554 uint64 (SHdr.Sh_Addr),
555 uint64 (SHdr.Sh_Size),
556 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
744 SHdr : Section_Header; variable
746 SHdr := Read_Section_Header (Obj, Sec.Num);
747 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/ada/libgnat/
H A Ds-objrea.adb547 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
551 Offset (SHdr.Sh_Offset),
552 uint64 (SHdr.Sh_Addr),
553 uint64 (SHdr.Sh_Size),
554 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
750 SHdr : Section_Header; variable
753 SHdr := Read_Section_Header (Obj, Sec.Num);
754 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/ada/libgnat/
H A Ds-objrea.adb549 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
552 Offset (SHdr.Sh_Offset),
553 uint64 (SHdr.Sh_Addr),
554 uint64 (SHdr.Sh_Size),
555 (SHdr.Sh_Flags and SHF_ALLOC) /= 0);
743 SHdr : Section_Header; variable
745 SHdr := Read_Section_Header (Obj, Sec.Num);
746 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/ada/libgnat/
H A Ds-objrea.adb549 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
552 Offset (SHdr.Sh_Offset),
553 uint64 (SHdr.Sh_Addr),
554 uint64 (SHdr.Sh_Size),
555 (SHdr.Sh_Flags and SHF_ALLOC) /= 0);
743 SHdr : Section_Header; variable
745 SHdr := Read_Section_Header (Obj, Sec.Num);
746 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/devel/avr-gcc/gcc-10.2.0/gcc/ada/libgnat/
H A Ds-objrea.adb550 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
553 Offset (SHdr.Sh_Offset),
554 uint64 (SHdr.Sh_Addr),
555 uint64 (SHdr.Sh_Size),
556 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
744 SHdr : Section_Header; variable
746 SHdr := Read_Section_Header (Obj, Sec.Num);
747 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/ada/libgnat/
H A Ds-objrea.adb550 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
553 Offset (SHdr.Sh_Offset),
554 uint64 (SHdr.Sh_Addr),
555 uint64 (SHdr.Sh_Size),
556 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
747 SHdr : Section_Header; variable
749 SHdr := Read_Section_Header (Obj, Sec.Num);
750 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/lang/gcc10/gcc-10.3.0/gcc/ada/libgnat/
H A Ds-objrea.adb550 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
553 Offset (SHdr.Sh_Offset),
554 uint64 (SHdr.Sh_Addr),
555 uint64 (SHdr.Sh_Size),
556 (SHdr.Sh_Flags and SHF_EXECINSTR) /= 0);
744 SHdr : Section_Header; variable
746 SHdr := Read_Section_Header (Obj, Sec.Num);
747 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));
/dports/lang/gcc8/gcc-8.5.0/gcc/ada/libgnat/
H A Ds-objrea.adb549 SHdr : constant Section_Header := Read_Section_Header (Obj, Shnum); constant
552 Offset (SHdr.Sh_Offset),
553 uint64 (SHdr.Sh_Addr),
554 uint64 (SHdr.Sh_Size),
555 (SHdr.Sh_Flags and SHF_ALLOC) /= 0);
743 SHdr : Section_Header; variable
745 SHdr := Read_Section_Header (Obj, Sec.Num);
746 return Offset_To_String (Obj.Secstr_Stream, Offset (SHdr.Sh_Name));

123