Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for msanenabled (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/internal/obj/x86/asm6.go

    			ctxt.Diag("unsupported broadcast: %v", p)
    		}
    		evexB = 1
    	case suffix.sae:
    		if rm != nil && rm.Type == obj.TYPE_MEM {
    			ctxt.Diag("illegal SAE with memory argument: %v", p)
    		} else if !evex.SaeEnabled() {
    			ctxt.Diag("unsupported SAE: %v", p)
    		}
    		evexB = 1
    	}
    	if rm != nil && regrex[rm.Index]&RxrEvex != 0 {
    		evexV = 0
    	} else if v != nil && regrex[v.Reg]&RxrEvex != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top