Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for msanmalloc (0.13 sec)

  1. src/runtime/msan.go

    }
    
    //go:noescape
    func domsanread(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname msanwrite
    //go:noescape
    func msanwrite(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname msanmalloc
    //go:noescape
    func msanmalloc(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname msanfree
    //go:noescape
    func msanfree(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname msanmove
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/msan0.go

    // Because msanenabled is false, none of these functions should be called.
    
    func msanread(addr unsafe.Pointer, sz uintptr)     { throw("msan") }
    func msanwrite(addr unsafe.Pointer, sz uintptr)    { throw("msan") }
    func msanmalloc(addr unsafe.Pointer, sz uintptr)   { throw("msan") }
    func msanfree(addr unsafe.Pointer, sz uintptr)     { throw("msan") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 725 bytes
    - Viewed (0)
  3. src/internal/msan/msan.go

    const Enabled = true
    
    //go:linkname Read runtime.msanread
    func Read(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Write runtime.msanwrite
    func Write(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Malloc runtime.msanmalloc
    func Malloc(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Free runtime.msanfree
    func Free(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Move runtime.msanmove
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 647 bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/arena.go

    	}
    
    	if raceenabled {
    		// TODO(mknyszek): Track individual objects.
    		racemalloc(unsafe.Pointer(span.base()), span.elemsize)
    	}
    
    	if msanenabled {
    		// TODO(mknyszek): Track individual objects.
    		msanmalloc(unsafe.Pointer(span.base()), span.elemsize)
    	}
    
    	if asanenabled {
    		// TODO(mknyszek): Track individual objects.
    		rzSize := computeRZlog(span.elemsize)
    		span.elemsize -= rzSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/proc.go

    		})
    		gp.stackguard0 = gp.stack.lo + stackGuard
    	} else {
    		if raceenabled {
    			racemalloc(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
    		}
    		if msanenabled {
    			msanmalloc(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
    		}
    		if asanenabled {
    			asanunpoison(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
    		}
    	}
    	return gp
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top