Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for haslr (0.17 sec)

  1. src/cmd/internal/sys/arch.go

    	CanMergeLoads bool
    
    	// CanJumpTable reports whether the backend can handle
    	// compiling a jump table.
    	CanJumpTable bool
    
    	// HasLR indicates that this architecture uses a link register
    	// for calls.
    	HasLR bool
    
    	// FixedFrameSize is the smallest possible offset from the
    	// hardware stack pointer to a local variable on the stack.
    	// Architectures that use a link register save its value on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/link/internal/ld/stackcheck.go

    		height:    make(map[loader.Sym]int16, len(ctxt.Textp)),
    	}
    	// Compute stack effect of a CALL operation. 0 on LR machines.
    	// 1 register pushed on non-LR machines.
    	if !ctxt.Arch.HasLR {
    		sc.callSize = ctxt.Arch.RegSize
    	}
    
    	if graph {
    		// We're going to record the call graph.
    		sc.graph = make(map[loader.Sym][]stackCheckEdge)
    	}
    
    	return sc
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AbstractInstalledToolChainIntegrationSpec.groovy

            // Visual C++ compiler embeds a timestamp in every object file, and ASLR is non-deterministic
            toolChain.visualCpp || objectiveCWithAslr
        }
    
        // compiling Objective-C and Objective-Cpp with clang generates
        // random different object files (related to ASLR settings)
        // We saw this behaviour only on linux so far.
        // 2021-4-15: recent GCC also enable ASLR by default:
        // https://wiki.ubuntu.com/Security/Features
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/link/doc.go

    		a function call or refers to other variables.
    		Note that before Go 1.5 this option took two separate arguments.
    	-asan
    		Link with C/C++ address sanitizer support.
    	-aslr
    		Enable ASLR for buildmode=c-shared on windows (default true).
    	-bindnow
    		Mark a dynamically linked ELF object for immediate function binding (default false).
    	-buildid id
    		Record id as Go toolchain build id.
    	-buildmode mode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/ld_test.go

    	switch platform {
    	case "windows/amd64", "windows/386":
    	default:
    		t.Skip("skipping windows amd64/386 only test")
    	}
    
    	testenv.MustHaveCGO(t)
    
    	t.Run("aslr", func(t *testing.T) {
    		testWindowsBuildmodeCSharedASLR(t, true)
    	})
    	t.Run("no-aslr", func(t *testing.T) {
    		testWindowsBuildmodeCSharedASLR(t, false)
    	})
    }
    
    func testWindowsBuildmodeCSharedASLR(t *testing.T, useASLR bool) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_darwin_arm64.c

    		}
    	}
    }
    
    #endif // TARGET_OS_IPHONE
    
    void
    x_cgo_init(G *g, void (*setg)(void*))
    {
    	//fprintf(stderr, "x_cgo_init = %p\n", &x_cgo_init); // aid debugging in presence of ASLR
    	setg_gcc = setg;
    	_cgo_set_stacklo(g, NULL);
    
    #if TARGET_OS_IPHONE
    	darwin_arm_init_mach_exception_handler();
    	darwin_arm_init_thread_exception_port();
    	init_working_dir();
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 03:13:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/echotest/filters.go

    var NoSelfCalls CombinationFilter = func(from echo.Instance, to echo.Instances) echo.Instances {
    	return match.Not(match.ServiceName(from.NamespacedName())).GetMatches(to)
    }
    
    // HasL7 only allows traffic where there is some L7 processing occurring on the path
    var HasL7 CombinationFilter = func(from echo.Instance, to echo.Instances) echo.Instances {
    	if from.Config().HasSidecar() || from.Config().IsProxylessGRPC() {
    		// client has l7
    		return to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/runtime/unsafepoint_test.go

    			continue
    		}
    		pc, err := strconv.ParseUint(parts[1][2:], 16, 64)
    		if err != nil {
    			t.Fatalf("can't parse pc %s: %v", parts[1], err)
    		}
    		if entry == 0 {
    			entry = pc
    		}
    		// Note that some platforms do ASLR, so the PCs in the disassembly
    		// don't match PCs in the address space. Only offsets from function
    		// entry make sense.
    		unsafe := runtime.UnsafePoint(f.Entry() + uintptr(pc-entry))
    		t.Logf("unsafe: %v\n", unsafe)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 20:24:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/main.go

    	flagMsan          = flag.Bool("msan", false, "enable MSan interface")
    	flagAsan          = flag.Bool("asan", false, "enable ASan interface")
    	flagAslr          = flag.Bool("aslr", true, "enable ASLR for buildmode=c-shared on windows")
    
    	flagFieldTrack = flag.String("k", "", "set field tracking `symbol`")
    	flagLibGCC     = flag.String("libgcc", "", "compiler support lib for internal linking; use \"none\" to disable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top