- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for checkptrArithmetic (0.32 sec)
-
src/runtime/testdata/testprog/checkptr.go
register("CheckPtrAlignmentNoPtr", CheckPtrAlignmentNoPtr) register("CheckPtrAlignmentPtr", CheckPtrAlignmentPtr) register("CheckPtrAlignmentNilPtr", CheckPtrAlignmentNilPtr) register("CheckPtrArithmetic", CheckPtrArithmetic) register("CheckPtrArithmetic2", CheckPtrArithmetic2) register("CheckPtrSize", CheckPtrSize) register("CheckPtrSmall", CheckPtrSmall) register("CheckPtrSliceOK", CheckPtrSliceOK) register("CheckPtrSliceFail", CheckPtrSliceFail)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 17:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
src/runtime/checkptr_test.go
}{ {"CheckPtrAlignmentPtr", "fatal error: checkptr: misaligned pointer conversion\n"}, {"CheckPtrAlignmentNoPtr", ""}, {"CheckPtrAlignmentNilPtr", ""}, {"CheckPtrArithmetic", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"}, {"CheckPtrArithmetic2", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 17:15:15 UTC 2022 - 2.9K bytes - Viewed (0) -
src/runtime/checkptr.go
end := add(ptr, size-1) // TODO(mdempsky): Detect when [ptr, end] contains Go allocations, // but neither ptr nor end point into one themselves. return checkptrBase(ptr) != checkptrBase(end) } func checkptrArithmetic(p unsafe.Pointer, originals []unsafe.Pointer) { if 0 < uintptr(p) && uintptr(p) < minLegalPointer { throw("checkptr: pointer arithmetic computed bad pointer value") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/internal/goobj/builtinlist.go
{"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}, {"runtime.libfuzzerTraceConstCmp1", 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) -
src/cmd/compile/internal/walk/convert.go
slice.SetEsc(ir.EscNone) init.Append(mkcall("checkptrArithmetic", nil, init, typecheck.ConvNop(cheap, types.Types[types.TUNSAFEPTR]), slice)) // TODO(khr): Mark backing store of slice as dead. This will allow us to reuse // the backing store for multiple calls to checkptrArithmetic. return cheap } // walkSliceToArray walks an OSLICE2ARR expression.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
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) func libfuzzerTraceCmp4(uint32, uint32, 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) -
src/cmd/compile/internal/typecheck/builtin.go
{"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)