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 da4a059 commit f6b9ca3Copy full SHA for f6b9ca3
1 file changed
cpp/ql/test/library-tests/dataflow/dataflow-tests/test.cpp
@@ -608,3 +608,10 @@ void test_def_by_ref_followed_by_uncertain_write_pointer(int* p) { // $ ast-def=
608
*p = 0;
609
sink(*p); // $ ir MISSING: ast
610
}
611
+
612
+void test_flow_through_void_double_pointer(int *p) // $ ast-def=p
613
+{
614
+ intPointerSource(p);
615
+ void* q = (void*)&p;
616
+ sink(**(int**)q); // $ MISSING: ast,ir
617
+}
0 commit comments