Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeOptionalHeader (0.24 sec)

  1. src/cmd/link/internal/ld/pe.go

    	}
    
    	fh.PointerToSymbolTable = uint32(f.symtabOffset)
    	fh.NumberOfSymbols = uint32(f.symbolCount)
    
    	binary.Write(ctxt.Out, binary.LittleEndian, &fh)
    }
    
    // writeOptionalHeader writes COFF optional header for peFile f.
    func (f *peFile) writeOptionalHeader(ctxt *Link) {
    	var oh pe.OptionalHeader32
    	var oh64 pe.OptionalHeader64
    
    	if pe64 != 0 {
    		oh64.Magic = 0x20b // PE32+
    	} else {
    		oh.Magic = 0x10b // PE32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
Back to top