Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for asanread (0.11 sec)

  1. src/runtime/asan.go

    // 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
    func asanread(addr unsafe.Pointer, sz uintptr) {
    	sp := getcallersp()
    	pc := getcallerpc()
    	doasanread(addr, sz, sp, pc)
    }
    
    //go:linkname asanwrite
    //go:nosplit
    func asanwrite(addr unsafe.Pointer, sz uintptr) {
    	sp := getcallersp()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/internal/asan/asan.go

    // license that can be found in the LICENSE file.
    
    //go:build asan
    
    package asan
    
    import (
    	"unsafe"
    )
    
    const Enabled = true
    
    //go:linkname Read runtime.asanread
    func Read(addr unsafe.Pointer, len uintptr)
    
    //go:linkname Write runtime.asanwrite
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 399 bytes
    - Viewed (0)
  3. src/runtime/asan0.go

    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") }
    func asanunpoison(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)
  4. src/cmd/compile/internal/ir/symtab.go

    )
    
    // Syms holds known symbols.
    var Syms symsStruct
    
    type symsStruct struct {
    	AssertE2I         *obj.LSym
    	AssertE2I2        *obj.LSym
    	AssertI2I         *obj.LSym
    	AssertI2I2        *obj.LSym
    	Asanread          *obj.LSym
    	Asanwrite         *obj.LSym
    	CgoCheckMemmove   *obj.LSym
    	CgoCheckPtrWrite  *obj.LSym
    	CheckPtrAlignment *obj.LSym
    	Deferproc         *obj.LSym
    	Deferprocat       *obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:26 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/runtime/string.go

    	}
    	if raceenabled {
    		racereadrangepc(unsafe.Pointer(ptr),
    			uintptr(n),
    			getcallerpc(),
    			abi.FuncPCABIInternal(slicebytetostring))
    	}
    	if msanenabled {
    		msanread(unsafe.Pointer(ptr), uintptr(n))
    	}
    	if asanenabled {
    		asanread(unsafe.Pointer(ptr), uintptr(n))
    	}
    	if n == 1 {
    		p := unsafe.Pointer(&staticuint64s[*ptr])
    		if goarch.BigEndian {
    			p = add(p, 7)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/runtime/slice.go

    		}
    	}
    
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(makeslicecopy)
    		racereadrangepc(from, copymem, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(from, copymem)
    	}
    	if asanenabled {
    		asanread(from, copymem)
    	}
    
    	memmove(to, from, copymem)
    
    	return to
    }
    
    // makeslice should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/runtime/select.go

    			raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
    		}
    	}
    	if msanenabled {
    		if casi < nsends {
    			msanread(cas.elem, c.elemtype.Size_)
    		} else if cas.elem != nil {
    			msanwrite(cas.elem, c.elemtype.Size_)
    		}
    	}
    	if asanenabled {
    		if casi < nsends {
    			asanread(cas.elem, c.elemtype.Size_)
    		} else if cas.elem != nil {
    			asanwrite(cas.elem, c.elemtype.Size_)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/runtime/cgo_sigaction.go

    			// fall back to making the syscall directly.
    			sysSigaction(sig, new, old)
    		}
    	}
    
    	if msanenabled && old != nil {
    		msanread(unsafe.Pointer(old), unsafe.Sizeof(*old))
    	}
    	if asanenabled && old != nil {
    		asanread(unsafe.Pointer(old), unsafe.Sizeof(*old))
    	}
    }
    
    // callCgoSigaction calls the sigaction function in the runtime/cgo package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.racefuncexit", 1},
    	{"runtime.raceread", 1},
    	{"runtime.racewrite", 1},
    	{"runtime.racereadrange", 1},
    	{"runtime.racewriterange", 1},
    	{"runtime.msanread", 1},
    	{"runtime.msanwrite", 1},
    	{"runtime.msanmove", 1},
    	{"runtime.asanread", 1},
    	{"runtime.asanwrite", 1},
    	{"runtime.checkptrAlignment", 1},
    	{"runtime.checkptrArithmetic", 1},
    	{"runtime.libfuzzerTraceCmp1", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    		raceReadObjectPC(typ, src, getcallerpc(), abi.FuncPCABIInternal(reflect_typedmemmove))
    	}
    	if msanenabled {
    		msanwrite(dst, typ.Size_)
    		msanread(src, typ.Size_)
    	}
    	if asanenabled {
    		asanwrite(dst, typ.Size_)
    		asanread(src, typ.Size_)
    	}
    	typedmemmove(typ, dst, src)
    }
    
    //go:linkname reflectlite_typedmemmove internal/reflectlite.typedmemmove
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top