Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c07a3e commit bebfe03Copy full SHA for bebfe03
3 files changed
cpp/ql/lib/ext/ComPtr.model.yml
@@ -11,6 +11,7 @@ extensions:
11
- ["Microsoft::WRL", "ComPtr", True, "AsWeak", "", "", "Argument[-1]", "Argument[*0]", "value", "manual"]
12
- ["Microsoft::WRL", "ComPtr", True, "Attach", "", "", "Argument[*@0]", "Argument[-1].Element[@]", "value", "manual"]
13
- ["Microsoft::WRL", "ComPtr<T>", True, "CopyTo", "(T **)", "", "Argument[-1].Element[@]", "Argument[**@0]", "value", "manual"]
14
+ - ["Microsoft::WRL", "ComPtr", True, "CopyTo<T>", "(T **)", "", "Argument[-1].Element[@]", "Argument[**@0]", "value", "manual"]
15
- ["Microsoft::WRL", "ComPtr", True, "CopyTo", "(REFIID,void **)", "", "Argument[-1].Element[@]", "Argument[**@1]", "value", "manual"]
16
- ["Microsoft::WRL", "ComPtr", True, "Detach", "", "", "Argument[-1].Element[@]", "ReturnValue[*]", "value", "manual"]
17
- ["Microsoft::WRL", "ComPtr", True, "Get", "", "", "Argument[-1].Element[@]", "ReturnValue[*]", "value", "manual"]
cpp/ql/test/library-tests/dataflow/taint-tests/atl.cpp
@@ -1352,7 +1352,7 @@ void test_CopyTo()
1352
1353
int* raw2 = nullptr;
1354
p3.CopyTo<int>(&raw2);
1355
- sink(*raw2); // $ MISSING: ast,ir
+ sink(*raw2); // $ ir MISSING: ast
1356
}
1357
1358
void test_Swap()
cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.expected
@@ -5575,6 +5575,7 @@ signatureMatches
5575
| atl.cpp:1285:13:1285:18 | CopyTo | (REFIID,void **) | ComPtr | CopyTo | 0 |
5576
| atl.cpp:1285:13:1285:18 | CopyTo | (REFIID,void **) | ComPtr | CopyTo | 1 |
5577
| atl.cpp:1285:13:1285:18 | CopyTo | (size_t,void **) | | __libc_alloc_buffer_allocate | 1 |
5578
+| atl.cpp:1288:13:1288:18 | CopyTo | (T **) | ComPtr | CopyTo<T> | 0 |
5579
| bsd.cpp:12:5:12:10 | accept | (CURLM *,curl_socket_t,int *) | | curl_multi_socket | 2 |
5580
| bsd.cpp:12:5:12:10 | accept | (Curl_easy *,ssize_t *,int *) | | Curl_GetFTPResponse | 2 |
5581
| bsd.cpp:12:5:12:10 | accept | (EVP_CIPHER_CTX *,unsigned char *,int *) | | EVP_CipherFinal | 2 |
@@ -30175,6 +30176,7 @@ getSignatureParameterName
30175
30176
| (Strtab *,size_t *) | | strtabfinalize | 0 | Strtab * |
30177
| (Strtab *,size_t *) | | strtabfinalize | 1 | size_t * |
30178
| (T *) | ComPtr | ComPtr<T> | 0 | func:0 * |
30179
+| (T **) | ComPtr | CopyTo<T> | 0 | func:0 ** |
30180
| (T **) | ComPtr<T> | CopyTo | 0 | class:0 ** |
30181
| (TLS_FEATURE *) | | TLS_FEATURE_free | 0 | TLS_FEATURE * |
30182
| (TLS_RL_RECORD *,const unsigned char *) | | ossl_tls_rl_record_set_seq_num | 0 | TLS_RL_RECORD * |
0 commit comments