Skip to content

Commit 9e97e04

Browse files
committed
C++: Accept test changes.
1 parent 102221d commit 9e97e04

File tree

2 files changed

+49
-25
lines changed

2 files changed

+49
-25
lines changed

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

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,23 @@ edges
332332
| windows.cpp:729:44:729:57 | WinHttpCrackUrl output argument | windows.cpp:731:10:731:36 | * ... | provenance | |
333333
| windows.cpp:729:44:729:57 | WinHttpCrackUrl output argument | windows.cpp:733:10:733:35 | * ... | provenance | |
334334
| windows.cpp:729:44:729:57 | WinHttpCrackUrl output argument | windows.cpp:735:10:735:37 | * ... | provenance | |
335-
| windows.cpp:873:64:873:77 | HttpReceiveHttpRequest output argument | windows.cpp:874:15:874:53 | *& ... | provenance | Src:MaD:7 |
336-
| windows.cpp:874:15:874:53 | *& ... | windows.cpp:876:10:876:11 | * ... | provenance | |
337-
| windows.cpp:881:70:881:75 | HttpReceiveRequestEntityBody output argument | windows.cpp:883:10:883:16 | * ... | provenance | Src:MaD:8 |
338-
| windows.cpp:888:70:888:78 | HttpReceiveClientCertificate output argument | windows.cpp:889:15:889:48 | *& ... | provenance | Src:MaD:6 |
339-
| windows.cpp:889:15:889:48 | *& ... | windows.cpp:891:10:891:11 | * ... | provenance | |
335+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:898:15:898:53 | *& ... | provenance | Src:MaD:7 |
336+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:902:10:902:31 | * ... | provenance | Src:MaD:7 |
337+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:904:10:904:42 | * ... | provenance | Src:MaD:7 |
338+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:906:10:906:57 | * ... | provenance | Src:MaD:7 |
339+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:908:10:908:60 | * ... | provenance | Src:MaD:7 |
340+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:909:54:909:63 | FileHandle | provenance | Src:MaD:7 |
341+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:911:10:911:70 | * ... | provenance | Src:MaD:7 |
342+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:913:10:913:72 | * ... | provenance | Src:MaD:7 |
343+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:915:10:915:64 | * ... | provenance | Src:MaD:7 |
344+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:917:10:917:51 | * ... | provenance | Src:MaD:7 |
345+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:919:10:919:52 | * ... | provenance | Src:MaD:7 |
346+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | windows.cpp:921:10:921:63 | * ... | provenance | Src:MaD:7 |
347+
| windows.cpp:898:15:898:53 | *& ... | windows.cpp:900:10:900:11 | * ... | provenance | |
348+
| windows.cpp:926:70:926:75 | HttpReceiveRequestEntityBody output argument | windows.cpp:928:10:928:16 | * ... | provenance | Src:MaD:8 |
349+
| windows.cpp:933:70:933:78 | HttpReceiveClientCertificate output argument | windows.cpp:934:15:934:48 | *& ... | provenance | Src:MaD:6 |
350+
| windows.cpp:933:70:933:78 | HttpReceiveClientCertificate output argument | windows.cpp:938:10:938:31 | * ... | provenance | Src:MaD:6 |
351+
| windows.cpp:934:15:934:48 | *& ... | windows.cpp:936:10:936:11 | * ... | provenance | |
340352
nodes
341353
| asio_streams.cpp:56:18:56:23 | [summary param] *0 in buffer | semmle.label | [summary param] *0 in buffer |
342354
| asio_streams.cpp:56:18:56:23 | [summary] to write: ReturnValue in buffer | semmle.label | [summary] to write: ReturnValue in buffer |
@@ -644,14 +656,26 @@ nodes
644656
| windows.cpp:731:10:731:36 | * ... | semmle.label | * ... |
645657
| windows.cpp:733:10:733:35 | * ... | semmle.label | * ... |
646658
| windows.cpp:735:10:735:37 | * ... | semmle.label | * ... |
647-
| windows.cpp:873:64:873:77 | HttpReceiveHttpRequest output argument | semmle.label | HttpReceiveHttpRequest output argument |
648-
| windows.cpp:874:15:874:53 | *& ... | semmle.label | *& ... |
649-
| windows.cpp:876:10:876:11 | * ... | semmle.label | * ... |
650-
| windows.cpp:881:70:881:75 | HttpReceiveRequestEntityBody output argument | semmle.label | HttpReceiveRequestEntityBody output argument |
651-
| windows.cpp:883:10:883:16 | * ... | semmle.label | * ... |
652-
| windows.cpp:888:70:888:78 | HttpReceiveClientCertificate output argument | semmle.label | HttpReceiveClientCertificate output argument |
653-
| windows.cpp:889:15:889:48 | *& ... | semmle.label | *& ... |
654-
| windows.cpp:891:10:891:11 | * ... | semmle.label | * ... |
659+
| windows.cpp:897:64:897:77 | HttpReceiveHttpRequest output argument | semmle.label | HttpReceiveHttpRequest output argument |
660+
| windows.cpp:898:15:898:53 | *& ... | semmle.label | *& ... |
661+
| windows.cpp:900:10:900:11 | * ... | semmle.label | * ... |
662+
| windows.cpp:902:10:902:31 | * ... | semmle.label | * ... |
663+
| windows.cpp:904:10:904:42 | * ... | semmle.label | * ... |
664+
| windows.cpp:906:10:906:57 | * ... | semmle.label | * ... |
665+
| windows.cpp:908:10:908:60 | * ... | semmle.label | * ... |
666+
| windows.cpp:909:54:909:63 | FileHandle | semmle.label | FileHandle |
667+
| windows.cpp:911:10:911:70 | * ... | semmle.label | * ... |
668+
| windows.cpp:913:10:913:72 | * ... | semmle.label | * ... |
669+
| windows.cpp:915:10:915:64 | * ... | semmle.label | * ... |
670+
| windows.cpp:917:10:917:51 | * ... | semmle.label | * ... |
671+
| windows.cpp:919:10:919:52 | * ... | semmle.label | * ... |
672+
| windows.cpp:921:10:921:63 | * ... | semmle.label | * ... |
673+
| windows.cpp:926:70:926:75 | HttpReceiveRequestEntityBody output argument | semmle.label | HttpReceiveRequestEntityBody output argument |
674+
| windows.cpp:928:10:928:16 | * ... | semmle.label | * ... |
675+
| windows.cpp:933:70:933:78 | HttpReceiveClientCertificate output argument | semmle.label | HttpReceiveClientCertificate output argument |
676+
| windows.cpp:934:15:934:48 | *& ... | semmle.label | *& ... |
677+
| windows.cpp:936:10:936:11 | * ... | semmle.label | * ... |
678+
| windows.cpp:938:10:938:31 | * ... | semmle.label | * ... |
655679
subpaths
656680
| asio_streams.cpp:100:64:100:71 | *send_str | asio_streams.cpp:56:18:56:23 | [summary param] *0 in buffer | asio_streams.cpp:56:18:56:23 | [summary] to write: ReturnValue in buffer | asio_streams.cpp:100:44:100:62 | call to buffer |
657681
| azure.cpp:257:5:257:8 | *resp | azure.cpp:113:16:113:19 | [summary param] this in Read | azure.cpp:113:16:113:19 | [summary param] *0 in Read [Return] | azure.cpp:257:16:257:21 | Read output argument |

cpp/ql/test/library-tests/dataflow/external-models/windows.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -899,26 +899,26 @@ void test_http_server_api(HANDLE hRequestQueue) {
899899
sink(p);
900900
sink(*p); // $ ir
901901
sink(requestBuffer.pRawUrl);
902-
sink(*requestBuffer.pRawUrl); // $ MISSING: ir
902+
sink(*requestBuffer.pRawUrl); // $ ir
903903
sink(requestBuffer.CookedUrl.pFullUrl);
904-
sink(*requestBuffer.CookedUrl.pFullUrl); // $ MISSING: ir
904+
sink(*requestBuffer.CookedUrl.pFullUrl); // $ ir
905905
sink(requestBuffer.Headers.KnownHeaders[0].pRawValue);
906-
sink(*requestBuffer.Headers.KnownHeaders[0].pRawValue); // $ MISSING: ir
906+
sink(*requestBuffer.Headers.KnownHeaders[0].pRawValue); // $ ir
907907
sink(requestBuffer.Headers.pUnknownHeaders[0].pRawValue);
908-
sink(*requestBuffer.Headers.pUnknownHeaders[0].pRawValue); // $ MISSING: ir
909-
sink(requestBuffer.pEntityChunks->FromFileHandle.FileHandle); // $ MISSING: ir
908+
sink(*requestBuffer.Headers.pUnknownHeaders[0].pRawValue); // $ ir
909+
sink(requestBuffer.pEntityChunks->FromFileHandle.FileHandle); // $ ir
910910
sink(requestBuffer.pEntityChunks->FromFragmentCache.pFragmentName);
911-
sink(*requestBuffer.pEntityChunks->FromFragmentCache.pFragmentName); // $ MISSING: ir
911+
sink(*requestBuffer.pEntityChunks->FromFragmentCache.pFragmentName); // $ ir
912912
sink(requestBuffer.pEntityChunks->FromFragmentCacheEx.pFragmentName);
913-
sink(*requestBuffer.pEntityChunks->FromFragmentCacheEx.pFragmentName); // $ MISSING: ir
913+
sink(*requestBuffer.pEntityChunks->FromFragmentCacheEx.pFragmentName); // $ ir
914914
sink(requestBuffer.pEntityChunks->FromMemory.pBuffer);
915-
sink(*(char*)requestBuffer.pEntityChunks->FromMemory.pBuffer); // $ MISSING: ir
915+
sink(*(char*)requestBuffer.pEntityChunks->FromMemory.pBuffer); // $ ir
916916
sink(requestBuffer.pSslInfo->pServerCertIssuer);
917-
sink(*requestBuffer.pSslInfo->pServerCertIssuer); // $ MISSING: ir
917+
sink(*requestBuffer.pSslInfo->pServerCertIssuer); // $ ir
918918
sink(requestBuffer.pSslInfo->pServerCertSubject);
919-
sink(*requestBuffer.pSslInfo->pServerCertSubject); // $ MISSING: ir
919+
sink(*requestBuffer.pSslInfo->pServerCertSubject); // $ ir
920920
sink(requestBuffer.pSslInfo->pClientCertInfo->pCertEncoded);
921-
sink(*requestBuffer.pSslInfo->pClientCertInfo->pCertEncoded); // $ MISSING: ir
921+
sink(*requestBuffer.pSslInfo->pClientCertInfo->pCertEncoded); // $ ir
922922
}
923923
{
924924
char buffer[1024];
@@ -935,6 +935,6 @@ void test_http_server_api(HANDLE hRequestQueue) {
935935
sink(p);
936936
sink(*p); // $ ir
937937
sink(certInfo.pCertEncoded);
938-
sink(*certInfo.pCertEncoded); // $ MISSING: ir
938+
sink(*certInfo.pCertEncoded); // $ ir
939939
}
940940
}

0 commit comments

Comments
 (0)