Skip to content

Commit 6f03c3e

Browse files
committed
C++: Accept command injection test changes
Making the DefaultTaintTracking configurations inactive removed many unneeded nodes and edges from the PathGraph predicates.
1 parent 8faeab1 commit 6f03c3e

File tree

2 files changed

+0
-298
lines changed

2 files changed

+0
-298
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-078/SAMATE/ExecTainted/ExecTainted.expected

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,16 @@
11
edges
2-
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:33:34:33:39 | Store |
3-
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:35:17:35:27 | environment |
4-
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:38:39:38:49 | (const char *)... |
5-
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:38:39:38:49 | environment |
62
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:38:39:38:49 | environment indirection |
7-
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:38:39:38:49 | environment indirection |
8-
| tests.cpp:33:34:33:39 | call to getenv | tests.cpp:42:5:42:16 | Phi |
93
| tests.cpp:38:25:38:36 | strncat output argument | tests.cpp:42:5:42:16 | Phi |
104
| tests.cpp:38:39:38:49 | environment indirection | tests.cpp:38:25:38:36 | strncat output argument |
115
| tests.cpp:38:39:38:49 | environment indirection | tests.cpp:38:25:38:36 | strncat output argument |
12-
| tests.cpp:38:39:38:49 | environment indirection | tests.cpp:38:25:38:36 | strncat output argument |
13-
| tests.cpp:38:39:38:49 | environment indirection | tests.cpp:38:25:38:36 | strncat output argument |
146
| tests.cpp:42:5:42:16 | Phi | tests.cpp:51:22:51:25 | badSource output argument |
15-
| tests.cpp:42:5:42:16 | Phi | tests.cpp:51:22:51:25 | badSource output argument |
16-
| tests.cpp:51:22:51:25 | badSource output argument | tests.cpp:53:16:53:19 | (const char *)... |
17-
| tests.cpp:51:22:51:25 | badSource output argument | tests.cpp:53:16:53:19 | data indirection |
187
| tests.cpp:51:22:51:25 | badSource output argument | tests.cpp:53:16:53:19 | data indirection |
198
nodes
20-
| tests.cpp:33:34:33:39 | Store | semmle.label | Store |
21-
| tests.cpp:33:34:33:39 | call to getenv | semmle.label | call to getenv |
229
| tests.cpp:33:34:33:39 | call to getenv | semmle.label | call to getenv |
23-
| tests.cpp:33:34:33:39 | call to getenv | semmle.label | call to getenv |
24-
| tests.cpp:35:17:35:27 | environment | semmle.label | environment |
2510
| tests.cpp:38:25:38:36 | strncat output argument | semmle.label | strncat output argument |
26-
| tests.cpp:38:39:38:49 | (const char *)... | semmle.label | (const char *)... |
27-
| tests.cpp:38:39:38:49 | environment | semmle.label | environment |
28-
| tests.cpp:38:39:38:49 | environment indirection | semmle.label | environment indirection |
2911
| tests.cpp:38:39:38:49 | environment indirection | semmle.label | environment indirection |
3012
| tests.cpp:42:5:42:16 | Phi | semmle.label | Phi |
31-
| tests.cpp:42:5:42:16 | Phi | semmle.label | Phi |
3213
| tests.cpp:51:22:51:25 | badSource output argument | semmle.label | badSource output argument |
33-
| tests.cpp:51:22:51:25 | badSource output argument | semmle.label | badSource output argument |
34-
| tests.cpp:53:16:53:19 | (const char *)... | semmle.label | (const char *)... |
35-
| tests.cpp:53:16:53:19 | data indirection | semmle.label | data indirection |
3614
| tests.cpp:53:16:53:19 | data indirection | semmle.label | data indirection |
3715
subpaths
3816
#select

0 commit comments

Comments
 (0)