We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce183b5 commit 2e7c396Copy full SHA for 2e7c396
test/Sanitizers/asan/recover.swift
@@ -52,7 +52,7 @@ func foo(_ rawptr:UnsafeMutablePointer<UInt8>) {
52
// test this because there's no undefined behavior happening. Hopefully this
53
// means that the program behaviour after ASan catches an issue should be
54
// consistent. If we did something different like two use-after-free issues the
55
-// behaviour could be very unpredicatable resulting in a flakey test.
+// behaviour could be very unpredictable resulting in a flakey test.
56
var x = UnsafeMutablePointer<UInt8>.allocate(capacity: size)
57
x.initialize(repeating: 0, count: size)
58
__asan_poison_memory_region(UnsafeMutableRawPointer(x), size)
0 commit comments