We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff6f52c commit 788b6c9Copy full SHA for 788b6c9
docs/user-guide/assumptions.md
@@ -34,5 +34,20 @@ _NB! This list is likely incomplete._
34
35
See [PR #1511](https://github.com/goblint/analyzer/pull/1511).
36
37
+3. Memory allocated with `malloc` is initialized before reading.
38
+
39
+ [C11's N1570][n1570] at J.2 states that
40
41
+ > The behavior is undefined in the following circumstances:
42
+ >
43
+ > - [...]
44
+ > - The value of the object allocated by the `malloc` function is used (7.22.3.4).
45
46
+ after a long list of undefined behaviors.
47
48
+ Goblint does not report reading from uninitialized memory allocated by `malloc`.
49
50
+ This affects the `base` analysis.
51
52
53
[n1570]: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
0 commit comments