Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for msanenabled (0.15 sec)

  1. src/runtime/mgcsweep.go

    				siter.next()
    			}
    		}
    	}
    	if hadSpecials && s.specials == nil {
    		spanHasNoSpecials(s)
    	}
    
    	if traceAllocFreeEnabled() || debug.clobberfree != 0 || raceenabled || msanenabled || asanenabled {
    		// Find all newly freed objects.
    		mbits := s.markBitsForBase()
    		abits := s.allocBitsForIndex(0)
    		for i := uintptr(0); i < uintptr(s.nelems); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    		if trace.ok() {
    			trace.GoroutineStackAlloc(uintptr(v), uintptr(n))
    			traceRelease(trace)
    		}
    	}
    	if raceenabled {
    		racemalloc(v, uintptr(n))
    	}
    	if msanenabled {
    		msanmalloc(v, uintptr(n))
    	}
    	if asanenabled {
    		asanunpoison(v, uintptr(n))
    	}
    	if stackDebug >= 1 {
    		print("  allocated ", v, "\n")
    	}
    	return stack{uintptr(v), uintptr(v) + uintptr(n)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    	if raceenabled {
    		racewriterangepc(unsafe.Pointer(&dst.Stack0[0]), unsafe.Sizeof(dst.Stack0), getcallerpc(), abi.FuncPCABIInternal(MemProfile))
    	}
    	if msanenabled {
    		msanwrite(unsafe.Pointer(&dst.Stack0[0]), unsafe.Sizeof(dst.Stack0))
    	}
    	if asanenabled {
    		asanwrite(unsafe.Pointer(&dst.Stack0[0]), unsafe.Sizeof(dst.Stack0))
    	}
    	i := copy(dst.Stack0[:], src.Stack)
    	clear(dst.Stack0[i:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/runtime/traceback.go

    		// We do not want to call into the scheduler when panicking
    		// or when on the system stack.
    		call = asmcgocall
    	}
    	if msanenabled {
    		msanwrite(unsafe.Pointer(arg), unsafe.Sizeof(cgoSymbolizerArg{}))
    	}
    	if asanenabled {
    		asanwrite(unsafe.Pointer(arg), unsafe.Sizeof(cgoSymbolizerArg{}))
    	}
    	call(cgoSymbolizer, noescape(unsafe.Pointer(arg)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    	// a race marking the bit.
    	if gcphase != _GCoff {
    		gcmarknewobject(span, uintptr(x))
    	}
    
    	if raceenabled {
    		racemalloc(x, size)
    	}
    
    	if msanenabled {
    		msanmalloc(x, size)
    	}
    
    	if asanenabled {
    		// We should only read/write the memory with the size asked by the user.
    		// The rest of the allocated memory should be poisoned, so that we can report
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. src/runtime/mheap.go

    				trace.SpanFree(s)
    				traceRelease(trace)
    			}
    		}
    
    		lock(&h.lock)
    		if msanenabled {
    			// Tell msan that this entire span is no longer in use.
    			base := unsafe.Pointer(s.base())
    			bytes := s.npages << _PageShift
    			msanfree(base, bytes)
    		}
    		if asanenabled {
    			// Tell asan that this entire span is no longer in use.
    			base := unsafe.Pointer(s.base())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  7. src/runtime/asan0.go

    // license that can be found in the LICENSE file.
    
    //go:build !asan
    
    // Dummy ASan support API, used when not built with -asan.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    const asanenabled = false
    
    // Because asanenabled is false, none of these functions should be called.
    
    func asanread(addr unsafe.Pointer, sz uintptr)            { throw("asan") }
    func asanwrite(addr unsafe.Pointer, sz uintptr)           { throw("asan") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 760 bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/scan/config/LegacyGradleEnterprisePluginCheckInServiceTest.groovy

        boolean scanEnabled
        boolean scanDisabled
    
        def "conveys configuration"() {
            when:
            scanEnabled = true
    
            then:
            with(config()) {
                enabled
                !disabled
                unsupportedMessage == null
            }
    
            when:
            scanEnabled = true
    
            then:
            with(config()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    			throw("_cgo_thread_start missing")
    		}
    		ts.g.set(mp.g0)
    		ts.tls = (*uint64)(unsafe.Pointer(&mp.tls[0]))
    		ts.fn = unsafe.Pointer(abi.FuncPCABI0(mstart))
    		if msanenabled {
    			msanwrite(unsafe.Pointer(&ts), unsafe.Sizeof(ts))
    		}
    		if asanenabled {
    			asanwrite(unsafe.Pointer(&ts), unsafe.Sizeof(ts))
    		}
    		execLock.rlock() // Prevent process clone.
    		asmcgocall(_cgo_thread_start, unsafe.Pointer(&ts))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. src/runtime/asan.go

    }
    
    func ASanWrite(addr unsafe.Pointer, len int) {
    	sp := getcallersp()
    	pc := getcallerpc()
    	doasanwrite(addr, uintptr(len), sp, pc)
    }
    
    // Private interface for the runtime.
    const asanenabled = true
    
    // asan{read,write} are nosplit because they may be called between
    // fork and exec, when the stack must not grow. See issue #50391.
    
    //go:linkname asanread
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top