Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readRelocs (0.16 sec)

  1. src/debug/pe/section.go

    // Reloc represents a PE COFF relocation.
    // Each section contains its own relocation list.
    type Reloc struct {
    	VirtualAddress   uint32
    	SymbolTableIndex uint32
    	Type             uint16
    }
    
    func readRelocs(sh *SectionHeader, r io.ReadSeeker) ([]Reloc, error) {
    	if sh.NumberOfRelocations <= 0 {
    		return nil, nil
    	}
    	_, err := r.Seek(int64(sh.PointerToRelocations), io.SeekStart)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top