Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for SectionReader (0.25 sec)

  1. src/debug/pe/file.go

    			r2 = &nobitsSectionReader{}
    		}
    		s.sr = io.NewSectionReader(r2, int64(s.SectionHeader.Offset), int64(s.SectionHeader.Size))
    		s.ReaderAt = s.sr
    		f.Sections[i] = s
    	}
    	for i := range f.Sections {
    		var err error
    		f.Sections[i].Relocs, err = readRelocs(&f.Sections[i].SectionHeader, sr)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return f, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. src/debug/pe/file_test.go

    	file           string
    	hdr            FileHeader
    	opthdr         any
    	sections       []*SectionHeader
    	symbols        []*Symbol
    	hasNoDwarfInfo bool
    }
    
    var fileTests = []fileTest{
    	{
    		file: "testdata/gcc-386-mingw-obj",
    		hdr:  FileHeader{0x014c, 0x000c, 0x0, 0x64a, 0x1e, 0x0, 0x104},
    		sections: []*SectionHeader{
    			{".text", 0, 0, 36, 500, 1440, 0, 3, 0, 0x60300020},
    			{".data", 0, 0, 0, 0, 0, 0, 0, 0, 3224371264},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  3. src/debug/elf/file_test.go

    	}
    
    	wantSectionHeader := SectionHeader{
    		Name:      "section_0007",
    		Type:      SHT_PROGBITS,
    		Flags:     SHF_WRITE + SHF_ALLOC,
    		Offset:    0x4c,
    		Size:      0x4,
    		Addralign: 0x4,
    		FileSize:  0x4,
    	}
    	if f.Sections[10].SectionHeader != wantSectionHeader {
    		t.Errorf("\nhave %#v\nwant %#v\n", f.Sections[10].SectionHeader, wantSectionHeader)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadxcoff/ldxcoff.go

    	}
    
    	// extern symbols
    	// TODO(aix)
    	if s.SectionNumber == 0 {
    		return sym.Sxxx, ""
    	}
    
    	sectType := f.Sections[s.SectionNumber-1].SectionHeader.Type
    	switch sectType {
    	default:
    		return sym.Sxxx, fmt.Sprintf("getSymbolType for Section type 0x%x not implemented", sectType)
    	case xcoff.STYP_DWARF, xcoff.STYP_DEBUG:
    		return sym.Sxxx, ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg debug/elf, type SectionFlag uint32
    pkg debug/elf, type SectionHeader struct
    pkg debug/elf, type SectionHeader struct, Addr uint64
    pkg debug/elf, type SectionHeader struct, Addralign uint64
    pkg debug/elf, type SectionHeader struct, Entsize uint64
    pkg debug/elf, type SectionHeader struct, Flags SectionFlag
    pkg debug/elf, type SectionHeader struct, Info uint32
    pkg debug/elf, type SectionHeader struct, Link uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  6. api/go1.6.txt

    pkg debug/elf, type Chdr64 struct, Size uint64
    pkg debug/elf, type Chdr64 struct, Type uint32
    pkg debug/elf, type CompressionType int
    pkg debug/elf, type R_MIPS int
    pkg debug/elf, type SectionHeader struct, FileSize uint64
    pkg encoding/asn1, const ClassApplication = 1
    pkg encoding/asn1, const ClassApplication ideal-int
    pkg encoding/asn1, const ClassContextSpecific = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	Header
    	Questions   []Question
    	Answers     []Resource
    	Authorities []Resource
    	Additionals []Resource
    }
    
    type section uint8
    
    const (
    	sectionNotStarted section = iota
    	sectionHeader
    	sectionQuestions
    	sectionAnswers
    	sectionAuthorities
    	sectionAdditionals
    	sectionDone
    
    	headerBitQR = 1 << 15 // query/response (response=1)
    	headerBitAA = 1 << 10 // authoritative
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg debug/plan9obj, type Section struct
    pkg debug/plan9obj, type Section struct, embedded SectionHeader
    pkg debug/plan9obj, type Section struct, embedded io.ReaderAt
    pkg debug/plan9obj, type SectionHeader struct
    pkg debug/plan9obj, type SectionHeader struct, Name string
    pkg debug/plan9obj, type SectionHeader struct, Offset uint32
    pkg debug/plan9obj, type SectionHeader struct, Size uint32
    pkg debug/plan9obj, type Sym struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
Back to top