mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
C++: Implement clearsContent for IR dataflow
This commit is contained in:
182
cpp/ql/test/library-tests/dataflow/fields/clearning.cpp
Normal file
182
cpp/ql/test/library-tests/dataflow/fields/clearning.cpp
Normal file
@@ -0,0 +1,182 @@
|
||||
// We want a source of user input that can be both a pointer and a non-pointer. So we
|
||||
// hack the testing a bit by providing an overload that takes a boolean to distinguish
|
||||
// between the two while still satisfying the test requirement that the function must
|
||||
// be named `user_input`.
|
||||
int user_input();
|
||||
int* user_input(bool);
|
||||
void sink(...);
|
||||
void argument_source(int*);
|
||||
|
||||
struct S {
|
||||
int** x;
|
||||
};
|
||||
|
||||
void test()
|
||||
{
|
||||
{
|
||||
S s;
|
||||
**s.x = user_input();
|
||||
*s.x = 0;
|
||||
sink(**s.x); // $ clean, as *s.x was overwritten and that contains the tainted **s.x
|
||||
}
|
||||
|
||||
{
|
||||
S s;
|
||||
**s.x = user_input();
|
||||
**s.x = 0;
|
||||
sink(**s.x); // $ clean, as **s.x was overwritten and tainted
|
||||
}
|
||||
|
||||
{
|
||||
S s;
|
||||
*s.x = user_input(true);
|
||||
**s.x = 0;
|
||||
sink(*s.x); // $ ir // not clean, as **s.x was overwritten and is neither equal nor contains the tainted *s.x
|
||||
}
|
||||
|
||||
{
|
||||
S s;
|
||||
*s.x = user_input(true);
|
||||
s.x = 0;
|
||||
sink(*s.x); // clean, as s.x was overwritten and contains the tainted *s.x
|
||||
}
|
||||
|
||||
{
|
||||
S s;
|
||||
**s.x = user_input();
|
||||
s.x = 0;
|
||||
sink(*s.x); // clean, as s.x was overwritten and contains the tainted **s.x
|
||||
}
|
||||
|
||||
{
|
||||
S s;
|
||||
*s.x = user_input(true);
|
||||
s.x++;
|
||||
sink(s.x); // $ SPURIOUS: ir ast // Cannot tell the difference with the whole array being tainted
|
||||
}
|
||||
|
||||
{
|
||||
S s;
|
||||
**s.x = user_input();
|
||||
s.x++;
|
||||
sink(s.x); // $ SPURIOUS: ir // Cannot tell the difference with the whole array being tainted
|
||||
}
|
||||
}
|
||||
|
||||
struct S2
|
||||
{
|
||||
int* val;
|
||||
};
|
||||
|
||||
void test_uncertain_write_is_not_clear()
|
||||
{
|
||||
S2 s;
|
||||
argument_source(s.val);
|
||||
s.val[10] = 0;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean, as all elements of s.val are tainted and only one is overwitten
|
||||
}
|
||||
|
||||
void test_indirection_should_not_be_cleared_with_write_1() {
|
||||
S2 s;
|
||||
argument_source(s.val); // *s.val is tainted
|
||||
s.val[0] = 0;
|
||||
s.val = s.val + 1;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean, as all elements of s.val are tainted, only one if overwritten, and the updated pointer still points to tainted elements
|
||||
}
|
||||
|
||||
void test_indirection_should_not_be_cleared_with_write_2() {
|
||||
S2 s;
|
||||
argument_source(s.val); // *s.val is tainted
|
||||
*s.val++ = 0;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean, as all elements of s.val are tainted, only one if overwritten, and the updated pointer still points to tainted elements
|
||||
}
|
||||
|
||||
void test_indirection_should_not_be_cleared_without_write_1() {
|
||||
S2 s;
|
||||
argument_source(s.val); // *s.val is tainted
|
||||
s.val = s.val + 1;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean, as all elements of s.val are tainted and the updated pointer still points to tainted elements
|
||||
}
|
||||
|
||||
void test_indirection_should_not_be_cleared_without_write_2() {
|
||||
S2 s;
|
||||
argument_source(s.val); // *s.val is tainted
|
||||
s.val++;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean, as all elements of s.val are tainted and the updated pointer still points to tainted elements
|
||||
}
|
||||
|
||||
void test_indirection_should_not_be_cleared_without_write_3() {
|
||||
S2 s;
|
||||
argument_source(s.val); // *s.val is tainted
|
||||
++s.val;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean as the pointer is only moved to the next tainted element
|
||||
}
|
||||
|
||||
void test_indirection_should_not_be_cleared_without_write_4() {
|
||||
S2 s;
|
||||
argument_source(s.val); // *s.val is tainted
|
||||
s.val += 1;
|
||||
sink(*s.val); // $ ir MISSING: ast // not clean as the pointer is only moved to the next tainted element
|
||||
}
|
||||
|
||||
void test_direct_should_be_cleared() {
|
||||
S2 s;
|
||||
s.val = user_input(true); // s.val is tainted
|
||||
s.val += 1;
|
||||
sink(s.val); // $ SPURIOUS: ast // clean, as s.val was overwritten and tainted
|
||||
}
|
||||
|
||||
void test_direct_should_be_cleared_post() {
|
||||
S2 s;
|
||||
s.val = user_input(true); // s.val is tainted
|
||||
s.val++;
|
||||
sink(s.val); // $ SPURIOUS: ast // clean, as s.val was overwritten and tainted
|
||||
}
|
||||
|
||||
void test_direct_should_be_cleared_pre() {
|
||||
S2 s;
|
||||
s.val = user_input(true); // s.val is tainted
|
||||
++s.val;
|
||||
sink(s.val); // $ SPURIOUS: ast // // clean, as s.x was overwritten and tainted
|
||||
}
|
||||
|
||||
struct S3
|
||||
{
|
||||
int val;
|
||||
};
|
||||
|
||||
void test_direct() {
|
||||
{
|
||||
S3 s;
|
||||
s.val = user_input();
|
||||
sink(s.val); // $ ir ast
|
||||
}
|
||||
|
||||
{
|
||||
S3 s;
|
||||
s.val = user_input();
|
||||
s.val = 0;
|
||||
sink(s.val); // $ SPURIOUS: ast // clean
|
||||
}
|
||||
|
||||
{
|
||||
S3 s;
|
||||
s.val = user_input();
|
||||
s.val++;
|
||||
sink(s.val); // $ SPURIOUS: ast // clean
|
||||
}
|
||||
|
||||
{
|
||||
S3 s;
|
||||
s.val = user_input();
|
||||
s.val += 1;
|
||||
sink(s.val); // $ SPURIOUS: ast // clean
|
||||
}
|
||||
|
||||
{
|
||||
S3 s;
|
||||
s.val = user_input();
|
||||
s.val = s.val + 1;
|
||||
sink(s.val); // $ SPURIOUS: ast // clean
|
||||
}
|
||||
}
|
||||
@@ -43,6 +43,9 @@ argHasPostUpdate
|
||||
| arrays.cpp:10:8:10:15 | * ... | ArgumentNode is missing PostUpdateNode. |
|
||||
| arrays.cpp:16:8:16:13 | access to array | ArgumentNode is missing PostUpdateNode. |
|
||||
| arrays.cpp:17:8:17:13 | access to array | ArgumentNode is missing PostUpdateNode. |
|
||||
| clearning.cpp:34:8:34:11 | * ... | ArgumentNode is missing PostUpdateNode. |
|
||||
| clearning.cpp:41:8:41:11 | * ... | ArgumentNode is missing PostUpdateNode. |
|
||||
| clearning.cpp:48:8:48:11 | * ... | ArgumentNode is missing PostUpdateNode. |
|
||||
postWithInFlow
|
||||
| A.cpp:25:13:25:13 | c [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| A.cpp:27:28:27:28 | c [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
@@ -123,6 +126,32 @@ postWithInFlow
|
||||
| by_reference.cpp:108:24:108:24 | a [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| by_reference.cpp:123:28:123:36 | inner_ptr [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| by_reference.cpp:127:30:127:38 | inner_ptr [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:19:3:19:6 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:19:6:19:6 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:32:3:32:6 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:32:6:32:6 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:39:3:39:6 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:39:6:39:6 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:40:5:40:5 | x [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:47:5:47:5 | x [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:53:3:53:6 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:53:6:53:6 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:75:2:75:10 | access to array [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:75:4:75:6 | val [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:82:2:82:9 | access to array [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:82:4:82:6 | val [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:83:7:83:9 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:97:4:97:6 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:124:4:124:6 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:131:4:131:6 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:138:4:138:6 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:151:5:151:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:157:5:157:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:158:5:158:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:164:5:164:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:171:5:171:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:178:5:178:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| clearning.cpp:179:5:179:7 | val [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| complex.cpp:11:22:11:23 | a_ [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| complex.cpp:12:22:12:23 | b_ [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| conflated.cpp:10:3:10:7 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
|
||||
@@ -19,6 +19,17 @@ uniquePostUpdate
|
||||
| aliasing.cpp:77:11:77:11 | definition of w indirection | Node has multiple PostUpdateNodes. |
|
||||
| aliasing.cpp:84:11:84:11 | definition of w indirection | Node has multiple PostUpdateNodes. |
|
||||
| aliasing.cpp:91:11:91:11 | definition of w indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:54:3:54:3 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:61:3:61:3 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:90:3:90:3 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:104:2:104:2 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:111:4:111:4 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:118:2:118:2 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:125:2:125:2 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:132:2:132:2 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:139:4:139:4 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:165:3:165:3 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| clearning.cpp:172:3:172:3 | s indirection | Node has multiple PostUpdateNodes. |
|
||||
| complex.cpp:22:3:22:5 | this indirection | Node has multiple PostUpdateNodes. |
|
||||
| complex.cpp:25:7:25:7 | this indirection | Node has multiple PostUpdateNodes. |
|
||||
| complex.cpp:42:10:42:14 | inner indirection | Node has multiple PostUpdateNodes. |
|
||||
|
||||
@@ -572,6 +572,136 @@ edges
|
||||
| by_reference.cpp:136:8:136:13 | pouter indirection [a] | by_reference.cpp:136:16:136:16 | a |
|
||||
| by_reference.cpp:136:8:136:13 | pouter indirection [a] | by_reference.cpp:136:16:136:16 | a indirection |
|
||||
| by_reference.cpp:136:16:136:16 | a indirection | by_reference.cpp:136:16:136:16 | a |
|
||||
| clearning.cpp:32:3:32:25 | ... = ... | clearning.cpp:32:6:32:6 | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:32:6:32:6 | s indirection [post update] [x indirection] | clearning.cpp:33:5:33:5 | s indirection [x indirection] |
|
||||
| clearning.cpp:32:10:32:19 | call to user_input | clearning.cpp:32:3:32:25 | ... = ... |
|
||||
| clearning.cpp:33:5:33:5 | s indirection [x indirection] | clearning.cpp:34:9:34:9 | s indirection [x indirection] |
|
||||
| clearning.cpp:34:9:34:9 | s indirection [x indirection] | clearning.cpp:34:8:34:11 | * ... |
|
||||
| clearning.cpp:34:9:34:9 | s indirection [x indirection] | clearning.cpp:34:11:34:11 | x indirection |
|
||||
| clearning.cpp:34:9:34:9 | s indirection [x indirection] | clearning.cpp:34:11:34:11 | x indirection |
|
||||
| clearning.cpp:34:11:34:11 | x indirection | clearning.cpp:34:8:34:11 | * ... |
|
||||
| clearning.cpp:34:11:34:11 | x indirection | clearning.cpp:34:8:34:11 | * ... |
|
||||
| clearning.cpp:53:3:53:25 | ... = ... | clearning.cpp:53:6:53:6 | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:53:6:53:6 | s indirection [post update] [x indirection] | clearning.cpp:54:3:54:3 | s indirection [x indirection] |
|
||||
| clearning.cpp:53:10:53:19 | call to user_input | clearning.cpp:53:3:53:25 | ... = ... |
|
||||
| clearning.cpp:54:3:54:3 | s indirection [x indirection] | clearning.cpp:54:3:54:7 | ... ++ indirection |
|
||||
| clearning.cpp:54:3:54:3 | s indirection [x indirection] | clearning.cpp:54:5:54:5 | x indirection |
|
||||
| clearning.cpp:54:3:54:3 | s indirection [x indirection] | clearning.cpp:55:8:55:8 | s indirection [x indirection] |
|
||||
| clearning.cpp:54:3:54:7 | ... ++ indirection | clearning.cpp:54:3:54:7 | ... ++ indirection |
|
||||
| clearning.cpp:54:3:54:7 | ... ++ indirection | clearning.cpp:54:5:54:5 | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:54:5:54:5 | s indirection [post update] [x indirection] | clearning.cpp:55:8:55:8 | s indirection [x indirection] |
|
||||
| clearning.cpp:54:5:54:5 | x indirection | clearning.cpp:54:3:54:7 | ... ++ indirection |
|
||||
| clearning.cpp:55:8:55:8 | s indirection [x indirection] | clearning.cpp:55:10:55:10 | x indirection |
|
||||
| clearning.cpp:55:8:55:8 | s indirection [x indirection] | clearning.cpp:55:10:55:10 | x indirection |
|
||||
| clearning.cpp:55:10:55:10 | x indirection | clearning.cpp:55:10:55:10 | x indirection |
|
||||
| clearning.cpp:60:3:60:22 | ... = ... | clearning.cpp:60:7:60:7 | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:60:7:60:7 | s indirection [post update] [x indirection] | clearning.cpp:61:3:61:3 | s indirection [x indirection] |
|
||||
| clearning.cpp:60:11:60:20 | call to user_input | clearning.cpp:60:3:60:22 | ... = ... |
|
||||
| clearning.cpp:61:3:61:3 | s indirection [x indirection] | clearning.cpp:61:3:61:7 | ... ++ indirection |
|
||||
| clearning.cpp:61:3:61:3 | s indirection [x indirection] | clearning.cpp:61:5:61:5 | x indirection |
|
||||
| clearning.cpp:61:3:61:3 | s indirection [x indirection] | clearning.cpp:62:8:62:8 | s indirection [x indirection] |
|
||||
| clearning.cpp:61:3:61:7 | ... ++ indirection | clearning.cpp:61:3:61:7 | ... ++ indirection |
|
||||
| clearning.cpp:61:3:61:7 | ... ++ indirection | clearning.cpp:61:5:61:5 | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:61:5:61:5 | s indirection [post update] [x indirection] | clearning.cpp:62:8:62:8 | s indirection [x indirection] |
|
||||
| clearning.cpp:61:5:61:5 | x indirection | clearning.cpp:61:3:61:7 | ... ++ indirection |
|
||||
| clearning.cpp:62:8:62:8 | s indirection [x indirection] | clearning.cpp:62:10:62:10 | x indirection |
|
||||
| clearning.cpp:62:8:62:8 | s indirection [x indirection] | clearning.cpp:62:10:62:10 | x indirection |
|
||||
| clearning.cpp:62:10:62:10 | x indirection | clearning.cpp:62:10:62:10 | x indirection |
|
||||
| clearning.cpp:74:20:74:22 | argument_source output argument | clearning.cpp:74:20:74:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:74:20:74:22 | s indirection [post update] [val indirection] | clearning.cpp:76:8:76:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:76:8:76:8 | s indirection [val indirection] | clearning.cpp:76:7:76:12 | * ... |
|
||||
| clearning.cpp:76:8:76:8 | s indirection [val indirection] | clearning.cpp:76:10:76:12 | val indirection |
|
||||
| clearning.cpp:76:8:76:8 | s indirection [val indirection] | clearning.cpp:76:10:76:12 | val indirection |
|
||||
| clearning.cpp:76:10:76:12 | val indirection | clearning.cpp:76:7:76:12 | * ... |
|
||||
| clearning.cpp:76:10:76:12 | val indirection | clearning.cpp:76:7:76:12 | * ... |
|
||||
| clearning.cpp:81:20:81:22 | argument_source output argument | clearning.cpp:81:20:81:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:81:20:81:22 | s indirection [post update] [val indirection] | clearning.cpp:83:13:83:13 | s indirection [val indirection] |
|
||||
| clearning.cpp:83:5:83:21 | ... = ... indirection | clearning.cpp:83:7:83:9 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:83:7:83:9 | s indirection [post update] [val indirection] | clearning.cpp:84:8:84:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:83:13:83:13 | s indirection [val indirection] | clearning.cpp:83:13:83:21 | ... + ... indirection |
|
||||
| clearning.cpp:83:13:83:13 | s indirection [val indirection] | clearning.cpp:83:15:83:17 | val indirection |
|
||||
| clearning.cpp:83:13:83:21 | ... + ... indirection | clearning.cpp:83:5:83:21 | ... = ... indirection |
|
||||
| clearning.cpp:83:15:83:17 | val indirection | clearning.cpp:83:5:83:21 | ... = ... indirection |
|
||||
| clearning.cpp:84:8:84:8 | s indirection [val indirection] | clearning.cpp:84:7:84:12 | * ... |
|
||||
| clearning.cpp:84:8:84:8 | s indirection [val indirection] | clearning.cpp:84:10:84:12 | val indirection |
|
||||
| clearning.cpp:84:8:84:8 | s indirection [val indirection] | clearning.cpp:84:10:84:12 | val indirection |
|
||||
| clearning.cpp:84:10:84:12 | val indirection | clearning.cpp:84:7:84:12 | * ... |
|
||||
| clearning.cpp:84:10:84:12 | val indirection | clearning.cpp:84:7:84:12 | * ... |
|
||||
| clearning.cpp:89:20:89:22 | argument_source output argument | clearning.cpp:89:20:89:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:89:20:89:22 | s indirection [post update] [val indirection] | clearning.cpp:90:3:90:3 | s indirection [val indirection] |
|
||||
| clearning.cpp:90:3:90:3 | s indirection [val indirection] | clearning.cpp:90:3:90:9 | ... ++ indirection |
|
||||
| clearning.cpp:90:3:90:3 | s indirection [val indirection] | clearning.cpp:90:5:90:7 | val indirection |
|
||||
| clearning.cpp:90:3:90:3 | s indirection [val indirection] | clearning.cpp:91:8:91:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:90:3:90:9 | ... ++ indirection | clearning.cpp:90:3:90:9 | ... ++ indirection |
|
||||
| clearning.cpp:90:3:90:9 | ... ++ indirection | clearning.cpp:90:5:90:7 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:90:5:90:7 | s indirection [post update] [val indirection] | clearning.cpp:91:8:91:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:90:5:90:7 | val indirection | clearning.cpp:90:3:90:9 | ... ++ indirection |
|
||||
| clearning.cpp:91:8:91:8 | s indirection [val indirection] | clearning.cpp:91:7:91:12 | * ... |
|
||||
| clearning.cpp:91:8:91:8 | s indirection [val indirection] | clearning.cpp:91:10:91:12 | val indirection |
|
||||
| clearning.cpp:91:8:91:8 | s indirection [val indirection] | clearning.cpp:91:10:91:12 | val indirection |
|
||||
| clearning.cpp:91:10:91:12 | val indirection | clearning.cpp:91:7:91:12 | * ... |
|
||||
| clearning.cpp:91:10:91:12 | val indirection | clearning.cpp:91:7:91:12 | * ... |
|
||||
| clearning.cpp:96:20:96:22 | argument_source output argument | clearning.cpp:96:20:96:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:96:20:96:22 | s indirection [post update] [val indirection] | clearning.cpp:97:10:97:10 | s indirection [val indirection] |
|
||||
| clearning.cpp:97:2:97:18 | ... = ... indirection | clearning.cpp:97:4:97:6 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:97:4:97:6 | s indirection [post update] [val indirection] | clearning.cpp:98:8:98:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:97:10:97:10 | s indirection [val indirection] | clearning.cpp:97:10:97:18 | ... + ... indirection |
|
||||
| clearning.cpp:97:10:97:10 | s indirection [val indirection] | clearning.cpp:97:12:97:14 | val indirection |
|
||||
| clearning.cpp:97:10:97:18 | ... + ... indirection | clearning.cpp:97:2:97:18 | ... = ... indirection |
|
||||
| clearning.cpp:97:12:97:14 | val indirection | clearning.cpp:97:2:97:18 | ... = ... indirection |
|
||||
| clearning.cpp:98:8:98:8 | s indirection [val indirection] | clearning.cpp:98:7:98:12 | * ... |
|
||||
| clearning.cpp:98:8:98:8 | s indirection [val indirection] | clearning.cpp:98:10:98:12 | val indirection |
|
||||
| clearning.cpp:98:8:98:8 | s indirection [val indirection] | clearning.cpp:98:10:98:12 | val indirection |
|
||||
| clearning.cpp:98:10:98:12 | val indirection | clearning.cpp:98:7:98:12 | * ... |
|
||||
| clearning.cpp:98:10:98:12 | val indirection | clearning.cpp:98:7:98:12 | * ... |
|
||||
| clearning.cpp:103:20:103:22 | argument_source output argument | clearning.cpp:103:20:103:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:103:20:103:22 | s indirection [post update] [val indirection] | clearning.cpp:104:2:104:2 | s indirection [val indirection] |
|
||||
| clearning.cpp:104:2:104:2 | s indirection [val indirection] | clearning.cpp:104:2:104:8 | ... ++ indirection |
|
||||
| clearning.cpp:104:2:104:2 | s indirection [val indirection] | clearning.cpp:104:4:104:6 | val indirection |
|
||||
| clearning.cpp:104:2:104:2 | s indirection [val indirection] | clearning.cpp:105:8:105:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:104:2:104:8 | ... ++ indirection | clearning.cpp:104:2:104:8 | ... ++ indirection |
|
||||
| clearning.cpp:104:2:104:8 | ... ++ indirection | clearning.cpp:104:4:104:6 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:104:4:104:6 | s indirection [post update] [val indirection] | clearning.cpp:105:8:105:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:104:4:104:6 | val indirection | clearning.cpp:104:2:104:8 | ... ++ indirection |
|
||||
| clearning.cpp:105:8:105:8 | s indirection [val indirection] | clearning.cpp:105:7:105:12 | * ... |
|
||||
| clearning.cpp:105:8:105:8 | s indirection [val indirection] | clearning.cpp:105:10:105:12 | val indirection |
|
||||
| clearning.cpp:105:8:105:8 | s indirection [val indirection] | clearning.cpp:105:10:105:12 | val indirection |
|
||||
| clearning.cpp:105:10:105:12 | val indirection | clearning.cpp:105:7:105:12 | * ... |
|
||||
| clearning.cpp:105:10:105:12 | val indirection | clearning.cpp:105:7:105:12 | * ... |
|
||||
| clearning.cpp:110:20:110:22 | argument_source output argument | clearning.cpp:110:20:110:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:110:20:110:22 | s indirection [post update] [val indirection] | clearning.cpp:111:4:111:4 | s indirection [val indirection] |
|
||||
| clearning.cpp:111:2:111:8 | ++ ... indirection | clearning.cpp:111:2:111:8 | ++ ... indirection |
|
||||
| clearning.cpp:111:2:111:8 | ++ ... indirection | clearning.cpp:111:6:111:8 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:111:4:111:4 | s indirection [val indirection] | clearning.cpp:111:2:111:8 | ++ ... indirection |
|
||||
| clearning.cpp:111:4:111:4 | s indirection [val indirection] | clearning.cpp:111:6:111:8 | val indirection |
|
||||
| clearning.cpp:111:4:111:4 | s indirection [val indirection] | clearning.cpp:112:8:112:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:111:6:111:8 | s indirection [post update] [val indirection] | clearning.cpp:112:8:112:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:111:6:111:8 | val indirection | clearning.cpp:111:2:111:8 | ++ ... indirection |
|
||||
| clearning.cpp:112:8:112:8 | s indirection [val indirection] | clearning.cpp:112:7:112:12 | * ... |
|
||||
| clearning.cpp:112:8:112:8 | s indirection [val indirection] | clearning.cpp:112:10:112:12 | val indirection |
|
||||
| clearning.cpp:112:8:112:8 | s indirection [val indirection] | clearning.cpp:112:10:112:12 | val indirection |
|
||||
| clearning.cpp:112:10:112:12 | val indirection | clearning.cpp:112:7:112:12 | * ... |
|
||||
| clearning.cpp:112:10:112:12 | val indirection | clearning.cpp:112:7:112:12 | * ... |
|
||||
| clearning.cpp:117:20:117:22 | argument_source output argument | clearning.cpp:117:20:117:22 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:117:20:117:22 | s indirection [post update] [val indirection] | clearning.cpp:118:2:118:2 | s indirection [val indirection] |
|
||||
| clearning.cpp:118:2:118:2 | s indirection [val indirection] | clearning.cpp:118:2:118:11 | ... += ... indirection |
|
||||
| clearning.cpp:118:2:118:2 | s indirection [val indirection] | clearning.cpp:118:4:118:6 | val indirection |
|
||||
| clearning.cpp:118:2:118:2 | s indirection [val indirection] | clearning.cpp:119:8:119:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:118:2:118:11 | ... += ... indirection | clearning.cpp:118:2:118:11 | ... += ... indirection |
|
||||
| clearning.cpp:118:2:118:11 | ... += ... indirection | clearning.cpp:118:4:118:6 | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:118:4:118:6 | s indirection [post update] [val indirection] | clearning.cpp:119:8:119:8 | s indirection [val indirection] |
|
||||
| clearning.cpp:118:4:118:6 | val indirection | clearning.cpp:118:2:118:11 | ... += ... indirection |
|
||||
| clearning.cpp:119:8:119:8 | s indirection [val indirection] | clearning.cpp:119:7:119:12 | * ... |
|
||||
| clearning.cpp:119:8:119:8 | s indirection [val indirection] | clearning.cpp:119:10:119:12 | val indirection |
|
||||
| clearning.cpp:119:8:119:8 | s indirection [val indirection] | clearning.cpp:119:10:119:12 | val indirection |
|
||||
| clearning.cpp:119:10:119:12 | val indirection | clearning.cpp:119:7:119:12 | * ... |
|
||||
| clearning.cpp:119:10:119:12 | val indirection | clearning.cpp:119:7:119:12 | * ... |
|
||||
| clearning.cpp:151:3:151:22 | ... = ... | clearning.cpp:151:5:151:7 | s indirection [post update] [val] |
|
||||
| clearning.cpp:151:5:151:7 | s indirection [post update] [val] | clearning.cpp:152:8:152:8 | s indirection [val] |
|
||||
| clearning.cpp:151:11:151:20 | call to user_input | clearning.cpp:151:3:151:22 | ... = ... |
|
||||
| clearning.cpp:152:8:152:8 | s indirection [val] | clearning.cpp:152:10:152:12 | val |
|
||||
| clearning.cpp:152:8:152:8 | s indirection [val] | clearning.cpp:152:10:152:12 | val indirection |
|
||||
| clearning.cpp:152:10:152:12 | val indirection | clearning.cpp:152:10:152:12 | val |
|
||||
| complex.cpp:9:7:9:7 | this indirection [a_] | complex.cpp:9:20:9:21 | this indirection [a_] |
|
||||
| complex.cpp:9:20:9:21 | a_ | complex.cpp:9:7:9:7 | a indirection |
|
||||
| complex.cpp:9:20:9:21 | a_ indirection | complex.cpp:9:7:9:7 | a indirection |
|
||||
@@ -861,19 +991,20 @@ edges
|
||||
| struct_init.c:15:8:15:9 | ab indirection [a] | struct_init.c:15:12:15:12 | a |
|
||||
| struct_init.c:15:8:15:9 | ab indirection [a] | struct_init.c:15:12:15:12 | a indirection |
|
||||
| struct_init.c:15:12:15:12 | a indirection | struct_init.c:15:12:15:12 | a |
|
||||
| struct_init.c:20:17:20:36 | definition of ab indirection [post update] [a] | struct_init.c:22:8:22:9 | ab indirection [a] |
|
||||
| struct_init.c:20:17:20:36 | definition of ab indirection [post update] [a] | struct_init.c:24:10:24:12 | & ... indirection [a] |
|
||||
| struct_init.c:20:17:20:36 | definition of ab indirection [post update] [a] | struct_init.c:28:5:28:7 | & ... indirection [a] |
|
||||
| struct_init.c:20:13:20:14 | definition of ab indirection [a] | struct_init.c:22:8:22:9 | ab indirection [a] |
|
||||
| struct_init.c:20:13:20:14 | definition of ab indirection [a] | struct_init.c:24:10:24:12 | & ... indirection [a] |
|
||||
| struct_init.c:20:13:20:14 | definition of ab indirection [a] | struct_init.c:28:5:28:7 | & ... indirection [a] |
|
||||
| struct_init.c:20:17:20:36 | definition of ab indirection [post update] [a] | struct_init.c:20:13:20:14 | definition of ab indirection [a] |
|
||||
| struct_init.c:20:20:20:29 | call to user_input | struct_init.c:20:17:20:36 | definition of ab indirection [post update] [a] |
|
||||
| struct_init.c:20:20:20:29 | call to user_input | struct_init.c:20:20:20:29 | call to user_input |
|
||||
| struct_init.c:22:8:22:9 | ab indirection [a] | struct_init.c:22:11:22:11 | a |
|
||||
| struct_init.c:22:8:22:9 | ab indirection [a] | struct_init.c:22:11:22:11 | a indirection |
|
||||
| struct_init.c:22:11:22:11 | a indirection | struct_init.c:22:11:22:11 | a |
|
||||
| struct_init.c:24:10:24:12 | & ... indirection [a] | struct_init.c:14:24:14:25 | ab indirection [a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | struct_init.c:31:8:31:12 | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | struct_init.c:31:8:31:12 | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | struct_init.c:36:11:36:15 | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | struct_init.c:36:11:36:15 | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:16:26:20 | definition of outer indirection [nestedAB, a] | struct_init.c:31:8:31:12 | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:16:26:20 | definition of outer indirection [nestedAB, a] | struct_init.c:36:11:36:15 | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | struct_init.c:26:16:26:20 | definition of outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | struct_init.c:26:16:26:20 | definition of outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [pointerAB indirection, a] | struct_init.c:33:8:33:12 | outer indirection [pointerAB indirection, a] |
|
||||
| struct_init.c:27:5:27:23 | {...} indirection [post update] [a] | struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] |
|
||||
| struct_init.c:27:5:27:23 | {...} indirection [post update] [a] | struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] |
|
||||
@@ -892,7 +1023,8 @@ edges
|
||||
| struct_init.c:33:25:33:25 | a indirection | struct_init.c:33:25:33:25 | a |
|
||||
| struct_init.c:36:10:36:24 | & ... indirection [a] | struct_init.c:14:24:14:25 | ab indirection [a] |
|
||||
| struct_init.c:36:11:36:15 | outer indirection [nestedAB, a] | struct_init.c:36:10:36:24 | & ... indirection [a] |
|
||||
| struct_init.c:40:17:40:36 | definition of ab indirection [post update] [a] | struct_init.c:43:5:43:7 | & ... indirection [a] |
|
||||
| struct_init.c:40:13:40:14 | definition of ab indirection [a] | struct_init.c:43:5:43:7 | & ... indirection [a] |
|
||||
| struct_init.c:40:17:40:36 | definition of ab indirection [post update] [a] | struct_init.c:40:13:40:14 | definition of ab indirection [a] |
|
||||
| struct_init.c:40:20:40:29 | call to user_input | struct_init.c:40:17:40:36 | definition of ab indirection [post update] [a] |
|
||||
| struct_init.c:40:20:40:29 | call to user_input | struct_init.c:40:20:40:29 | call to user_input |
|
||||
| struct_init.c:41:23:44:3 | definition of outer indirection [post update] [pointerAB indirection, a] | struct_init.c:46:10:46:14 | outer indirection [pointerAB indirection, a] |
|
||||
@@ -1433,6 +1565,114 @@ nodes
|
||||
| by_reference.cpp:136:8:136:13 | pouter indirection [a] | semmle.label | pouter indirection [a] |
|
||||
| by_reference.cpp:136:16:136:16 | a | semmle.label | a |
|
||||
| by_reference.cpp:136:16:136:16 | a indirection | semmle.label | a indirection |
|
||||
| clearning.cpp:32:3:32:25 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:32:6:32:6 | s indirection [post update] [x indirection] | semmle.label | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:32:10:32:19 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:33:5:33:5 | s indirection [x indirection] | semmle.label | s indirection [x indirection] |
|
||||
| clearning.cpp:34:8:34:11 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:34:9:34:9 | s indirection [x indirection] | semmle.label | s indirection [x indirection] |
|
||||
| clearning.cpp:34:11:34:11 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:34:11:34:11 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:53:3:53:25 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:53:6:53:6 | s indirection [post update] [x indirection] | semmle.label | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:53:10:53:19 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:54:3:54:3 | s indirection [x indirection] | semmle.label | s indirection [x indirection] |
|
||||
| clearning.cpp:54:3:54:7 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:54:3:54:7 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:54:5:54:5 | s indirection [post update] [x indirection] | semmle.label | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:54:5:54:5 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:55:8:55:8 | s indirection [x indirection] | semmle.label | s indirection [x indirection] |
|
||||
| clearning.cpp:55:10:55:10 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:55:10:55:10 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:60:3:60:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:60:7:60:7 | s indirection [post update] [x indirection] | semmle.label | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:60:11:60:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:61:3:61:3 | s indirection [x indirection] | semmle.label | s indirection [x indirection] |
|
||||
| clearning.cpp:61:3:61:7 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:61:3:61:7 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:61:5:61:5 | s indirection [post update] [x indirection] | semmle.label | s indirection [post update] [x indirection] |
|
||||
| clearning.cpp:61:5:61:5 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:62:8:62:8 | s indirection [x indirection] | semmle.label | s indirection [x indirection] |
|
||||
| clearning.cpp:62:10:62:10 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:62:10:62:10 | x indirection | semmle.label | x indirection |
|
||||
| clearning.cpp:74:20:74:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:74:20:74:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:76:7:76:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:76:8:76:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:76:10:76:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:76:10:76:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:81:20:81:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:81:20:81:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:83:5:83:21 | ... = ... indirection | semmle.label | ... = ... indirection |
|
||||
| clearning.cpp:83:7:83:9 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:83:13:83:13 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:83:13:83:21 | ... + ... indirection | semmle.label | ... + ... indirection |
|
||||
| clearning.cpp:83:15:83:17 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:84:7:84:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:84:8:84:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:84:10:84:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:84:10:84:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:89:20:89:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:89:20:89:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:90:3:90:3 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:90:3:90:9 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:90:3:90:9 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:90:5:90:7 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:90:5:90:7 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:91:7:91:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:91:8:91:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:91:10:91:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:91:10:91:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:96:20:96:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:96:20:96:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:97:2:97:18 | ... = ... indirection | semmle.label | ... = ... indirection |
|
||||
| clearning.cpp:97:4:97:6 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:97:10:97:10 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:97:10:97:18 | ... + ... indirection | semmle.label | ... + ... indirection |
|
||||
| clearning.cpp:97:12:97:14 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:98:7:98:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:98:8:98:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:98:10:98:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:98:10:98:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:103:20:103:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:103:20:103:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:104:2:104:2 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:104:2:104:8 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:104:2:104:8 | ... ++ indirection | semmle.label | ... ++ indirection |
|
||||
| clearning.cpp:104:4:104:6 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:104:4:104:6 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:105:7:105:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:105:8:105:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:105:10:105:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:105:10:105:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:110:20:110:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:110:20:110:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:111:2:111:8 | ++ ... indirection | semmle.label | ++ ... indirection |
|
||||
| clearning.cpp:111:2:111:8 | ++ ... indirection | semmle.label | ++ ... indirection |
|
||||
| clearning.cpp:111:4:111:4 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:111:6:111:8 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:111:6:111:8 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:112:7:112:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:112:8:112:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:112:10:112:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:112:10:112:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:117:20:117:22 | argument_source output argument | semmle.label | argument_source output argument |
|
||||
| clearning.cpp:117:20:117:22 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:118:2:118:2 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:118:2:118:11 | ... += ... indirection | semmle.label | ... += ... indirection |
|
||||
| clearning.cpp:118:2:118:11 | ... += ... indirection | semmle.label | ... += ... indirection |
|
||||
| clearning.cpp:118:4:118:6 | s indirection [post update] [val indirection] | semmle.label | s indirection [post update] [val indirection] |
|
||||
| clearning.cpp:118:4:118:6 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:119:7:119:12 | * ... | semmle.label | * ... |
|
||||
| clearning.cpp:119:8:119:8 | s indirection [val indirection] | semmle.label | s indirection [val indirection] |
|
||||
| clearning.cpp:119:10:119:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:119:10:119:12 | val indirection | semmle.label | val indirection |
|
||||
| clearning.cpp:151:3:151:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:151:5:151:7 | s indirection [post update] [val] | semmle.label | s indirection [post update] [val] |
|
||||
| clearning.cpp:151:11:151:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:152:8:152:8 | s indirection [val] | semmle.label | s indirection [val] |
|
||||
| clearning.cpp:152:10:152:12 | val | semmle.label | val |
|
||||
| clearning.cpp:152:10:152:12 | val indirection | semmle.label | val indirection |
|
||||
| complex.cpp:9:7:9:7 | a indirection | semmle.label | a indirection |
|
||||
| complex.cpp:9:7:9:7 | this indirection [a_] | semmle.label | this indirection [a_] |
|
||||
| complex.cpp:9:20:9:21 | a_ | semmle.label | a_ |
|
||||
@@ -1699,6 +1939,7 @@ nodes
|
||||
| struct_init.c:15:8:15:9 | ab indirection [a] | semmle.label | ab indirection [a] |
|
||||
| struct_init.c:15:12:15:12 | a | semmle.label | a |
|
||||
| struct_init.c:15:12:15:12 | a indirection | semmle.label | a indirection |
|
||||
| struct_init.c:20:13:20:14 | definition of ab indirection [a] | semmle.label | definition of ab indirection [a] |
|
||||
| struct_init.c:20:17:20:36 | definition of ab indirection [post update] [a] | semmle.label | definition of ab indirection [post update] [a] |
|
||||
| struct_init.c:20:20:20:29 | call to user_input | semmle.label | call to user_input |
|
||||
| struct_init.c:20:20:20:29 | call to user_input | semmle.label | call to user_input |
|
||||
@@ -1706,6 +1947,7 @@ nodes
|
||||
| struct_init.c:22:11:22:11 | a | semmle.label | a |
|
||||
| struct_init.c:22:11:22:11 | a indirection | semmle.label | a indirection |
|
||||
| struct_init.c:24:10:24:12 | & ... indirection [a] | semmle.label | & ... indirection [a] |
|
||||
| struct_init.c:26:16:26:20 | definition of outer indirection [nestedAB, a] | semmle.label | definition of outer indirection [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | semmle.label | definition of outer indirection [post update] [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [nestedAB, a] | semmle.label | definition of outer indirection [post update] [nestedAB, a] |
|
||||
| struct_init.c:26:23:29:3 | definition of outer indirection [post update] [pointerAB indirection, a] | semmle.label | definition of outer indirection [post update] [pointerAB indirection, a] |
|
||||
@@ -1724,6 +1966,7 @@ nodes
|
||||
| struct_init.c:33:25:33:25 | a indirection | semmle.label | a indirection |
|
||||
| struct_init.c:36:10:36:24 | & ... indirection [a] | semmle.label | & ... indirection [a] |
|
||||
| struct_init.c:36:11:36:15 | outer indirection [nestedAB, a] | semmle.label | outer indirection [nestedAB, a] |
|
||||
| struct_init.c:40:13:40:14 | definition of ab indirection [a] | semmle.label | definition of ab indirection [a] |
|
||||
| struct_init.c:40:17:40:36 | definition of ab indirection [post update] [a] | semmle.label | definition of ab indirection [post update] [a] |
|
||||
| struct_init.c:40:20:40:29 | call to user_input | semmle.label | call to user_input |
|
||||
| struct_init.c:40:20:40:29 | call to user_input | semmle.label | call to user_input |
|
||||
@@ -1883,6 +2126,17 @@ subpaths
|
||||
| by_reference.cpp:134:29:134:29 | a | by_reference.cpp:88:13:88:22 | call to user_input | by_reference.cpp:134:29:134:29 | a | a flows from $@ | by_reference.cpp:88:13:88:22 | call to user_input | call to user_input |
|
||||
| by_reference.cpp:135:27:135:27 | a | by_reference.cpp:88:13:88:22 | call to user_input | by_reference.cpp:135:27:135:27 | a | a flows from $@ | by_reference.cpp:88:13:88:22 | call to user_input | call to user_input |
|
||||
| by_reference.cpp:136:16:136:16 | a | by_reference.cpp:96:8:96:17 | call to user_input | by_reference.cpp:136:16:136:16 | a | a flows from $@ | by_reference.cpp:96:8:96:17 | call to user_input | call to user_input |
|
||||
| clearning.cpp:34:8:34:11 | * ... | clearning.cpp:32:10:32:19 | call to user_input | clearning.cpp:34:8:34:11 | * ... | * ... flows from $@ | clearning.cpp:32:10:32:19 | call to user_input | call to user_input |
|
||||
| clearning.cpp:55:10:55:10 | x indirection | clearning.cpp:53:10:53:19 | call to user_input | clearning.cpp:55:10:55:10 | x indirection | x indirection flows from $@ | clearning.cpp:53:10:53:19 | call to user_input | call to user_input |
|
||||
| clearning.cpp:62:10:62:10 | x indirection | clearning.cpp:60:11:60:20 | call to user_input | clearning.cpp:62:10:62:10 | x indirection | x indirection flows from $@ | clearning.cpp:60:11:60:20 | call to user_input | call to user_input |
|
||||
| clearning.cpp:76:7:76:12 | * ... | clearning.cpp:74:20:74:22 | argument_source output argument | clearning.cpp:76:7:76:12 | * ... | * ... flows from $@ | clearning.cpp:74:20:74:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:84:7:84:12 | * ... | clearning.cpp:81:20:81:22 | argument_source output argument | clearning.cpp:84:7:84:12 | * ... | * ... flows from $@ | clearning.cpp:81:20:81:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:91:7:91:12 | * ... | clearning.cpp:89:20:89:22 | argument_source output argument | clearning.cpp:91:7:91:12 | * ... | * ... flows from $@ | clearning.cpp:89:20:89:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:98:7:98:12 | * ... | clearning.cpp:96:20:96:22 | argument_source output argument | clearning.cpp:98:7:98:12 | * ... | * ... flows from $@ | clearning.cpp:96:20:96:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:105:7:105:12 | * ... | clearning.cpp:103:20:103:22 | argument_source output argument | clearning.cpp:105:7:105:12 | * ... | * ... flows from $@ | clearning.cpp:103:20:103:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:112:7:112:12 | * ... | clearning.cpp:110:20:110:22 | argument_source output argument | clearning.cpp:112:7:112:12 | * ... | * ... flows from $@ | clearning.cpp:110:20:110:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:119:7:119:12 | * ... | clearning.cpp:117:20:117:22 | argument_source output argument | clearning.cpp:119:7:119:12 | * ... | * ... flows from $@ | clearning.cpp:117:20:117:22 | argument_source output argument | argument_source output argument |
|
||||
| clearning.cpp:152:10:152:12 | val | clearning.cpp:151:11:151:20 | call to user_input | clearning.cpp:152:10:152:12 | val | val flows from $@ | clearning.cpp:151:11:151:20 | call to user_input | call to user_input |
|
||||
| complex.cpp:42:18:42:18 | call to a | complex.cpp:53:19:53:28 | call to user_input | complex.cpp:42:18:42:18 | call to a | call to a flows from $@ | complex.cpp:53:19:53:28 | call to user_input | call to user_input |
|
||||
| complex.cpp:42:18:42:18 | call to a | complex.cpp:55:19:55:28 | call to user_input | complex.cpp:42:18:42:18 | call to a | call to a flows from $@ | complex.cpp:55:19:55:28 | call to user_input | call to user_input |
|
||||
| complex.cpp:43:18:43:18 | call to b | complex.cpp:54:19:54:28 | call to user_input | complex.cpp:43:18:43:18 | call to b | call to b flows from $@ | complex.cpp:54:19:54:28 | call to user_input | call to user_input |
|
||||
|
||||
@@ -167,6 +167,66 @@
|
||||
| by_reference.cpp:88:9:88:9 | a | AST only |
|
||||
| by_reference.cpp:92:3:92:5 | * ... | AST only |
|
||||
| by_reference.cpp:96:3:96:4 | pa | AST only |
|
||||
| clearning.cpp:18:7:18:7 | s | IR only |
|
||||
| clearning.cpp:19:3:19:6 | * ... | AST only |
|
||||
| clearning.cpp:20:12:20:12 | s | IR only |
|
||||
| clearning.cpp:25:7:25:7 | s | IR only |
|
||||
| clearning.cpp:26:7:26:7 | s | IR only |
|
||||
| clearning.cpp:27:12:27:12 | s | IR only |
|
||||
| clearning.cpp:32:3:32:6 | * ... | AST only |
|
||||
| clearning.cpp:33:7:33:7 | s | IR only |
|
||||
| clearning.cpp:34:8:34:11 | * ... | IR only |
|
||||
| clearning.cpp:34:11:34:11 | s | IR only |
|
||||
| clearning.cpp:39:3:39:6 | * ... | AST only |
|
||||
| clearning.cpp:40:5:40:5 | x | AST only |
|
||||
| clearning.cpp:41:8:41:11 | * ... | IR only |
|
||||
| clearning.cpp:41:11:41:11 | s | IR only |
|
||||
| clearning.cpp:46:7:46:7 | s | IR only |
|
||||
| clearning.cpp:47:5:47:5 | x | AST only |
|
||||
| clearning.cpp:48:8:48:11 | * ... | IR only |
|
||||
| clearning.cpp:48:11:48:11 | s | IR only |
|
||||
| clearning.cpp:53:3:53:6 | * ... | AST only |
|
||||
| clearning.cpp:54:5:54:5 | x | AST only |
|
||||
| clearning.cpp:60:7:60:7 | s | IR only |
|
||||
| clearning.cpp:61:5:61:5 | x | AST only |
|
||||
| clearning.cpp:75:2:75:10 | access to array | AST only |
|
||||
| clearning.cpp:76:10:76:12 | s | IR only |
|
||||
| clearning.cpp:82:2:82:9 | access to array | AST only |
|
||||
| clearning.cpp:83:7:83:9 | val | AST only |
|
||||
| clearning.cpp:83:15:83:17 | s | IR only |
|
||||
| clearning.cpp:84:10:84:12 | s | IR only |
|
||||
| clearning.cpp:90:5:90:7 | val | AST only |
|
||||
| clearning.cpp:91:10:91:12 | s | IR only |
|
||||
| clearning.cpp:97:4:97:6 | val | AST only |
|
||||
| clearning.cpp:97:12:97:14 | s | IR only |
|
||||
| clearning.cpp:98:10:98:12 | s | IR only |
|
||||
| clearning.cpp:104:4:104:6 | val | AST only |
|
||||
| clearning.cpp:105:10:105:12 | s | IR only |
|
||||
| clearning.cpp:111:6:111:8 | val | AST only |
|
||||
| clearning.cpp:112:10:112:12 | s | IR only |
|
||||
| clearning.cpp:118:4:118:6 | val | AST only |
|
||||
| clearning.cpp:119:10:119:12 | s | IR only |
|
||||
| clearning.cpp:124:4:124:6 | val | AST only |
|
||||
| clearning.cpp:125:4:125:6 | val | AST only |
|
||||
| clearning.cpp:131:4:131:6 | val | AST only |
|
||||
| clearning.cpp:132:4:132:6 | val | AST only |
|
||||
| clearning.cpp:138:4:138:6 | val | AST only |
|
||||
| clearning.cpp:139:6:139:8 | val | AST only |
|
||||
| clearning.cpp:151:5:151:7 | val | AST only |
|
||||
| clearning.cpp:152:10:152:12 | s | IR only |
|
||||
| clearning.cpp:157:5:157:7 | val | AST only |
|
||||
| clearning.cpp:158:5:158:7 | val | AST only |
|
||||
| clearning.cpp:159:10:159:12 | s | IR only |
|
||||
| clearning.cpp:164:5:164:7 | val | AST only |
|
||||
| clearning.cpp:165:5:165:7 | val | AST only |
|
||||
| clearning.cpp:166:10:166:12 | s | IR only |
|
||||
| clearning.cpp:171:5:171:7 | val | AST only |
|
||||
| clearning.cpp:172:5:172:7 | val | AST only |
|
||||
| clearning.cpp:173:10:173:12 | s | IR only |
|
||||
| clearning.cpp:178:5:178:7 | val | AST only |
|
||||
| clearning.cpp:179:5:179:7 | val | AST only |
|
||||
| clearning.cpp:179:13:179:15 | s | IR only |
|
||||
| clearning.cpp:180:10:180:12 | s | IR only |
|
||||
| complex.cpp:9:20:9:21 | this | IR only |
|
||||
| complex.cpp:10:20:10:21 | this | IR only |
|
||||
| complex.cpp:11:22:11:23 | a_ | AST only |
|
||||
|
||||
@@ -408,6 +408,90 @@
|
||||
| by_reference.cpp:135:27:135:27 | a |
|
||||
| by_reference.cpp:136:8:136:13 | pouter |
|
||||
| by_reference.cpp:136:16:136:16 | a |
|
||||
| clearning.cpp:18:5:18:5 | s |
|
||||
| clearning.cpp:19:4:19:4 | s |
|
||||
| clearning.cpp:20:10:20:10 | s |
|
||||
| clearning.cpp:25:5:25:5 | s |
|
||||
| clearning.cpp:26:5:26:5 | s |
|
||||
| clearning.cpp:27:10:27:10 | s |
|
||||
| clearning.cpp:32:4:32:4 | s |
|
||||
| clearning.cpp:33:5:33:5 | s |
|
||||
| clearning.cpp:34:8:34:11 | * ... |
|
||||
| clearning.cpp:34:9:34:9 | s |
|
||||
| clearning.cpp:39:4:39:4 | s |
|
||||
| clearning.cpp:40:3:40:3 | s |
|
||||
| clearning.cpp:41:8:41:11 | * ... |
|
||||
| clearning.cpp:41:9:41:9 | s |
|
||||
| clearning.cpp:46:5:46:5 | s |
|
||||
| clearning.cpp:47:3:47:3 | s |
|
||||
| clearning.cpp:48:8:48:11 | * ... |
|
||||
| clearning.cpp:48:9:48:9 | s |
|
||||
| clearning.cpp:53:4:53:4 | s |
|
||||
| clearning.cpp:54:3:54:3 | s |
|
||||
| clearning.cpp:55:8:55:8 | s |
|
||||
| clearning.cpp:55:10:55:10 | x |
|
||||
| clearning.cpp:60:5:60:5 | s |
|
||||
| clearning.cpp:61:3:61:3 | s |
|
||||
| clearning.cpp:62:8:62:8 | s |
|
||||
| clearning.cpp:62:10:62:10 | x |
|
||||
| clearning.cpp:74:18:74:18 | s |
|
||||
| clearning.cpp:74:20:74:22 | val |
|
||||
| clearning.cpp:75:2:75:2 | s |
|
||||
| clearning.cpp:76:8:76:8 | s |
|
||||
| clearning.cpp:81:18:81:18 | s |
|
||||
| clearning.cpp:81:20:81:22 | val |
|
||||
| clearning.cpp:82:2:82:2 | s |
|
||||
| clearning.cpp:83:5:83:5 | s |
|
||||
| clearning.cpp:83:13:83:13 | s |
|
||||
| clearning.cpp:84:8:84:8 | s |
|
||||
| clearning.cpp:89:18:89:18 | s |
|
||||
| clearning.cpp:89:20:89:22 | val |
|
||||
| clearning.cpp:90:3:90:3 | s |
|
||||
| clearning.cpp:91:8:91:8 | s |
|
||||
| clearning.cpp:96:18:96:18 | s |
|
||||
| clearning.cpp:96:20:96:22 | val |
|
||||
| clearning.cpp:97:2:97:2 | s |
|
||||
| clearning.cpp:97:10:97:10 | s |
|
||||
| clearning.cpp:98:8:98:8 | s |
|
||||
| clearning.cpp:103:18:103:18 | s |
|
||||
| clearning.cpp:103:20:103:22 | val |
|
||||
| clearning.cpp:104:2:104:2 | s |
|
||||
| clearning.cpp:105:8:105:8 | s |
|
||||
| clearning.cpp:110:18:110:18 | s |
|
||||
| clearning.cpp:110:20:110:22 | val |
|
||||
| clearning.cpp:111:4:111:4 | s |
|
||||
| clearning.cpp:112:8:112:8 | s |
|
||||
| clearning.cpp:117:18:117:18 | s |
|
||||
| clearning.cpp:117:20:117:22 | val |
|
||||
| clearning.cpp:118:2:118:2 | s |
|
||||
| clearning.cpp:119:8:119:8 | s |
|
||||
| clearning.cpp:124:2:124:2 | s |
|
||||
| clearning.cpp:125:2:125:2 | s |
|
||||
| clearning.cpp:126:7:126:7 | s |
|
||||
| clearning.cpp:126:9:126:11 | val |
|
||||
| clearning.cpp:131:2:131:2 | s |
|
||||
| clearning.cpp:132:2:132:2 | s |
|
||||
| clearning.cpp:133:7:133:7 | s |
|
||||
| clearning.cpp:133:9:133:11 | val |
|
||||
| clearning.cpp:138:2:138:2 | s |
|
||||
| clearning.cpp:139:4:139:4 | s |
|
||||
| clearning.cpp:140:7:140:7 | s |
|
||||
| clearning.cpp:140:9:140:11 | val |
|
||||
| clearning.cpp:151:3:151:3 | s |
|
||||
| clearning.cpp:152:8:152:8 | s |
|
||||
| clearning.cpp:157:3:157:3 | s |
|
||||
| clearning.cpp:158:3:158:3 | s |
|
||||
| clearning.cpp:159:8:159:8 | s |
|
||||
| clearning.cpp:164:3:164:3 | s |
|
||||
| clearning.cpp:165:3:165:3 | s |
|
||||
| clearning.cpp:166:8:166:8 | s |
|
||||
| clearning.cpp:171:3:171:3 | s |
|
||||
| clearning.cpp:172:3:172:3 | s |
|
||||
| clearning.cpp:173:8:173:8 | s |
|
||||
| clearning.cpp:178:3:178:3 | s |
|
||||
| clearning.cpp:179:3:179:3 | s |
|
||||
| clearning.cpp:179:11:179:11 | s |
|
||||
| clearning.cpp:180:8:180:8 | s |
|
||||
| complex.cpp:9:20:9:21 | this |
|
||||
| complex.cpp:10:20:10:21 | this |
|
||||
| complex.cpp:11:22:11:23 | this |
|
||||
|
||||
@@ -348,6 +348,92 @@
|
||||
| by_reference.cpp:135:27:135:27 | a |
|
||||
| by_reference.cpp:136:8:136:13 | pouter |
|
||||
| by_reference.cpp:136:16:136:16 | a |
|
||||
| clearning.cpp:19:3:19:6 | * ... |
|
||||
| clearning.cpp:19:4:19:4 | s |
|
||||
| clearning.cpp:32:3:32:6 | * ... |
|
||||
| clearning.cpp:32:4:32:4 | s |
|
||||
| clearning.cpp:39:3:39:6 | * ... |
|
||||
| clearning.cpp:39:4:39:4 | s |
|
||||
| clearning.cpp:40:3:40:3 | s |
|
||||
| clearning.cpp:40:5:40:5 | x |
|
||||
| clearning.cpp:47:3:47:3 | s |
|
||||
| clearning.cpp:47:5:47:5 | x |
|
||||
| clearning.cpp:53:3:53:6 | * ... |
|
||||
| clearning.cpp:53:4:53:4 | s |
|
||||
| clearning.cpp:54:3:54:3 | s |
|
||||
| clearning.cpp:54:5:54:5 | x |
|
||||
| clearning.cpp:55:8:55:8 | s |
|
||||
| clearning.cpp:55:10:55:10 | x |
|
||||
| clearning.cpp:61:3:61:3 | s |
|
||||
| clearning.cpp:61:5:61:5 | x |
|
||||
| clearning.cpp:62:8:62:8 | s |
|
||||
| clearning.cpp:62:10:62:10 | x |
|
||||
| clearning.cpp:74:18:74:18 | s |
|
||||
| clearning.cpp:74:20:74:22 | val |
|
||||
| clearning.cpp:75:2:75:2 | s |
|
||||
| clearning.cpp:75:2:75:10 | access to array |
|
||||
| clearning.cpp:81:18:81:18 | s |
|
||||
| clearning.cpp:81:20:81:22 | val |
|
||||
| clearning.cpp:82:2:82:2 | s |
|
||||
| clearning.cpp:82:2:82:9 | access to array |
|
||||
| clearning.cpp:83:5:83:5 | s |
|
||||
| clearning.cpp:83:7:83:9 | val |
|
||||
| clearning.cpp:89:18:89:18 | s |
|
||||
| clearning.cpp:89:20:89:22 | val |
|
||||
| clearning.cpp:90:3:90:3 | s |
|
||||
| clearning.cpp:90:5:90:7 | val |
|
||||
| clearning.cpp:96:18:96:18 | s |
|
||||
| clearning.cpp:96:20:96:22 | val |
|
||||
| clearning.cpp:97:2:97:2 | s |
|
||||
| clearning.cpp:97:4:97:6 | val |
|
||||
| clearning.cpp:103:18:103:18 | s |
|
||||
| clearning.cpp:103:20:103:22 | val |
|
||||
| clearning.cpp:104:2:104:2 | s |
|
||||
| clearning.cpp:104:4:104:6 | val |
|
||||
| clearning.cpp:110:18:110:18 | s |
|
||||
| clearning.cpp:110:20:110:22 | val |
|
||||
| clearning.cpp:111:4:111:4 | s |
|
||||
| clearning.cpp:111:6:111:8 | val |
|
||||
| clearning.cpp:117:18:117:18 | s |
|
||||
| clearning.cpp:117:20:117:22 | val |
|
||||
| clearning.cpp:118:2:118:2 | s |
|
||||
| clearning.cpp:118:4:118:6 | val |
|
||||
| clearning.cpp:124:2:124:2 | s |
|
||||
| clearning.cpp:124:4:124:6 | val |
|
||||
| clearning.cpp:125:2:125:2 | s |
|
||||
| clearning.cpp:125:4:125:6 | val |
|
||||
| clearning.cpp:126:7:126:7 | s |
|
||||
| clearning.cpp:126:9:126:11 | val |
|
||||
| clearning.cpp:131:2:131:2 | s |
|
||||
| clearning.cpp:131:4:131:6 | val |
|
||||
| clearning.cpp:132:2:132:2 | s |
|
||||
| clearning.cpp:132:4:132:6 | val |
|
||||
| clearning.cpp:133:7:133:7 | s |
|
||||
| clearning.cpp:133:9:133:11 | val |
|
||||
| clearning.cpp:138:2:138:2 | s |
|
||||
| clearning.cpp:138:4:138:6 | val |
|
||||
| clearning.cpp:139:4:139:4 | s |
|
||||
| clearning.cpp:139:6:139:8 | val |
|
||||
| clearning.cpp:140:7:140:7 | s |
|
||||
| clearning.cpp:140:9:140:11 | val |
|
||||
| clearning.cpp:151:3:151:3 | s |
|
||||
| clearning.cpp:151:5:151:7 | val |
|
||||
| clearning.cpp:157:3:157:3 | s |
|
||||
| clearning.cpp:157:5:157:7 | val |
|
||||
| clearning.cpp:158:3:158:3 | s |
|
||||
| clearning.cpp:158:5:158:7 | val |
|
||||
| clearning.cpp:164:3:164:3 | s |
|
||||
| clearning.cpp:164:5:164:7 | val |
|
||||
| clearning.cpp:165:3:165:3 | s |
|
||||
| clearning.cpp:165:5:165:7 | val |
|
||||
| clearning.cpp:171:3:171:3 | s |
|
||||
| clearning.cpp:171:5:171:7 | val |
|
||||
| clearning.cpp:172:3:172:3 | s |
|
||||
| clearning.cpp:172:5:172:7 | val |
|
||||
| clearning.cpp:178:3:178:3 | s |
|
||||
| clearning.cpp:178:5:178:7 | val |
|
||||
| clearning.cpp:179:3:179:3 | s |
|
||||
| clearning.cpp:179:5:179:7 | val |
|
||||
| complex.cpp:11:22:11:23 | a_ |
|
||||
| complex.cpp:11:22:11:23 | this |
|
||||
| complex.cpp:12:22:12:23 | b_ |
|
||||
|
||||
@@ -448,6 +448,42 @@ edges
|
||||
| by_reference.cpp:135:8:135:13 | pouter [inner_ptr, a] | by_reference.cpp:135:16:135:24 | inner_ptr [a] |
|
||||
| by_reference.cpp:135:16:135:24 | inner_ptr [a] | by_reference.cpp:135:27:135:27 | a |
|
||||
| by_reference.cpp:136:8:136:13 | pouter [a] | by_reference.cpp:136:16:136:16 | a |
|
||||
| clearning.cpp:53:4:53:4 | s [post update] [x] | clearning.cpp:55:8:55:8 | s [x] |
|
||||
| clearning.cpp:53:6:53:6 | x [inner post update] | clearning.cpp:53:4:53:4 | s [post update] [x] |
|
||||
| clearning.cpp:53:10:53:19 | call to user_input | clearning.cpp:53:6:53:6 | x [inner post update] |
|
||||
| clearning.cpp:55:8:55:8 | s [x] | clearning.cpp:55:10:55:10 | x |
|
||||
| clearning.cpp:124:2:124:2 | s [post update] [val] | clearning.cpp:126:7:126:7 | s [val] |
|
||||
| clearning.cpp:124:2:124:25 | ... = ... | clearning.cpp:124:2:124:2 | s [post update] [val] |
|
||||
| clearning.cpp:124:10:124:19 | call to user_input | clearning.cpp:124:2:124:25 | ... = ... |
|
||||
| clearning.cpp:126:7:126:7 | s [val] | clearning.cpp:126:9:126:11 | val |
|
||||
| clearning.cpp:131:2:131:2 | s [post update] [val] | clearning.cpp:133:7:133:7 | s [val] |
|
||||
| clearning.cpp:131:2:131:25 | ... = ... | clearning.cpp:131:2:131:2 | s [post update] [val] |
|
||||
| clearning.cpp:131:10:131:19 | call to user_input | clearning.cpp:131:2:131:25 | ... = ... |
|
||||
| clearning.cpp:133:7:133:7 | s [val] | clearning.cpp:133:9:133:11 | val |
|
||||
| clearning.cpp:138:2:138:2 | s [post update] [val] | clearning.cpp:140:7:140:7 | s [val] |
|
||||
| clearning.cpp:138:2:138:25 | ... = ... | clearning.cpp:138:2:138:2 | s [post update] [val] |
|
||||
| clearning.cpp:138:10:138:19 | call to user_input | clearning.cpp:138:2:138:25 | ... = ... |
|
||||
| clearning.cpp:140:7:140:7 | s [val] | clearning.cpp:140:9:140:11 | val |
|
||||
| clearning.cpp:151:3:151:3 | s [post update] [val] | clearning.cpp:152:8:152:8 | s [val] |
|
||||
| clearning.cpp:151:3:151:22 | ... = ... | clearning.cpp:151:3:151:3 | s [post update] [val] |
|
||||
| clearning.cpp:151:11:151:20 | call to user_input | clearning.cpp:151:3:151:22 | ... = ... |
|
||||
| clearning.cpp:152:8:152:8 | s [val] | clearning.cpp:152:10:152:12 | val |
|
||||
| clearning.cpp:157:3:157:3 | s [post update] [val] | clearning.cpp:159:8:159:8 | s [val] |
|
||||
| clearning.cpp:157:3:157:22 | ... = ... | clearning.cpp:157:3:157:3 | s [post update] [val] |
|
||||
| clearning.cpp:157:11:157:20 | call to user_input | clearning.cpp:157:3:157:22 | ... = ... |
|
||||
| clearning.cpp:159:8:159:8 | s [val] | clearning.cpp:159:10:159:12 | val |
|
||||
| clearning.cpp:164:3:164:3 | s [post update] [val] | clearning.cpp:166:8:166:8 | s [val] |
|
||||
| clearning.cpp:164:3:164:22 | ... = ... | clearning.cpp:164:3:164:3 | s [post update] [val] |
|
||||
| clearning.cpp:164:11:164:20 | call to user_input | clearning.cpp:164:3:164:22 | ... = ... |
|
||||
| clearning.cpp:166:8:166:8 | s [val] | clearning.cpp:166:10:166:12 | val |
|
||||
| clearning.cpp:171:3:171:3 | s [post update] [val] | clearning.cpp:173:8:173:8 | s [val] |
|
||||
| clearning.cpp:171:3:171:22 | ... = ... | clearning.cpp:171:3:171:3 | s [post update] [val] |
|
||||
| clearning.cpp:171:11:171:20 | call to user_input | clearning.cpp:171:3:171:22 | ... = ... |
|
||||
| clearning.cpp:173:8:173:8 | s [val] | clearning.cpp:173:10:173:12 | val |
|
||||
| clearning.cpp:178:3:178:3 | s [post update] [val] | clearning.cpp:180:8:180:8 | s [val] |
|
||||
| clearning.cpp:178:3:178:22 | ... = ... | clearning.cpp:178:3:178:3 | s [post update] [val] |
|
||||
| clearning.cpp:178:11:178:20 | call to user_input | clearning.cpp:178:3:178:22 | ... = ... |
|
||||
| clearning.cpp:180:8:180:8 | s [val] | clearning.cpp:180:10:180:12 | val |
|
||||
| complex.cpp:9:7:9:7 | this [a_] | complex.cpp:9:20:9:21 | this [a_] |
|
||||
| complex.cpp:9:20:9:21 | this [a_] | complex.cpp:9:20:9:21 | a_ |
|
||||
| complex.cpp:10:7:10:7 | this [b_] | complex.cpp:10:20:10:21 | this [b_] |
|
||||
@@ -1155,6 +1191,51 @@ nodes
|
||||
| by_reference.cpp:135:27:135:27 | a | semmle.label | a |
|
||||
| by_reference.cpp:136:8:136:13 | pouter [a] | semmle.label | pouter [a] |
|
||||
| by_reference.cpp:136:16:136:16 | a | semmle.label | a |
|
||||
| clearning.cpp:53:4:53:4 | s [post update] [x] | semmle.label | s [post update] [x] |
|
||||
| clearning.cpp:53:6:53:6 | x [inner post update] | semmle.label | x [inner post update] |
|
||||
| clearning.cpp:53:10:53:19 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:55:8:55:8 | s [x] | semmle.label | s [x] |
|
||||
| clearning.cpp:55:10:55:10 | x | semmle.label | x |
|
||||
| clearning.cpp:124:2:124:2 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:124:2:124:25 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:124:10:124:19 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:126:7:126:7 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:126:9:126:11 | val | semmle.label | val |
|
||||
| clearning.cpp:131:2:131:2 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:131:2:131:25 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:131:10:131:19 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:133:7:133:7 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:133:9:133:11 | val | semmle.label | val |
|
||||
| clearning.cpp:138:2:138:2 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:138:2:138:25 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:138:10:138:19 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:140:7:140:7 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:140:9:140:11 | val | semmle.label | val |
|
||||
| clearning.cpp:151:3:151:3 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:151:3:151:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:151:11:151:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:152:8:152:8 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:152:10:152:12 | val | semmle.label | val |
|
||||
| clearning.cpp:157:3:157:3 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:157:3:157:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:157:11:157:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:159:8:159:8 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:159:10:159:12 | val | semmle.label | val |
|
||||
| clearning.cpp:164:3:164:3 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:164:3:164:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:164:11:164:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:166:8:166:8 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:166:10:166:12 | val | semmle.label | val |
|
||||
| clearning.cpp:171:3:171:3 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:171:3:171:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:171:11:171:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:173:8:173:8 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:173:10:173:12 | val | semmle.label | val |
|
||||
| clearning.cpp:178:3:178:3 | s [post update] [val] | semmle.label | s [post update] [val] |
|
||||
| clearning.cpp:178:3:178:22 | ... = ... | semmle.label | ... = ... |
|
||||
| clearning.cpp:178:11:178:20 | call to user_input | semmle.label | call to user_input |
|
||||
| clearning.cpp:180:8:180:8 | s [val] | semmle.label | s [val] |
|
||||
| clearning.cpp:180:10:180:12 | val | semmle.label | val |
|
||||
| complex.cpp:9:7:9:7 | this [a_] | semmle.label | this [a_] |
|
||||
| complex.cpp:9:20:9:21 | a_ | semmle.label | a_ |
|
||||
| complex.cpp:9:20:9:21 | this [a_] | semmle.label | this [a_] |
|
||||
@@ -1551,6 +1632,15 @@ subpaths
|
||||
| by_reference.cpp:134:29:134:29 | a | by_reference.cpp:88:13:88:22 | call to user_input | by_reference.cpp:134:29:134:29 | a | a flows from $@ | by_reference.cpp:88:13:88:22 | call to user_input | call to user_input |
|
||||
| by_reference.cpp:135:27:135:27 | a | by_reference.cpp:88:13:88:22 | call to user_input | by_reference.cpp:135:27:135:27 | a | a flows from $@ | by_reference.cpp:88:13:88:22 | call to user_input | call to user_input |
|
||||
| by_reference.cpp:136:16:136:16 | a | by_reference.cpp:96:8:96:17 | call to user_input | by_reference.cpp:136:16:136:16 | a | a flows from $@ | by_reference.cpp:96:8:96:17 | call to user_input | call to user_input |
|
||||
| clearning.cpp:55:10:55:10 | x | clearning.cpp:53:10:53:19 | call to user_input | clearning.cpp:55:10:55:10 | x | x flows from $@ | clearning.cpp:53:10:53:19 | call to user_input | call to user_input |
|
||||
| clearning.cpp:126:9:126:11 | val | clearning.cpp:124:10:124:19 | call to user_input | clearning.cpp:126:9:126:11 | val | val flows from $@ | clearning.cpp:124:10:124:19 | call to user_input | call to user_input |
|
||||
| clearning.cpp:133:9:133:11 | val | clearning.cpp:131:10:131:19 | call to user_input | clearning.cpp:133:9:133:11 | val | val flows from $@ | clearning.cpp:131:10:131:19 | call to user_input | call to user_input |
|
||||
| clearning.cpp:140:9:140:11 | val | clearning.cpp:138:10:138:19 | call to user_input | clearning.cpp:140:9:140:11 | val | val flows from $@ | clearning.cpp:138:10:138:19 | call to user_input | call to user_input |
|
||||
| clearning.cpp:152:10:152:12 | val | clearning.cpp:151:11:151:20 | call to user_input | clearning.cpp:152:10:152:12 | val | val flows from $@ | clearning.cpp:151:11:151:20 | call to user_input | call to user_input |
|
||||
| clearning.cpp:159:10:159:12 | val | clearning.cpp:157:11:157:20 | call to user_input | clearning.cpp:159:10:159:12 | val | val flows from $@ | clearning.cpp:157:11:157:20 | call to user_input | call to user_input |
|
||||
| clearning.cpp:166:10:166:12 | val | clearning.cpp:164:11:164:20 | call to user_input | clearning.cpp:166:10:166:12 | val | val flows from $@ | clearning.cpp:164:11:164:20 | call to user_input | call to user_input |
|
||||
| clearning.cpp:173:10:173:12 | val | clearning.cpp:171:11:171:20 | call to user_input | clearning.cpp:173:10:173:12 | val | val flows from $@ | clearning.cpp:171:11:171:20 | call to user_input | call to user_input |
|
||||
| clearning.cpp:180:10:180:12 | val | clearning.cpp:178:11:178:20 | call to user_input | clearning.cpp:180:10:180:12 | val | val flows from $@ | clearning.cpp:178:11:178:20 | call to user_input | call to user_input |
|
||||
| complex.cpp:42:18:42:18 | call to a | complex.cpp:53:19:53:28 | call to user_input | complex.cpp:42:18:42:18 | call to a | call to a flows from $@ | complex.cpp:53:19:53:28 | call to user_input | call to user_input |
|
||||
| complex.cpp:42:18:42:18 | call to a | complex.cpp:55:19:55:28 | call to user_input | complex.cpp:42:18:42:18 | call to a | call to a flows from $@ | complex.cpp:55:19:55:28 | call to user_input | call to user_input |
|
||||
| complex.cpp:43:18:43:18 | call to b | complex.cpp:54:19:54:28 | call to user_input | complex.cpp:43:18:43:18 | call to b | call to b flows from $@ | complex.cpp:54:19:54:28 | call to user_input | call to user_input |
|
||||
|
||||
Reference in New Issue
Block a user