Skip to content

Commit 9532ee5

Browse files
committed
C++: Add more detail to change notes for libraries
1 parent b793807 commit 9532ee5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

change-notes/1.19/analysis-cpp.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
## Changes to QL libraries
4545

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

Comments
 (0)