Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for haslr (0.27 sec)

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

    	fsu.SetType(sym.SDWARFSECT)
    	isdw64 := isDwarf64(d.linkctxt)
    	haslr := d.linkctxt.Arch.HasLR
    
    	// Length field is 4 bytes on Dwarf32 and 12 bytes on Dwarf64
    	lengthFieldSize := int64(4)
    	if isdw64 {
    		lengthFieldSize += 8
    	}
    
    	// Emit the CIE, Section 6.4.1
    	cieReserve := uint32(16)
    	if haslr {
    		cieReserve = 32
    	}
    	if isdw64 {
    		cieReserve += 4 // 4 bytes added for cid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    	out.Write(ELF_NOTE_NETBSD_NAME)
    	out.Write8(0)
    	out.Write32(ELF_NOTE_NETBSD_VERSION)
    
    	return int(sh.Size)
    }
    
    // The race detector can't handle ASLR (address space layout randomization).
    // ASLR is on by default for NetBSD, so we turn the ASLR off explicitly
    // using a magic elf Note when building race binaries.
    
    func elfnetbsdpax(sh *ElfShdr, startva uint64, resoff uint64) int {
    	n := int(Rnd(4, 4) + Rnd(4, 4))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/lib.go

    		}
    	}
    
    	// Enable/disable ASLR on Windows.
    	addASLRargs := func(argv []string, val bool) []string {
    		// Old/ancient versions of GCC support "--dynamicbase" and
    		// "--high-entropy-va" but don't enable it by default. In
    		// addition, they don't accept "--disable-dynamicbase" or
    		// "--no-dynamicbase", so the only way to disable ASLR is to
    		// not pass any flags at all.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top