Skip to content

Commit 4e4917a

Browse files
authoredJun 15, 2022
docs: add uninit mem to UB list (rust-lang#1283)
1 parent b6ed5c5 commit 4e4917a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎docs/src/undefined-behaviour.md

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ A non-exhaustive list of these, based on the non-exhaustive list from the [Rust
3838
* Kani provides a [mechanism](./tutorial-nondeterministic-variables.md#safe-nondeterministic-variables-for-custom-types) `is_valid()` which users can use to check validity of objects, but it does not currently apply to all types.
3939
* Incorrect use of inline assembly.
4040
* Kani does not support inline assembly.
41+
* Using uninitialized memory.
42+
* See the corresponding section in our [Rust feature support](./rust-feature-support.md#uninitialized-memory).
4143

4244
Kani makes a best-effort attempt to detect some cases of UB:
4345
* Evaluating a dereference expression (`*expr`) on a raw pointer that is dangling or unaligned.

0 commit comments

Comments
 (0)
Please sign in to comment.