Home
last modified time | relevance | path

Searched refs:textSection (Results 1 – 25 of 54) sorted by relevance

123

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/util/fipstools/
H A Dbreak-hash.go43 var textSection *elf.Section
48 textSection = section
53 if textSection == nil {
98 if n, err := textSection.ReadAt(moduleText, int64(start-textSection.Addr)); err != nil {
99 …Errorf("failed to read from module start (at %d of %d) in .text: %s", start, textSection.Size, err)
129 fmt.Printf("Found start of module at offset 0x%x (VMA 0x%x):\n", start-textSection.Addr, start)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/boringssl/src/util/fipstools/
H A Dbreak-hash.go43 var textSection *elf.Section
48 textSection = section
53 if textSection == nil {
98 if n, err := textSection.ReadAt(moduleText, int64(start-textSection.Addr)); err != nil {
99 …Errorf("failed to read from module start (at %d of %d) in .text: %s", start, textSection.Size, err)
129 fmt.Printf("Found start of module at offset 0x%x (VMA 0x%x):\n", start-textSection.Addr, start)
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/util/fipstools/
H A Dbreak-hash.go43 var textSection *elf.Section
48 textSection = section
53 if textSection == nil {
98 if n, err := textSection.ReadAt(moduleText, int64(start-textSection.Addr)); err != nil {
99 …Errorf("failed to read from module start (at %d of %d) in .text: %s", start, textSection.Size, err)
129 fmt.Printf("Found start of module at offset 0x%x (VMA 0x%x):\n", start-textSection.Addr, start)
/dports/security/boringssl/boringssl-6a71840/util/fipstools/
H A Dbreak-hash.go43 var textSection *elf.Section
48 textSection = section
53 if textSection == nil {
98 if n, err := textSection.ReadAt(moduleText, int64(start-textSection.Addr)); err != nil {
99 …Errorf("failed to read from module start (at %d of %d) in .text: %s", start, textSection.Size, err)
129 fmt.Printf("Found start of module at offset 0x%x (VMA 0x%x):\n", start-textSection.Addr, start)
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/
H A DManagedPEBuilder.cs140 var textSection = new ManagedTextSection( in SerializeTextSection()
150 … int methodBodyStreamRva = location.RelativeVirtualAddress + textSection.OffsetToILStream; in SerializeTextSection()
151 …int mappedFieldDataStreamRva = location.RelativeVirtualAddress + textSection.CalculateOffsetToMapp… in SerializeTextSection()
158 int debugDirectoryOffset = textSection.ComputeOffsetToDebugDirectory(); in SerializeTextSection()
173 … _lazyEntryPointAddress = textSection.GetEntryPointAddress(location.RelativeVirtualAddress); in SerializeTextSection()
175 textSection.Serialize( in SerializeTextSection()
190 …_peDirectoriesBuilder.ImportAddressTable = textSection.GetImportAddressTableDirectoryEntry(locatio… in SerializeTextSection()
191 …_peDirectoriesBuilder.ImportTable = textSection.GetImportTableDirectoryEntry(location.RelativeVirt… in SerializeTextSection()
192 …_peDirectoriesBuilder.CorHeaderTable = textSection.GetCorHeaderDirectoryEntry(location.RelativeVir… in SerializeTextSection()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/play/src/
H A DCoffObjectFile.cpp45 …auto textSection = BuildSection(m_internalSymbols, internalSymbolInfos, INTERNAL_SYMBOL_LOCATION_T… in Write() local
49 m_externalSymbols, externalSymbolInfos, textSection.data.size(), dataSection.data.size()); in Write()
55 uint32 textSectionRelocOffset = offsetKeeper.Advance(textSection.data.size()); in Write()
56 …uint32 dataSectionDataOffset = offsetKeeper.Advance((textSection.symbolReferences.size() * sizeof(… in Write()
67 sectionHeader.sizeOfRawData = textSection.data.size(); in Write()
69 …sectionHeader.pointerToRelocations = (textSection.symbolReferences.size() == 0) ? 0 : textSectionR… in Write()
71 sectionHeader.numberOfRelocations = textSection.symbolReferences.size(); in Write()
92 …auto textSectionRelocations = BuildRelocations(textSection, internalSymbolInfos, externalSymbolInf… in Write()
106 stream.Write(textSection.data.data(), textSection.data.size()); in Write()
H A DMachoObjectFile.cpp31 …auto textSection = BuildSection(m_internalSymbols, internalSymbolInfos, INTERNAL_SYMBOL_LOCATION_T… in Write() local
35 textSection.data.resize((textSection.data.size() + 0x03) & ~0x03); in Write()
39 0, static_cast<uint32>(textSection.data.size())); in Write()
41 …auto textSectionRelocations = BuildRelocations(textSection, internalSymbolInfos, externalSymbolInf… in Write()
50 …uint32 segmentDataSize = static_cast<uint32>(textSection.data.size()) + static_cast<uint32>(dataSe… in Write()
63 section.size = static_cast<uint32>(textSection.data.size()); in Write()
84 section.address = static_cast<uint32>(textSection.data.size()); in Write()
86 section.offset = headerSize + static_cast<uint32>(textSection.data.size()); in Write()
151 stream.Write(textSection.data.data(), textSection.data.size()); in Write()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/CodeGen/src/
H A DCoffObjectFile.cpp45 …auto textSection = BuildSection(m_internalSymbols, internalSymbolInfos, INTERNAL_SYMBOL_LOCATION_T… in Write() local
49 m_externalSymbols, externalSymbolInfos, textSection.data.size(), dataSection.data.size()); in Write()
55 uint32 textSectionRelocOffset = offsetKeeper.Advance(textSection.data.size()); in Write()
56 …uint32 dataSectionDataOffset = offsetKeeper.Advance((textSection.symbolReferences.size() * sizeof(… in Write()
67 sectionHeader.sizeOfRawData = textSection.data.size(); in Write()
69 …sectionHeader.pointerToRelocations = (textSection.symbolReferences.size() == 0) ? 0 : textSectionR… in Write()
71 sectionHeader.numberOfRelocations = textSection.symbolReferences.size(); in Write()
92 …auto textSectionRelocations = BuildRelocations(textSection, internalSymbolInfos, externalSymbolInf… in Write()
106 stream.Write(textSection.data.data(), textSection.data.size()); in Write()
H A DMachoObjectFile.cpp32 …auto textSection = BuildSection(m_internalSymbols, internalSymbolInfos, INTERNAL_SYMBOL_LOCATION_T… in Write() local
36 textSection.data.resize((textSection.data.size() + 0x03) & ~0x03); in Write()
40 0, static_cast<uint32>(textSection.data.size())); in Write()
42 …auto textSectionRelocations = BuildRelocations(textSection, internalSymbolInfos, externalSymbolInf… in Write()
51 …uint32 segmentDataSize = static_cast<uint32>(textSection.data.size()) + static_cast<uint32>(dataSe… in Write()
64 section.size = static_cast<uint32>(textSection.data.size()); in Write()
85 section.address = static_cast<uint32>(textSection.data.size()); in Write()
87 section.offset = headerSize + static_cast<uint32>(textSection.data.size()); in Write()
152 stream.Write(textSection.data.data(), textSection.data.size()); in Write()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/util/fipstools/inject_hash/
H A Dinject_hash.go97 var textSection, rodataSection *elf.Section
103 textSection = section
110 if textSection == nil {
127 base = textSection.Addr
184 if max := textSection.Size; *textStart > max || *textStart > *textEnd || *textEnd > max {
196 text := textSection.Open()
/dports/security/boringssl/boringssl-6a71840/util/fipstools/inject_hash/
H A Dinject_hash.go97 var textSection, rodataSection *elf.Section
103 textSection = section
110 if textSection == nil {
127 base = textSection.Addr
184 if max := textSection.Size; *textStart > max || *textStart > *textEnd || *textEnd > max {
196 text := textSection.Open()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/boringssl/src/util/fipstools/inject_hash/
H A Dinject_hash.go97 var textSection, rodataSection *elf.Section
103 textSection = section
110 if textSection == nil {
127 base = textSection.Addr
184 if max := textSection.Size; *textStart > max || *textStart > *textEnd || *textEnd > max {
196 text := textSection.Open()
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/util/fipstools/inject_hash/
H A Dinject_hash.go97 var textSection, rodataSection *elf.Section
103 textSection = section
110 if textSection == nil {
127 base = textSection.Addr
184 if max := textSection.Size; *textStart > max || *textStart > *textEnd || *textEnd > max {
196 text := textSection.Open()
/dports/devel/elf-dissector/elf-dissector-942274185cc89fabf74f5f1efb886ecf210ab2fb/tests/auto/
H A Ddwarfdietest.cpp73 const auto textSection = f.section<ElfSection>(f.indexOfSection(".text")); in testAttribute_AT_ranges() local
74 QVERIFY(lowPC.value<uint64_t>() >= textSection->header()->virtualAddress()); in testAttribute_AT_ranges()
75 …QVERIFY(lowPC.value<uint64_t>() < textSection->header()->virtualAddress() + textSection->header()-… in testAttribute_AT_ranges()
/dports/devel/llvm80/llvm-8.0.1.src/tools/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp39 Section textSection; in TEST() local
42 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
43 f.sections.push_back(textSection); in TEST()
/dports/devel/llvm90/llvm-9.0.1.src/tools/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/devel/llvm70/llvm-7.0.1.src/tools/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp39 Section textSection;
42 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in umul128()
43 f.sections.push_back(textSection);
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/devel/llvm10/llvm-10.0.1.src/tools/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/devel/llvm11/llvm-11.0.1.src/tools/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/devel/llvm12/llvm-project-12.0.1.src/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lld/unittests/MachOTests/
H A DMachONormalizedFileToAtomsTests.cpp38 Section textSection; in TEST() local
41 textSection.content = llvm::makeArrayRef(contentBytes, contentSize); in TEST()
42 f.sections.push_back(textSection); in TEST()

123