C++: Accept test changes.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-11-06 16:57:11 +00:00
parent 1d5d272822
commit 2b6a75f4ad
2 changed files with 3 additions and 4 deletions

View File

@@ -850,9 +850,9 @@ int tolower(int);
void test_toupper_and_tolower() {
int s = source();
int u = toupper(s);
sink(u); // $ MISSING: ast,ir
sink(u); // $ ir MISSING: ast
int l = tolower(s);
sink(l); // $ MISSING: ast,ir
sink(l); // $ ir MISSING: ast
}
typedef int iconv_t;
@@ -864,5 +864,5 @@ void test_iconv(size_t size) {
char* p = out;
size_t size_out;
iconv(0, &s, &size, &p, &size_out);
sink(*p); // $ MISSING: ast,ir
sink(*p); // $ ast,ir
}

View File

@@ -3,4 +3,3 @@ WARNING: module 'DataFlow' has been deprecated and may be removed in future (tai
WARNING: module 'DataFlow' has been deprecated and may be removed in future (taint.ql:61,22-30)
WARNING: module 'DataFlow' has been deprecated and may be removed in future (taint.ql:68,25-33)
WARNING: module 'TaintTracking' has been deprecated and may be removed in future (taint.ql:73,20-33)
| taint.cpp:867:7:867:8 | * ... | Fixed missing result: ast |