You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: change-notes/1.19/analysis-cpp.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@
43
43
44
44
## Changes to QL libraries
45
45
46
-
* Added a hash consing library for structural comparison of expressions.
47
-
*`getBufferSize` now detects variable size structs more reliably.
48
-
* Buffer.qll now treats arrays of zero size as a special case.
46
+
* Added a hash consing library (`semmle.code.cpp.valuenumbering.HashCons`) for structural comparison of expressions. Unlike the existing library for global value numbering, this library implements a pure syntactic comparison of expressions and will equate expressions even if they may not compute the same value.
47
+
* The `Buffer.qll` library has more conservative treatment of arrays embedded in structs. This reduces false positives in a number of security queries, especially `cpp/overflow-buffer`.
48
+
* Pre-C99 encodings of _flexible array members_ are recognized more reliably.
49
+
* Arrays of zero size are now treated as a special case.
0 commit comments