- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for asan (0.26 sec)
-
src/internal/asan/asan.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // 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) -
src/runtime/asan/asan.go
// https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_init_version.h // This structure describes an instrumented global variable. // // TODO: If a later version of the ASan library changes __asan_global or __asan_global_source_location // structure, we need to make the same changes. struct _asan_global { uintptr_t beg; uintptr_t size;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 00:22:11 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/asan.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build asan package runtime import ( "unsafe" ) // Public address sanitizer API. func ASanRead(addr unsafe.Pointer, len int) { sp := getcallersp() pc := getcallerpc() doasanread(addr, uintptr(len), sp, pc) } func ASanWrite(addr unsafe.Pointer, len int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 20:39:58 UTC 2024 - 1.6K bytes - Viewed (0) -
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) -
src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt
[!GOOS:darwin] [race] ! stderr '-msan' [msan] ! go install -msan triv.go [msan] stderr '-msan requires cgo' [msan] ! stderr '-race' [asan] ! go install -asan triv.go [asan] stderr '(-asan: the version of $(go env CC) could not be parsed)|(-asan: C compiler is not gcc or clang)|(-asan is not supported with [A-Za-z]+ compiler (\d+)\.(\d+))|(-asan requires cgo)' [asan] ! stderr '-msan' -- triv.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 21:38:55 UTC 2022 - 626 bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/asan_test.go
if err != nil { t.Fatal(err) } // The asan tests require support for the -asan option. if !platform.ASanSupported(goos, goarch) { t.Skipf("skipping on %s/%s; -asan option is not supported.", goos, goarch) } // The current implementation is only compatible with the ASan library from version // v7 to v9 (See the description in src/runtime/asan/asan.go). Therefore, using the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.3K bytes - Viewed (0) -
src/internal/asan/doc.go
// license that can be found in the LICENSE file. // Package asan contains helper functions for manually instrumenting // code for the address sanitizer. // The runtime package intentionally exports these functions only in the // asan build; this package exports them unconditionally but without the // "asan" build tag they are no-ops.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 20:39:58 UTC 2024 - 460 bytes - Viewed (0) -
src/cmd/go/internal/work/init.go
fmt.Fprintf(os.Stderr, "-asan is not supported on %s/%s\n", cfg.Goos, cfg.Goarch) base.SetExitStatus(2) base.Exit() } // The current implementation is only compatible with the ASan library from version // v7 to v9 (See the description in src/runtime/asan/asan.go). Therefore, using the // -asan option must use a compatible version of ASan library, which requires that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 19:13:34 UTC 2023 - 12.2K bytes - Viewed (0) -
src/internal/asan/noasan.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 16:19:26 UTC 2024 - 333 bytes - Viewed (0) -
src/syscall/syscall_unix.go
if n > 0 { race.WriteRange(unsafe.Pointer(&p[0]), n) } if err == nil { race.Acquire(unsafe.Pointer(&ioSync)) } } if msan.Enabled && n > 0 { msan.Write(unsafe.Pointer(&p[0]), uintptr(n)) } if asan.Enabled && n > 0 { asan.Write(unsafe.Pointer(&p[0]), uintptr(n)) } return } func Write(fd int, p []byte) (n int, err error) { if race.Enabled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 16:19:26 UTC 2024 - 12.2K bytes - Viewed (0)