| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | ObjC.cpp | 37 StringRef sectname(secHead.sectname, in objectHasObjCSection() local 38 strnlen(secHead.sectname, sizeof(secHead.sectname))); in objectHasObjCSection() 42 sectname == section_names::objcCatList) || in objectHasObjCSection() 44 sectname.startswith(section_names::swift))) { in objectHasObjCSection()
|
| H A D | InputFiles.cpp | 325 StringRef(sec.sectname, strnlen(sec.sectname, sizeof(sec.sectname))); in parseSections() 355 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections() 366 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections() 487 sec.sectname + " in " + toString(file)) in validateRelocationInfo()
|
| H A D | Writer.cpp | 258 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo()
|
| /openbsd-src/gnu/llvm/lldb/examples/python/ |
| H A D | mach_o.py | 917 … print('comparing %s.%s...' % (lhs_section.segname, lhs_section.sectname), end=' ') 965 … print('error: section %s is missing in %s' % (lhs_section.sectname, rhs.path)) 1025 if section.sectname and section.sectname == name: 1031 … if section.sectname == other_section.sectname and section.segname == other_section.segname: 1046 for sectname in options.section_names: 1047 section = self.get_section_by_name(sectname) 1078 print("Saving section %s to '%s'" % (sectname, options.outfile)) 1083 …("error: you can only save a single section to disk at a time, skipping section '%s'" % (sectname)) 1085 print('section %s:\n' % (sectname)) 1090 print('error: no section named "%s" was found' % (sectname)) [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | MachOEmitter.cpp | 110 memcpy(reinterpret_cast<void *>(&TempSec.sectname[0]), &Sec.sectname[0], 16); in constructSection() 323 Sec.sectname, Sec.segname, OS.tell(), fileStart, in writeSectionData() 326 StringRef SectName(Sec.sectname, in writeSectionData() 327 strnlen(Sec.sectname, sizeof(Sec.sectname))); in writeSectionData()
|
| H A D | MachOYAML.cpp | 331 IO.mapRequired("sectname", Section.sectname); in mapping() 497 IO.mapRequired("sectname", Section.sectname); in mapping() 512 IO.mapRequired("sectname", Section.sectname); in mapping()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.cpp | 33 StringRef SectName(Sec.sectname, strnlen(Sec.sectname, sizeof(Sec.sectname))); in constructSectionCommon()
|
| H A D | MachOWriter.cpp | 218 assert(Sec.Sectname.size() <= sizeof(Temp.sectname) && in writeSectionInLoadCommand() 222 memcpy(Temp.sectname, Sec.Sectname.data(), Sec.Sectname.size()); in writeSectionInLoadCommand()
|
| /openbsd-src/gnu/llvm/llvm/docs/CommandGuide/ |
| H A D | llvm-otool.rst | 102 .. option:: -s <segname> <sectname>
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-size/ |
| H A D | llvm-size.cpp | 236 << format("%.16s", &Sec.sectname) << "): "; in printDarwinSectionSizes() 238 outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": "; in printDarwinSectionSizes() 263 << format("%.16s", &Sec.sectname) << "): "; in printDarwinSectionSizes() 265 outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": "; in printDarwinSectionSizes()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | DebuggerSupportPlugin.cpp | 269 memcpy(Sec.sectname, SI.SecName.data(), SI.SecName.size()); in startSynthesis() 339 memcpy(SecCmd.sectname, SecName.data(), SecName.size()); in completeSynthesisAndRegister()
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | mach-o.h | 192 char sectname[16 + 1]; member
|
| H A D | mach-o.c | 572 + strlen (section->sectname) + 1; 577 sprintf (sname, "%s.%s.%s", prefix, section->segname, section->sectname); 609 memcpy (section->sectname, buf, 16); 610 section->sectname[16] = '\0'; 638 memcpy (buf, section->sectname, 16);
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | mach-o.h | 192 char sectname[16 + 1]; member
|
| H A D | mach-o.c | 351 memcpy (buf, section->sectname, 16); in bfd_mach_o_scan_write_section() 640 + strlen (section->sectname) + 1; in bfd_mach_o_make_bfd_section() 645 sprintf (sname, "%s.%s.%s", prefix, section->segname, section->sectname); in bfd_mach_o_make_bfd_section() 676 memcpy (section->sectname, buf, 16); in bfd_mach_o_scan_read_section() 677 section->sectname[16] = '\0'; in bfd_mach_o_scan_read_section()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | macho2yaml.cpp | 83 memcpy(reinterpret_cast<void *>(&TempSec.sectname[0]), &Sec.sectname[0], 16); in constructSectionCommon() 184 StringRef SecName(S->sectname); in extractSections()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/ |
| H A D | OtoolOpts.td | 29 MetaVarName<"<segname> <sectname>">,
|
| H A D | MachODump.cpp | 701 << Sec.sectname << ") " in PrintIndirectSymbols() 707 << Sec.sectname << ") " << count << " entries"; in PrintIndirectSymbols() 729 << Sec.sectname << ") " in PrintIndirectSymbols() 735 << Sec.sectname << ") " << count << " entries"; in PrintIndirectSymbols() 3473 if ((strncmp(Sec.sectname, "__objc_selrefs", 16) == 0 || in GuessPointerPointer() 3474 strncmp(Sec.sectname, "__objc_classrefs", 16) == 0 || in GuessPointerPointer() 3475 strncmp(Sec.sectname, "__objc_superrefs", 16) == 0 || in GuessPointerPointer() 3476 strncmp(Sec.sectname, "__objc_msgrefs", 16) == 0 || in GuessPointerPointer() 3477 strncmp(Sec.sectname, "__cfstring", 16) == 0) && in GuessPointerPointer() 3491 if (strncmp(Sec.sectname, "__objc_selrefs", 16) == 0) in GuessPointerPointer() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 57 sc->sectname); in NextSectionLoad()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | MachOLinkGraphBuilder.cpp | 136 memcpy(&NSec.SectName, &Sec64.sectname, 16); in createNormalizedSections() 149 memcpy(&NSec.SectName, &Sec32.sectname, 16); in createNormalizedSections()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | MachOYAML.h | 46 char sectname[16]; member
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | remote.c | 4795 const char *sectname; in compare_sections_command() local 4817 sectname = bfd_get_section_name (exec_bfd, s); in compare_sections_command() 4818 if (args && strcmp (args, sectname) != 0) in compare_sections_command() 4836 sectname, paddr (lma), paddr (lma + size)); in compare_sections_command() 4844 sectname, paddr (lma), paddr (lma + size)); in compare_sections_command()
|
| /openbsd-src/gnu/llvm/llvm/tools/dsymutil/ |
| H A D | MachOUtils.cpp | 295 if (StringRef("__eh_frame") == Sect.sectname) { in transferSegmentAndSections()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 571 char sectname[16]; member 585 char sectname[16]; member
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Mach-O/ |
| H A D | ObjectFileMachO.cpp | 1724 if (m_data.GetU8(&offset, (uint8_t *)sect64.sectname, in ProcessSegmentCommand() 1725 sizeof(sect64.sectname)) == nullptr) in ProcessSegmentCommand() 1746 sect64.sectname, strnlen(sect64.sectname, sizeof(sect64.sectname))); in ProcessSegmentCommand()
|