Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SectionHeader32 (0.43 sec)

  1. src/debug/pe/section.go

    // license that can be found in the LICENSE file.
    
    package pe
    
    import (
    	"encoding/binary"
    	"fmt"
    	"internal/saferio"
    	"io"
    	"strconv"
    )
    
    // SectionHeader32 represents real PE COFF section header.
    type SectionHeader32 struct {
    	Name                 [8]uint8
    	VirtualSize          uint32
    	VirtualAddress       uint32
    	SizeOfRawData        uint32
    	PointerToRawData     uint32
    	PointerToRelocations uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/internal/xcoff/xcoff.go

    	F_FDPR_PROF = 0x0010
    	F_FDPR_OPTI = 0x0020
    	F_DSA       = 0x0040
    	F_VARPG     = 0x0100
    	F_DYNLOAD   = 0x1000
    	F_SHROBJ    = 0x2000
    	F_LOADONLY  = 0x4000
    )
    
    // Section Header.
    type SectionHeader32 struct {
    	Sname    [8]byte // Section name
    	Spaddr   uint32  // Physical address
    	Svaddr   uint32  // Virtual address
    	Ssize    uint32  // Section size
    	Sscnptr  uint32  // Offset in file to raw data for section
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/debug/buildinfo/buildinfo_test.go

    	binary.Write(&buf, binary.LittleEndian, int32(0x3c+4))
    
    	buf.Write([]byte{'P', 'E', 0, 0})
    
    	binary.Write(&buf, binary.LittleEndian, pe.FileHeader{NumberOfSections: 1})
    
    	sh := pe.SectionHeader32{
    		Name:             [8]uint8{'t', 0},
    		SizeOfRawData:    uint32(paddingSize + len(buildInfoMagic)),
    		PointerToRawData: uint32(buf.Len()),
    	}
    	sh.PointerToRawData = uint32(buf.Len() + binary.Size(sh))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. src/debug/pe/file.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Process sections.
    	f.Sections = make([]*Section, f.FileHeader.NumberOfSections)
    	for i := 0; i < int(f.FileHeader.NumberOfSections); i++ {
    		sh := new(SectionHeader32)
    		if err := binary.Read(sr, binary.LittleEndian, sh); err != nil {
    			return nil, err
    		}
    		name, err := sh.fullName(f.StringTable)
    		if err != nil {
    			return nil, err
    		}
    		s := new(Section)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. src/internal/xcoff/file.go

    	}
    	f.Sections = make([]*Section, 0, c)
    	for i := 0; i < int(nscns); i++ {
    		var scnptr uint64
    		s := new(Section)
    		switch f.TargetMachine {
    		case U802TOCMAGIC:
    			shdr := new(SectionHeader32)
    			if err := binary.Read(sr, binary.BigEndian, shdr); err != nil {
    				return nil, err
    			}
    			s.Name = cstring(shdr.Sname[:])
    			s.VirtualAddress = uint64(shdr.Svaddr)
    			s.Size = uint64(shdr.Ssize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/pe.go

    	out.WriteStringN("", int(sect.sizeOfRawData-n))
    }
    
    // write writes COFF section sect into the output file.
    func (sect *peSection) write(out *OutBuf, linkmode LinkMode) error {
    	h := pe.SectionHeader32{
    		VirtualSize:          sect.virtualSize,
    		SizeOfRawData:        sect.sizeOfRawData,
    		PointerToRawData:     sect.pointerToRawData,
    		PointerToRelocations: sect.pointerToRelocations,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SectionHeader.VirtualSize", Field, 0},
    		{"SectionHeader32", Type, 0},
    		{"SectionHeader32.Characteristics", Field, 0},
    		{"SectionHeader32.Name", Field, 0},
    		{"SectionHeader32.NumberOfLineNumbers", Field, 0},
    		{"SectionHeader32.NumberOfRelocations", Field, 0},
    		{"SectionHeader32.PointerToLineNumbers", Field, 0},
    		{"SectionHeader32.PointerToRawData", Field, 0},
    		{"SectionHeader32.PointerToRelocations", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg debug/pe, type SectionHeader32 struct
    pkg debug/pe, type SectionHeader32 struct, Characteristics uint32
    pkg debug/pe, type SectionHeader32 struct, Name [8]uint8
    pkg debug/pe, type SectionHeader32 struct, NumberOfLineNumbers uint16
    pkg debug/pe, type SectionHeader32 struct, NumberOfRelocations uint16
    pkg debug/pe, type SectionHeader32 struct, PointerToLineNumbers 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)
Back to top