Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for checkptrAlignment (0.27 sec)

  1. src/cmd/compile/internal/ir/symtab.go

    	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
    	DeferprocStack    *obj.LSym
    	Deferreturn       *obj.LSym
    	Duffcopy          *obj.LSym
    	Duffzero          *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)
  2. src/runtime/testdata/testprog/checkptr.go

    }
    
    func CheckPtrAlignmentPtr() {
    	var x [2]int64
    	p := unsafe.Pointer(&x[0])
    	sink2 = (**int64)(unsafe.Pointer(uintptr(p) + 1))
    }
    
    // CheckPtrAlignmentNilPtr tests that checkptrAlignment doesn't crash
    // on nil pointers (#47430).
    func CheckPtrAlignmentNilPtr() {
    	var do func(int)
    	do = func(n int) {
    		// Inflate the stack so runtime.shrinkstack gets called during GC
    		if n > 0 {
    			do(n - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/checkptr.go

    // Copyright 2019 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.
    
    package runtime
    
    import "unsafe"
    
    func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
    	// nil pointer is always suitably aligned (#47430).
    	if p == nil {
    		return
    	}
    
    	// Check that (*[n]elem)(p) is appropriately aligned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/builtinlist.go

    	{"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},
    	{"runtime.libfuzzerTraceCmp2", 1},
    	{"runtime.libfuzzerTraceCmp4", 1},
    	{"runtime.libfuzzerTraceCmp8", 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)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    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)
    func checkptrArithmetic(unsafe.Pointer, []unsafe.Pointer)
    
    func libfuzzerTraceCmp1(uint8, uint8, uint)
    func libfuzzerTraceCmp2(uint16, uint16, uint)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/builtin.go

    	{"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},
    	{"libfuzzerTraceCmp2", funcTag, 150},
    	{"libfuzzerTraceCmp4", funcTag, 151},
    	{"libfuzzerTraceCmp8", funcTag, 152},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    	ir.Syms.CgoCheckMemmove = typecheck.LookupRuntimeFunc("cgoCheckMemmove")
    	ir.Syms.CgoCheckPtrWrite = typecheck.LookupRuntimeFunc("cgoCheckPtrWrite")
    	ir.Syms.CheckPtrAlignment = typecheck.LookupRuntimeFunc("checkptrAlignment")
    	ir.Syms.Deferproc = typecheck.LookupRuntimeFunc("deferproc")
    	ir.Syms.Deferprocat = typecheck.LookupRuntimeFunc("deferprocat")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top