- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for asanread (0.13 sec)
-
src/runtime/iface.go
func convT(t *_type, v unsafe.Pointer) unsafe.Pointer { if raceenabled { raceReadObjectPC(t, v, getcallerpc(), abi.FuncPCABIInternal(convT)) } if msanenabled { msanread(v, t.Size_) } if asanenabled { asanread(v, t.Size_) } x := mallocgc(t.Size_, t, true) typedmemmove(t, x, v) return x } func convTnoptr(t *_type, v unsafe.Pointer) unsafe.Pointer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
func racewrite(uintptr) func racereadrange(addr, size uintptr) func racewriterange(addr, size uintptr) // memory sanitizer func msanread(addr, size uintptr) func msanwrite(addr, size uintptr) func msanmove(dst, src, size uintptr) // address sanitizer func asanread(addr, size uintptr) func asanwrite(addr, size uintptr) func checkptrAlignment(unsafe.Pointer, *byte, uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"racefuncexit", funcTag, 9}, {"raceread", funcTag, 31}, {"racewrite", funcTag, 31}, {"racereadrange", funcTag, 144}, {"racewriterange", funcTag, 144}, {"msanread", funcTag, 144}, {"msanwrite", funcTag, 144}, {"msanmove", funcTag, 145}, {"asanread", funcTag, 144}, {"asanwrite", funcTag, 144}, {"checkptrAlignment", funcTag, 146}, {"checkptrArithmetic", funcTag, 148}, {"libfuzzerTraceCmp1", funcTag, 149},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/map.go
pc := abi.FuncPCABIInternal(mapaccess1) racereadpc(unsafe.Pointer(h), callerpc, pc) raceReadObjectPC(t.Key, key, callerpc, pc) } if msanenabled && h != nil { msanread(key, t.Key.Size_) } if asanenabled && h != nil { asanread(key, t.Key.Size_) } if h == nil || h.count == 0 { if err := mapKeyError(t, key); err != nil { panic(err) // see issue 23734 } return unsafe.Pointer(&zeroVal[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0) -
src/runtime/msan.go
// marked part of that stack as uninitialized. We don't instrument // the runtime, but operations like a slice copy can call msanread // anyhow for values on the stack. Just ignore msanread when running // on the system stack. The other msan functions are fine. // //go:linkname msanread //go:nosplit func msanread(addr unsafe.Pointer, sz uintptr) { gp := getg() if gp == nil || gp.m == nil || gp == gp.m.g0 || gp == gp.m.gsignal { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:50:21 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
ir.Syms.Memmove = typecheck.LookupRuntimeFunc("memmove") ir.Syms.Msanread = typecheck.LookupRuntimeFunc("msanread") ir.Syms.Msanwrite = typecheck.LookupRuntimeFunc("msanwrite") ir.Syms.Msanmove = typecheck.LookupRuntimeFunc("msanmove") ir.Syms.Asanread = typecheck.LookupRuntimeFunc("asanread") ir.Syms.Asanwrite = typecheck.LookupRuntimeFunc("asanwrite")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/runtime/msan0.go
package runtime import ( "unsafe" ) const msanenabled = false // 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") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 725 bytes - Viewed (0) -
src/internal/msan/msan.go
// license that can be found in the LICENSE file. //go:build msan package msan import ( "unsafe" ) 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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:50:21 UTC 2024 - 647 bytes - Viewed (0) -
src/runtime/msan_arm64.s
//go:build msan #include "go_asm.h" #include "textflag.h" #define RARG0 R0 #define RARG1 R1 #define RARG2 R2 #define FARG R3 // func runtimeĀ·domsanread(addr unsafe.Pointer, sz uintptr) // Called from msanread. TEXT runtimeĀ·domsanread(SB), NOSPLIT, $0-16 MOVD addr+0(FP), RARG0 MOVD sz+8(FP), RARG1 // void __msan_read_go(void *addr, uintptr_t sz); MOVD $__msan_read_go(SB), FARG JMP msancall<>(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 01:36:54 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan6.go
// the stack as uninitialized. // //go:noinline func F1() uintptr { s := C.f() return uintptr(s.a[0]) } // F2 allocates a struct on the stack and converts it to an empty interface, // which will call msanread and see that the data appears uninitialized. // //go:noinline func F2() interface{} { return C.S{} } func poisonStack(i int) int { if i == 0 { return int(F1()) } F1()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0)