Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cgoTraceback (0.54 sec)

  1. src/runtime/security_unix.go

    	// environment variable values (currently we only force GOTRACEBACK=none)
    	//
    	// Other packages may also disable specific functionality when secure mode
    	// is enabled (determined by using linkname to call isSecureMode).
    
    	secureEnv()
    }
    
    func secureEnv() {
    	var hasTraceback bool
    	for i := 0; i < len(envs); i++ {
    		if stringslite.HasPrefix(envs[i], "GOTRACEBACK=") {
    			hasTraceback = true
    			envs[i] = "GOTRACEBACK=none"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 866 bytes
    - Viewed (0)
  2. src/runtime/traceback_system_test.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    // This test of GOTRACEBACK=system has its own file,
    // to minimize line-number perturbation.
    
    import (
    	"bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"os"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"runtime/debug"
    	"strconv"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/godebug_default.txt

    env GO111MODULE=on
    env GOTRACEBACK=single
    
    # Go 1.21 work module should leave panicnil with an implicit default.
    cp go.mod.21 go.mod
    go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}'
    ! stdout panicnil
    stdout randautoseed=0
    
    # Go 1.21 work module should NOT set panicnil=1 in Go 1.20 dependency.
    cp go.mod.21 go.mod
    go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}' q
    ! stdout panicnil=1
    ! stdout randautoseed
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/os3_plan9.go

    		return _NCONT
    	}
    Throw:
    	mp.throwing = throwTypeRuntime
    	mp.caughtsig.set(gp)
    	startpanic_m()
    	print(notestr, "\n")
    	print("PC=", hex(c.pc()), "\n")
    	print("\n")
    	level, _, docrash = gotraceback()
    	if level > 0 {
    		goroutineheader(gp)
    		tracebacktrap(c.pc(), c.sp(), c.lr(), gp)
    		tracebackothers(gp)
    		print("\n")
    		dumpregs(_ureg)
    	}
    	if docrash {
    		crash()
    	}
    Exit:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top