Skip to content

Commit 86fe0ce

Browse files
authored
Merge pull request #107 from rdmarsh2/rdmarsh/cpp/HashCons
C++: HashCons library
2 parents 782e91b + 1a14b13 commit 86fe0ce

File tree

8 files changed

+1601
-0
lines changed

8 files changed

+1601
-0
lines changed

change-notes/1.19/analysis-cpp.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Improvements to C/C++ analysis
2+
3+
## General improvements
4+
5+
## New queries
6+
7+
| **Query** | **Tags** | **Purpose** |
8+
|-----------------------------|-----------|--------------------------------------------------------------------|
9+
| *@name of query (Query ID)* | *Tags* |*Aim of the new query and whether it is enabled by default or not* |
10+
11+
## Changes to existing queries
12+
13+
| **Query** | **Expected impact** | **Change** |
14+
|----------------------------|------------------------|------------------------------------------------------------------|
15+
| *@name of query (Query ID)*| *Impact on results* | *How/why the query has changed* |
16+
17+
18+
## Changes to QL libraries
19+
20+
* Added a hash consing library for structural comparison of expressions.

cpp/ql/src/filters/ImportAdditionalLibraries.ql

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import semmle.code.cpp.dataflow.DataFlow2
1414
import semmle.code.cpp.dataflow.DataFlow3
1515
import semmle.code.cpp.dataflow.DataFlow4
1616
import semmle.code.cpp.dataflow.TaintTracking
17+
import semmle.code.cpp.valuenumbering.HashCons
1718

1819
from File f, string tag
1920
where none()

0 commit comments

Comments
 (0)