Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for poisonStack (0.13 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/msan6.go

    //
    //go:noinline
    func F2() interface{} {
    	return C.S{}
    }
    
    func poisonStack(i int) int {
    	if i == 0 {
    		return int(F1())
    	}
    	F1()
    	r := poisonStack(i - 1)
    	F2()
    	return r
    }
    
    func main() {
    	allocateStack(16384)
    	poisonStack(128)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/runtime/traceback_test.go

    		},
    
    		// Register argument liveness.
    		// 1, 3 are used and live, 2, 4 are dead (in register ABI).
    		// Address-taken (7) and stack ({5, 6}) args are always live.
    		{
    			func() int {
    				poisonStack() // poison arg area to make output deterministic
    				return testTracebackArgs9(1, 2, 3, 4, [2]int{5, 6}, 7)
    			},
    			abiSel(
    				"testTracebackArgs9(0x1, 0xffffffff?, 0x3, 0xff?, {0x5, 0x6}, 0x7)",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
Back to top