Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19e7c37

Browse files
committed
C++: Update the final test changes. Nothing exciting here.
1 parent d69de0c commit 19e7c37

3 files changed

Lines changed: 861 additions & 11 deletions

File tree

cpp/ql/test/library-tests/dataflow/external-models/flow.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ edges
1111
| asio_streams.cpp:100:44:100:62 | call to buffer | asio_streams.cpp:103:29:103:39 | *send_buffer | provenance | Sink:MaD:6 |
1212
| asio_streams.cpp:100:64:100:71 | *send_str | asio_streams.cpp:56:18:56:23 | [summary param] *0 in buffer | provenance | |
1313
| asio_streams.cpp:100:64:100:71 | *send_str | asio_streams.cpp:100:44:100:62 | call to buffer | provenance | MaD:10 |
14-
| test.cpp:4:5:4:11 | [summary param] 0 in ymlStep | test.cpp:4:5:4:11 | [summary] to write: ReturnValue in ymlStep | provenance | MaD:819 |
15-
| test.cpp:7:10:7:18 | call to ymlSource | test.cpp:7:10:7:18 | call to ymlSource | provenance | Src:MaD:817 |
16-
| test.cpp:7:10:7:18 | call to ymlSource | test.cpp:11:10:11:10 | x | provenance | Sink:MaD:818 |
14+
| test.cpp:4:5:4:11 | [summary param] 0 in ymlStep | test.cpp:4:5:4:11 | [summary] to write: ReturnValue in ymlStep | provenance | MaD:809 |
15+
| test.cpp:7:10:7:18 | call to ymlSource | test.cpp:7:10:7:18 | call to ymlSource | provenance | Src:MaD:807 |
16+
| test.cpp:7:10:7:18 | call to ymlSource | test.cpp:11:10:11:10 | x | provenance | Sink:MaD:808 |
1717
| test.cpp:7:10:7:18 | call to ymlSource | test.cpp:13:18:13:18 | x | provenance | |
1818
| test.cpp:13:10:13:16 | call to ymlStep | test.cpp:13:10:13:16 | call to ymlStep | provenance | |
19-
| test.cpp:13:10:13:16 | call to ymlStep | test.cpp:15:10:15:10 | y | provenance | Sink:MaD:818 |
19+
| test.cpp:13:10:13:16 | call to ymlStep | test.cpp:15:10:15:10 | y | provenance | Sink:MaD:808 |
2020
| test.cpp:13:18:13:18 | x | test.cpp:4:5:4:11 | [summary param] 0 in ymlStep | provenance | |
21-
| test.cpp:13:18:13:18 | x | test.cpp:13:10:13:16 | call to ymlStep | provenance | MaD:819 |
21+
| test.cpp:13:18:13:18 | x | test.cpp:13:10:13:16 | call to ymlStep | provenance | MaD:809 |
2222
nodes
2323
| asio_streams.cpp:56:18:56:23 | [summary param] *0 in buffer | semmle.label | [summary param] *0 in buffer |
2424
| asio_streams.cpp:56:18:56:23 | [summary] to write: ReturnValue in buffer | semmle.label | [summary] to write: ReturnValue in buffer |

cpp/ql/test/library-tests/dataflow/external-models/validatemodels.expected

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,25 @@
55
| Dubious member name "operator LPSTR" in summary model. |
66
| Dubious member name "operator LPWSTR" in summary model. |
77
| Dubious member name "operator PCXSTR" in summary model. |
8-
| Dubious member name "operator StringType&" in summary model. |
9-
| Dubious member name "operator T*" in summary model. |
10-
| Dubious member name "operator const StringType&" in summary model. |
118
| Dubious member name "operator&" in summary model. |
129
| Dubious member name "operator*" in summary model. |
1310
| Dubious member name "operator+=" in summary model. |
1411
| Dubious member name "operator->" in summary model. |
1512
| Dubious member name "operator=" in summary model. |
1613
| Dubious member name "operator[]" in summary model. |
14+
| Dubious signature "(CAtlFile &)" in summary model. |
1715
| Dubious signature "(CRegKey&)" in summary model. |
1816
| Dubious signature "(DWORD&,LPCTSTR)" in summary model. |
1917
| Dubious signature "(InputIterator,InputIterator,const Allocator &)" in summary model. |
18+
| Dubious signature "(LPCTSTR,DWORD *,void *,ULONG *)" in summary model. |
19+
| Dubious signature "(LPTSTR,LPCTSTR,DWORD *)" in summary model. |
2020
| Dubious signature "(const CComBSTR&)" in summary model. |
21+
| Dubious signature "(const CComSafeArray &)" in summary model. |
2122
| Dubious signature "(const CComSafeArray&)" in summary model. |
22-
| Dubious signature "(const SAFEARRAY&)" in summary model. |
23-
| Dubious signature "(const SAFEARRAY*)" in summary model. |
24-
| Dubious signature "(const SAFEARRAYBOUND*, UINT)" in summary model. |
23+
| Dubious signature "(const SAFEARRAY &)" in summary model. |
24+
| Dubious signature "(const SAFEARRAY *)" in summary model. |
25+
| Dubious signature "(const SAFEARRAYBOUND *,UINT)" in summary model. |
26+
| Dubious signature "(const T &,BOOL)" in summary model. |
2527
| Dubious signature "(const deque &)" in summary model. |
2628
| Dubious signature "(const deque &,const Allocator &)" in summary model. |
2729
| Dubious signature "(const forward_list &)" in summary model. |

0 commit comments

Comments
 (0)