mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
C++: Add test with missing flow.
This commit is contained in:
@@ -1037,4 +1037,11 @@ namespace test_gettext {
|
||||
sink(translated); // clean
|
||||
indirect_sink(translated); // clean
|
||||
}
|
||||
}
|
||||
|
||||
void* memset(void*, int, size_t);
|
||||
|
||||
void memset_test(char* buf) { // $ ast-def=buf
|
||||
memset(buf, source(), 10);
|
||||
sink(*buf); // $ MISSING: ast ir
|
||||
}
|
||||
Reference in New Issue
Block a user