Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for VirtualAddress (0.19 sec)

  1. src/debug/pe/file.go

    	for _, s := range f.Sections {
    		if s.Offset == 0 {
    			continue
    		}
    		// We are using distance between s.VirtualAddress and idd.VirtualAddress
    		// to avoid potential overflow of uint32 caused by addition of s.VirtualSize
    		// to s.VirtualAddress.
    		if s.VirtualAddress <= idd.VirtualAddress && idd.VirtualAddress-s.VirtualAddress < s.VirtualSize {
    			ds = s
    			break
    		}
    	}
    
    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/section.go

    	"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
    	PointerToLineNumbers uint32
    	NumberOfRelocations  uint16
    	NumberOfLineNumbers  uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pe.go

    // and file offset provided in segment seg.
    func (sect *peSection) checkSegment(seg *sym.Segment) {
    	if seg.Vaddr-uint64(PEBASE) != uint64(sect.virtualAddress) {
    		Errorf(nil, "%s.VirtualAddress = %#x, want %#x", sect.name, uint64(int64(sect.virtualAddress)), uint64(int64(seg.Vaddr-uint64(PEBASE))))
    		errorexit()
    	}
    	if seg.Fileoff != uint64(sect.pointerToRawData) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/xcoff.go

    				return nil, fmt.Errorf("invalid section number in symbol table")
    			}
    			sect := f.xcoff.Sections[s.SectionNumber-1]
    
    			// debug/xcoff returns an offset in the section not the actual address
    			sym.Addr += sect.VirtualAddress
    
    			if s.AuxCSect.SymbolType&0x3 == xcoff.XTY_LD {
    				// The size of a function is contained in the
    				// AUX_FCN entry
    				sym.Size = s.AuxFcn.Size
    			} else {
    				sym.Size = s.AuxCSect.Length
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 11 18:19:08 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. src/debug/buildinfo/buildinfo.go

    	addr -= x.imageBase()
    	for _, sect := range x.f.Sections {
    		if uint64(sect.VirtualAddress) <= addr && addr <= uint64(sect.VirtualAddress+sect.Size-1) {
    			n := uint64(sect.VirtualAddress+sect.Size) - addr
    			if n > size {
    				n = size
    			}
    			return saferio.ReadDataAt(sect, n, int64(addr-uint64(sect.VirtualAddress)))
    		}
    	}
    	return nil, errUnrecognizedFormat
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/internal/xcoff/file.go

    	"errors"
    	"fmt"
    	"internal/saferio"
    	"io"
    	"os"
    	"strings"
    )
    
    // SectionHeader holds information about an XCOFF section header.
    type SectionHeader struct {
    	Name           string
    	VirtualAddress uint64
    	Size           uint64
    	Type           uint32
    	Relptr         uint64
    	Nreloc         uint32
    }
    
    type Section struct {
    	SectionHeader
    	Relocs []Reloc
    	io.ReaderAt
    	sr *io.SectionReader
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadxcoff/ldxcoff.go

    		for _, rx := range sect.Relocs {
    			rSym := l.LookupOrCreateCgoExport(rx.Symbol.Name, 0)
    			if uint64(int32(rx.VirtualAddress)) != rx.VirtualAddress {
    				return errorf("virtual address of a relocation is too big: 0x%x", rx.VirtualAddress)
    			}
    			rOff := int32(rx.VirtualAddress)
    			var rSize uint8
    			var rType objabi.RelocType
    			var rAdd int64
    			switch rx.Type {
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/internal/objfile/pe.go

    			case ch&data != 0:
    				if ch&permW == 0 {
    					sym.Code = 'R'
    				} else {
    					sym.Code = 'D'
    				}
    			case ch&bss != 0:
    				sym.Code = 'B'
    			}
    			sym.Addr += imageBase + uint64(sect.VirtualAddress)
    		}
    		syms = append(syms, sym)
    		addrs = append(addrs, sym.Addr)
    	}
    
    	sort.Sort(uint64s(addrs))
    	for i := range syms {
    		j := sort.Search(len(addrs), func(x int) bool { return addrs[x] > syms[i].Addr })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:56:30 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. src/debug/pe/pe.go

    	NumberOfSections     uint16
    	TimeDateStamp        uint32
    	PointerToSymbolTable uint32
    	NumberOfSymbols      uint32
    	SizeOfOptionalHeader uint16
    	Characteristics      uint16
    }
    
    type DataDirectory struct {
    	VirtualAddress uint32
    	Size           uint32
    }
    
    type OptionalHeader32 struct {
    	Magic                       uint16
    	MajorLinkerVersion          uint8
    	MinorLinkerVersion          uint8
    	SizeOfCode                  uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 01:21:43 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  10. api/go1.8.txt

    pkg debug/pe, type File struct, StringTable StringTable
    pkg debug/pe, type Reloc struct
    pkg debug/pe, type Reloc struct, SymbolTableIndex uint32
    pkg debug/pe, type Reloc struct, Type uint16
    pkg debug/pe, type Reloc struct, VirtualAddress uint32
    pkg debug/pe, type Section struct, Relocs []Reloc
    pkg debug/pe, type StringTable []uint8
    pkg encoding/base64, method (Encoding) Strict() *Encoding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
Back to top