mirror of
https://github.com/hohn/codeql-workshop-dataflow-c.git
synced 2025-12-16 10:33:04 +01:00
Initial commit
This commit is contained in:
25
exercises-tests/Exercise1/Exercise1.expected
Normal file
25
exercises-tests/Exercise1/Exercise1.expected
Normal file
@@ -0,0 +1,25 @@
|
||||
| test.c:30:10:30:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:30:28:30:35 | access to array | Access of dynamic input array. |
|
||||
| test.c:31:10:31:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:36:10:36:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:36:28:36:35 | access to array | Access of dynamic input array. |
|
||||
| test.c:37:10:37:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:43:10:43:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:43:28:43:35 | access to array | Access of dynamic input array. |
|
||||
| test.c:44:10:44:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:48:12:48:19 | access to array | Access of dynamic input array. |
|
||||
| test.c:48:30:48:37 | access to array | Access of dynamic input array. |
|
||||
| test.c:49:12:49:19 | access to array | Access of dynamic input array. |
|
||||
| test.c:56:10:56:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:56:28:56:35 | access to array | Access of dynamic input array. |
|
||||
| test.c:57:10:57:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:65:18:65:25 | access to array | Access of dynamic input array. |
|
||||
| test.c:66:18:66:25 | access to array | Access of dynamic input array. |
|
||||
| test.c:70:16:70:23 | access to array | Access of dynamic input array. |
|
||||
| test.c:71:16:71:23 | access to array | Access of dynamic input array. |
|
||||
| test.c:77:12:77:19 | access to array | Access of dynamic input array. |
|
||||
| test.c:77:31:77:38 | access to array | Access of dynamic input array. |
|
||||
| test.c:78:19:78:26 | access to array | Access of dynamic input array. |
|
||||
| test.c:82:10:82:17 | access to array | Access of dynamic input array. |
|
||||
| test.c:82:29:82:36 | access to array | Access of dynamic input array. |
|
||||
| test.c:83:17:83:24 | access to array | Access of dynamic input array. |
|
||||
1
exercises-tests/Exercise1/Exercise1.qlref
Normal file
1
exercises-tests/Exercise1/Exercise1.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise1.ql
|
||||
59
exercises-tests/Exercise10/Exercise10.expected
Normal file
59
exercises-tests/Exercise10/Exercise10.expected
Normal file
@@ -0,0 +1,59 @@
|
||||
edges
|
||||
| test.c:31:35:31:39 | input | test.c:32:10:32:14 | input |
|
||||
| test.c:31:35:31:39 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:31:35:31:39 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:38:10:38:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:79:16:79:20 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:93:10:93:14 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:104:29:104:33 | input | test.c:105:22:105:26 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:36:48:36:52 | input |
|
||||
| test.c:108:30:108:34 | input | test.c:109:20:109:24 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:70:28:70:32 | input |
|
||||
| test.c:112:37:112:41 | input | test.c:113:27:113:31 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:84:35:84:39 | input |
|
||||
nodes
|
||||
| test.c:31:35:31:39 | input | semmle.label | input |
|
||||
| test.c:32:10:32:14 | input | semmle.label | input |
|
||||
| test.c:32:28:32:32 | input | semmle.label | input |
|
||||
| test.c:33:10:33:14 | input | semmle.label | input |
|
||||
| test.c:36:48:36:52 | input | semmle.label | input |
|
||||
| test.c:38:10:38:14 | input | semmle.label | input |
|
||||
| test.c:38:28:38:32 | input | semmle.label | input |
|
||||
| test.c:39:10:39:14 | input | semmle.label | input |
|
||||
| test.c:40:19:40:23 | input | semmle.label | input |
|
||||
| test.c:70:28:70:32 | input | semmle.label | input |
|
||||
| test.c:74:19:74:23 | input | semmle.label | input |
|
||||
| test.c:79:16:79:20 | input | semmle.label | input |
|
||||
| test.c:80:16:80:20 | input | semmle.label | input |
|
||||
| test.c:84:35:84:39 | input | semmle.label | input |
|
||||
| test.c:89:26:89:30 | input | semmle.label | input |
|
||||
| test.c:93:10:93:14 | input | semmle.label | input |
|
||||
| test.c:93:29:93:33 | input | semmle.label | input |
|
||||
| test.c:104:29:104:33 | input | semmle.label | input |
|
||||
| test.c:105:22:105:26 | input | semmle.label | input |
|
||||
| test.c:108:30:108:34 | input | semmle.label | input |
|
||||
| test.c:109:20:109:24 | input | semmle.label | input |
|
||||
| test.c:112:37:112:41 | input | semmle.label | input |
|
||||
| test.c:113:27:113:31 | input | semmle.label | input |
|
||||
subpaths
|
||||
#select
|
||||
| test.c:32:10:32:14 | input | test.c:104:29:104:33 | input | test.c:32:10:32:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:28:32:32 | input | test.c:104:29:104:33 | input | test.c:32:28:32:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:33:10:33:14 | input | test.c:104:29:104:33 | input | test.c:33:10:33:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:38:10:38:14 | input | test.c:104:29:104:33 | input | test.c:38:10:38:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:38:28:38:32 | input | test.c:104:29:104:33 | input | test.c:38:28:38:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:39:10:39:14 | input | test.c:104:29:104:33 | input | test.c:39:10:39:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:74:19:74:23 | input | test.c:108:30:108:34 | input | test.c:74:19:74:23 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:79:16:79:20 | input | test.c:108:30:108:34 | input | test.c:79:16:79:20 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:80:16:80:20 | input | test.c:108:30:108:34 | input | test.c:80:16:80:20 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:89:26:89:30 | input | test.c:112:37:112:41 | input | test.c:89:26:89:30 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:93:10:93:14 | input | test.c:112:37:112:41 | input | test.c:93:10:93:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:93:29:93:33 | input | test.c:112:37:112:41 | input | test.c:93:29:93:33 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
1
exercises-tests/Exercise10/Exercise10.qlref
Normal file
1
exercises-tests/Exercise10/Exercise10.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise10.ql
|
||||
156
exercises-tests/Exercise11/Exercise11.expected
Normal file
156
exercises-tests/Exercise11/Exercise11.expected
Normal file
@@ -0,0 +1,156 @@
|
||||
edges
|
||||
| test.c:31:35:31:39 | input | test.c:31:35:31:39 | input indirection |
|
||||
| test.c:31:35:31:39 | input | test.c:31:35:31:39 | input indirection |
|
||||
| test.c:31:35:31:39 | input indirection | test.c:31:35:31:39 | input |
|
||||
| test.c:31:35:31:39 | input indirection | test.c:32:10:32:14 | input |
|
||||
| test.c:31:35:31:39 | input indirection | test.c:32:10:32:14 | input |
|
||||
| test.c:32:10:32:14 | input | test.c:32:10:32:14 | input |
|
||||
| test.c:32:10:32:14 | input | test.c:32:10:32:14 | input |
|
||||
| test.c:32:10:32:14 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:32:10:32:14 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:32:28:32:32 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:32:28:32:32 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:32:28:32:32 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:32:28:32:32 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:33:10:33:14 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:33:10:33:14 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:36:48:36:52 | input indirection |
|
||||
| test.c:36:48:36:52 | input | test.c:36:48:36:52 | input indirection |
|
||||
| test.c:36:48:36:52 | input indirection | test.c:36:48:36:52 | input |
|
||||
| test.c:36:48:36:52 | input indirection | test.c:38:10:38:14 | input |
|
||||
| test.c:36:48:36:52 | input indirection | test.c:38:10:38:14 | input |
|
||||
| test.c:38:10:38:14 | input | test.c:38:10:38:14 | input |
|
||||
| test.c:38:10:38:14 | input | test.c:38:10:38:14 | input |
|
||||
| test.c:38:10:38:14 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:38:10:38:14 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:38:28:38:32 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:38:28:38:32 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:38:28:38:32 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:38:28:38:32 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:39:10:39:14 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:39:10:39:14 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:39:10:39:14 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:39:10:39:14 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:45:22:45:26 | input |
|
||||
| test.c:45:3:45:27 | ... = ... | test.c:46:10:46:14 | input |
|
||||
| test.c:45:11:45:20 | call to lock_input | test.c:45:3:45:27 | ... = ... |
|
||||
| test.c:45:22:45:26 | input | test.c:45:22:45:26 | input |
|
||||
| test.c:46:10:46:14 | input | test.c:46:10:46:14 | input |
|
||||
| test.c:46:10:46:14 | input | test.c:46:28:46:32 | input |
|
||||
| test.c:46:28:46:32 | input | test.c:46:28:46:32 | input |
|
||||
| test.c:46:28:46:32 | input | test.c:47:10:47:14 | input |
|
||||
| test.c:47:10:47:14 | input | test.c:47:10:47:14 | input |
|
||||
| test.c:47:10:47:14 | input | test.c:48:19:48:23 | input |
|
||||
| test.c:48:19:48:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:48:19:48:23 | input | test.c:48:19:48:23 | input |
|
||||
| test.c:48:19:48:23 | input | test.c:51:12:51:16 | input |
|
||||
| test.c:48:19:48:23 | input | test.c:55:21:55:25 | input |
|
||||
| test.c:48:19:48:23 | input | test.c:58:7:58:17 | Phi |
|
||||
| test.c:51:12:51:16 | input | test.c:51:12:51:16 | input |
|
||||
| test.c:51:12:51:16 | input | test.c:51:30:51:34 | input |
|
||||
| test.c:51:30:51:34 | input | test.c:51:30:51:34 | input |
|
||||
| test.c:51:30:51:34 | input | test.c:52:12:52:16 | input |
|
||||
| test.c:52:12:52:16 | input | test.c:52:12:52:16 | input |
|
||||
| test.c:52:12:52:16 | input | test.c:58:7:58:17 | Phi |
|
||||
| test.c:55:21:55:25 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:55:21:55:25 | input | test.c:55:21:55:25 | input |
|
||||
| test.c:55:21:55:25 | input | test.c:58:7:58:17 | Phi |
|
||||
| test.c:58:7:58:17 | Phi | test.c:63:10:63:14 | input |
|
||||
| test.c:63:10:63:14 | input | test.c:63:10:63:14 | input |
|
||||
| test.c:63:10:63:14 | input | test.c:63:28:63:32 | input |
|
||||
| test.c:63:28:63:32 | input | test.c:63:28:63:32 | input |
|
||||
| test.c:63:28:63:32 | input | test.c:64:10:64:14 | input |
|
||||
| test.c:64:10:64:14 | input | test.c:64:10:64:14 | input |
|
||||
| test.c:64:10:64:14 | input | test.c:65:19:65:23 | input |
|
||||
| test.c:65:19:65:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:65:19:65:23 | input | test.c:65:19:65:23 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:70:28:70:32 | input indirection |
|
||||
| test.c:70:28:70:32 | input | test.c:70:28:70:32 | input indirection |
|
||||
| test.c:70:28:70:32 | input indirection | test.c:70:28:70:32 | input |
|
||||
| test.c:70:28:70:32 | input indirection | test.c:72:18:72:22 | input |
|
||||
| test.c:70:28:70:32 | input indirection | test.c:72:18:72:22 | input |
|
||||
| test.c:70:28:70:32 | input indirection | test.c:79:16:79:20 | input |
|
||||
| test.c:70:28:70:32 | input indirection | test.c:79:16:79:20 | input |
|
||||
| test.c:72:18:72:22 | input | test.c:72:18:72:22 | input |
|
||||
| test.c:72:18:72:22 | input | test.c:72:18:72:22 | input |
|
||||
| test.c:72:18:72:22 | input | test.c:73:18:73:22 | input |
|
||||
| test.c:72:18:72:22 | input | test.c:73:18:73:22 | input |
|
||||
| test.c:73:18:73:22 | input | test.c:73:18:73:22 | input |
|
||||
| test.c:73:18:73:22 | input | test.c:73:18:73:22 | input |
|
||||
| test.c:73:18:73:22 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:73:18:73:22 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:74:19:74:23 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:74:19:74:23 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:74:19:74:23 | input | test.c:75:21:75:25 | input |
|
||||
| test.c:74:19:74:23 | input | test.c:75:21:75:25 | input |
|
||||
| test.c:75:21:75:25 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:75:21:75:25 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:75:21:75:25 | input | test.c:75:21:75:25 | input |
|
||||
| test.c:75:21:75:25 | input | test.c:75:21:75:25 | input |
|
||||
| test.c:79:16:79:20 | input | test.c:79:16:79:20 | input |
|
||||
| test.c:79:16:79:20 | input | test.c:79:16:79:20 | input |
|
||||
| test.c:79:16:79:20 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:79:16:79:20 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:80:16:80:20 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:80:16:80:20 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:84:35:84:39 | input indirection |
|
||||
| test.c:84:35:84:39 | input | test.c:84:35:84:39 | input indirection |
|
||||
| test.c:84:35:84:39 | input indirection | test.c:84:35:84:39 | input |
|
||||
| test.c:84:35:84:39 | input indirection | test.c:86:12:86:16 | input |
|
||||
| test.c:84:35:84:39 | input indirection | test.c:86:12:86:16 | input |
|
||||
| test.c:84:35:84:39 | input indirection | test.c:93:10:93:14 | input |
|
||||
| test.c:84:35:84:39 | input indirection | test.c:93:10:93:14 | input |
|
||||
| test.c:86:12:86:16 | input | test.c:86:12:86:16 | input |
|
||||
| test.c:86:12:86:16 | input | test.c:86:12:86:16 | input |
|
||||
| test.c:86:12:86:16 | input | test.c:86:31:86:35 | input |
|
||||
| test.c:86:12:86:16 | input | test.c:86:31:86:35 | input |
|
||||
| test.c:86:31:86:35 | input | test.c:86:31:86:35 | input |
|
||||
| test.c:86:31:86:35 | input | test.c:86:31:86:35 | input |
|
||||
| test.c:86:31:86:35 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:86:31:86:35 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:89:26:89:30 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:89:26:89:30 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:93:10:93:14 | input | test.c:93:10:93:14 | input |
|
||||
| test.c:93:10:93:14 | input | test.c:93:10:93:14 | input |
|
||||
| test.c:93:10:93:14 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:93:10:93:14 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:93:29:93:33 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:93:29:93:33 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:104:29:104:33 | input | test.c:104:29:104:33 | input indirection |
|
||||
| test.c:104:29:104:33 | input | test.c:104:29:104:33 | input indirection |
|
||||
| test.c:104:29:104:33 | input indirection | test.c:104:29:104:33 | input |
|
||||
| test.c:104:29:104:33 | input indirection | test.c:105:22:105:26 | input |
|
||||
| test.c:104:29:104:33 | input indirection | test.c:105:22:105:26 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:36:48:36:52 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:36:48:36:52 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:105:22:105:26 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:105:22:105:26 | input |
|
||||
| test.c:108:30:108:34 | input | test.c:108:30:108:34 | input indirection |
|
||||
| test.c:108:30:108:34 | input | test.c:108:30:108:34 | input indirection |
|
||||
| test.c:108:30:108:34 | input indirection | test.c:108:30:108:34 | input |
|
||||
| test.c:108:30:108:34 | input indirection | test.c:109:20:109:24 | input |
|
||||
| test.c:108:30:108:34 | input indirection | test.c:109:20:109:24 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:70:28:70:32 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:70:28:70:32 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:109:20:109:24 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:109:20:109:24 | input |
|
||||
| test.c:112:37:112:41 | input | test.c:112:37:112:41 | input indirection |
|
||||
| test.c:112:37:112:41 | input | test.c:112:37:112:41 | input indirection |
|
||||
| test.c:112:37:112:41 | input indirection | test.c:112:37:112:41 | input |
|
||||
| test.c:112:37:112:41 | input indirection | test.c:113:27:113:31 | input |
|
||||
| test.c:112:37:112:41 | input indirection | test.c:113:27:113:31 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:84:35:84:39 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:84:35:84:39 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:113:27:113:31 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:113:27:113:31 | input |
|
||||
#select
|
||||
| test.c:31:35:31:39 | input | test.c:104:29:104:33 | input | test.c:31:35:31:39 | input | Partial flow |
|
||||
| test.c:31:35:31:39 | input | test.c:108:30:108:34 | input | test.c:31:35:31:39 | input | Partial flow |
|
||||
| test.c:36:48:36:52 | input | test.c:104:29:104:33 | input | test.c:36:48:36:52 | input | Partial flow |
|
||||
| test.c:45:22:45:26 | input | test.c:104:29:104:33 | input | test.c:45:22:45:26 | input | Partial flow |
|
||||
| test.c:70:28:70:32 | input | test.c:108:30:108:34 | input | test.c:70:28:70:32 | input | Partial flow |
|
||||
| test.c:84:35:84:39 | input | test.c:112:37:112:41 | input | test.c:84:35:84:39 | input | Partial flow |
|
||||
1
exercises-tests/Exercise11/Exercise11.qlref
Normal file
1
exercises-tests/Exercise11/Exercise11.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise11.ql
|
||||
92
exercises-tests/Exercise12/Exercise12.expected
Normal file
92
exercises-tests/Exercise12/Exercise12.expected
Normal file
@@ -0,0 +1,92 @@
|
||||
edges
|
||||
| test.c:31:35:31:39 | input | test.c:32:10:32:14 | input |
|
||||
| test.c:31:35:31:39 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:31:35:31:39 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:38:10:38:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:46:10:46:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:46:28:46:32 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:47:10:47:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:48:19:48:23 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:51:12:51:16 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:51:30:51:34 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:52:12:52:16 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:55:21:55:25 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:65:19:65:23 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:48:19:48:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:55:21:55:25 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:65:19:65:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:75:21:75:25 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:79:16:79:20 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:75:21:75:25 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:93:10:93:14 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:104:29:104:33 | input | test.c:105:22:105:26 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:36:48:36:52 | input |
|
||||
| test.c:108:30:108:34 | input | test.c:109:20:109:24 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:70:28:70:32 | input |
|
||||
| test.c:112:37:112:41 | input | test.c:113:27:113:31 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:84:35:84:39 | input |
|
||||
nodes
|
||||
| test.c:31:35:31:39 | input | semmle.label | input |
|
||||
| test.c:32:10:32:14 | input | semmle.label | input |
|
||||
| test.c:32:28:32:32 | input | semmle.label | input |
|
||||
| test.c:33:10:33:14 | input | semmle.label | input |
|
||||
| test.c:36:48:36:52 | input | semmle.label | input |
|
||||
| test.c:38:10:38:14 | input | semmle.label | input |
|
||||
| test.c:38:28:38:32 | input | semmle.label | input |
|
||||
| test.c:39:10:39:14 | input | semmle.label | input |
|
||||
| test.c:40:19:40:23 | input | semmle.label | input |
|
||||
| test.c:46:10:46:14 | input | semmle.label | input |
|
||||
| test.c:46:28:46:32 | input | semmle.label | input |
|
||||
| test.c:47:10:47:14 | input | semmle.label | input |
|
||||
| test.c:48:19:48:23 | input | semmle.label | input |
|
||||
| test.c:51:12:51:16 | input | semmle.label | input |
|
||||
| test.c:51:30:51:34 | input | semmle.label | input |
|
||||
| test.c:52:12:52:16 | input | semmle.label | input |
|
||||
| test.c:55:21:55:25 | input | semmle.label | input |
|
||||
| test.c:65:19:65:23 | input | semmle.label | input |
|
||||
| test.c:70:28:70:32 | input | semmle.label | input |
|
||||
| test.c:74:19:74:23 | input | semmle.label | input |
|
||||
| test.c:75:21:75:25 | input | semmle.label | input |
|
||||
| test.c:79:16:79:20 | input | semmle.label | input |
|
||||
| test.c:80:16:80:20 | input | semmle.label | input |
|
||||
| test.c:84:35:84:39 | input | semmle.label | input |
|
||||
| test.c:89:26:89:30 | input | semmle.label | input |
|
||||
| test.c:93:10:93:14 | input | semmle.label | input |
|
||||
| test.c:93:29:93:33 | input | semmle.label | input |
|
||||
| test.c:104:29:104:33 | input | semmle.label | input |
|
||||
| test.c:105:22:105:26 | input | semmle.label | input |
|
||||
| test.c:108:30:108:34 | input | semmle.label | input |
|
||||
| test.c:109:20:109:24 | input | semmle.label | input |
|
||||
| test.c:112:37:112:41 | input | semmle.label | input |
|
||||
| test.c:113:27:113:31 | input | semmle.label | input |
|
||||
subpaths
|
||||
#select
|
||||
| test.c:32:10:32:14 | input | test.c:104:29:104:33 | input | test.c:32:10:32:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:10:32:14 | input | test.c:108:30:108:34 | input | test.c:32:10:32:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:28:32:32 | input | test.c:104:29:104:33 | input | test.c:32:28:32:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:28:32:32 | input | test.c:108:30:108:34 | input | test.c:32:28:32:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:33:10:33:14 | input | test.c:104:29:104:33 | input | test.c:33:10:33:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:33:10:33:14 | input | test.c:108:30:108:34 | input | test.c:33:10:33:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:38:10:38:14 | input | test.c:104:29:104:33 | input | test.c:38:10:38:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:38:28:38:32 | input | test.c:104:29:104:33 | input | test.c:38:28:38:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:39:10:39:14 | input | test.c:104:29:104:33 | input | test.c:39:10:39:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:46:10:46:14 | input | test.c:104:29:104:33 | input | test.c:46:10:46:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:46:28:46:32 | input | test.c:104:29:104:33 | input | test.c:46:28:46:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:47:10:47:14 | input | test.c:104:29:104:33 | input | test.c:47:10:47:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:51:12:51:16 | input | test.c:104:29:104:33 | input | test.c:51:12:51:16 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:51:30:51:34 | input | test.c:104:29:104:33 | input | test.c:51:30:51:34 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:52:12:52:16 | input | test.c:104:29:104:33 | input | test.c:52:12:52:16 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:74:19:74:23 | input | test.c:108:30:108:34 | input | test.c:74:19:74:23 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:79:16:79:20 | input | test.c:108:30:108:34 | input | test.c:79:16:79:20 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:80:16:80:20 | input | test.c:108:30:108:34 | input | test.c:80:16:80:20 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:89:26:89:30 | input | test.c:112:37:112:41 | input | test.c:89:26:89:30 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:93:10:93:14 | input | test.c:112:37:112:41 | input | test.c:93:10:93:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:93:29:93:33 | input | test.c:112:37:112:41 | input | test.c:93:29:93:33 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
1
exercises-tests/Exercise12/Exercise12.qlref
Normal file
1
exercises-tests/Exercise12/Exercise12.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise12.ql
|
||||
14
exercises-tests/Exercise2/Exercise2.expected
Normal file
14
exercises-tests/Exercise2/Exercise2.expected
Normal file
@@ -0,0 +1,14 @@
|
||||
| test.c:30:10:30:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:30:28:30:35 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:31:10:31:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:36:10:36:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:36:28:36:35 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:37:10:37:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:43:10:43:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:43:28:43:35 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:44:10:44:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:70:16:70:23 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:71:16:71:23 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:82:10:82:17 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:82:29:82:36 | access to array | Access to dynamic input array without type validation. |
|
||||
| test.c:83:17:83:24 | access to array | Access to dynamic input array without type validation. |
|
||||
1
exercises-tests/Exercise2/Exercise2.qlref
Normal file
1
exercises-tests/Exercise2/Exercise2.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise2.ql
|
||||
3
exercises-tests/Exercise3/Exercise3.expected
Normal file
3
exercises-tests/Exercise3/Exercise3.expected
Normal file
@@ -0,0 +1,3 @@
|
||||
| test.c:93:5:93:15 | EP_copy_mem | test.c:93:29:93:33 | input | test.c:93:52:93:62 | input_types |
|
||||
| test.c:97:5:97:16 | EP_print_val | test.c:97:30:97:34 | input | test.c:97:53:97:63 | input_types |
|
||||
| test.c:101:5:101:23 | EP_write_val_to_mem | test.c:101:37:101:41 | input | test.c:101:60:101:70 | input_types |
|
||||
1
exercises-tests/Exercise3/Exercise3.qlref
Normal file
1
exercises-tests/Exercise3/Exercise3.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise3.ql
|
||||
77
exercises-tests/Exercise4/Exercise4.expected
Normal file
77
exercises-tests/Exercise4/Exercise4.expected
Normal file
@@ -0,0 +1,77 @@
|
||||
edges
|
||||
| test.c:29:35:29:39 | input | test.c:30:10:30:14 | input |
|
||||
| test.c:29:35:29:39 | input | test.c:30:28:30:32 | input |
|
||||
| test.c:29:35:29:39 | input | test.c:31:10:31:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:36:10:36:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:36:28:36:32 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:37:10:37:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:38:19:38:23 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:43:10:43:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:43:28:43:32 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:44:10:44:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:45:19:45:23 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:48:12:48:16 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:48:30:48:34 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:49:12:49:16 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:58:19:58:23 | input |
|
||||
| test.c:38:19:38:23 | input | test.c:29:35:29:39 | input |
|
||||
| test.c:45:19:45:23 | input | test.c:29:35:29:39 | input |
|
||||
| test.c:58:19:58:23 | input | test.c:29:35:29:39 | input |
|
||||
| test.c:63:28:63:32 | input | test.c:70:16:70:20 | input |
|
||||
| test.c:63:28:63:32 | input | test.c:71:16:71:20 | input |
|
||||
| test.c:75:35:75:39 | input | test.c:82:10:82:14 | input |
|
||||
| test.c:75:35:75:39 | input | test.c:82:29:82:33 | input |
|
||||
| test.c:93:29:93:33 | input | test.c:94:22:94:26 | input |
|
||||
| test.c:94:22:94:26 | input | test.c:34:48:34:52 | input |
|
||||
| test.c:97:30:97:34 | input | test.c:98:20:98:24 | input |
|
||||
| test.c:98:20:98:24 | input | test.c:63:28:63:32 | input |
|
||||
| test.c:101:37:101:41 | input | test.c:102:27:102:31 | input |
|
||||
| test.c:102:27:102:31 | input | test.c:75:35:75:39 | input |
|
||||
nodes
|
||||
| test.c:29:35:29:39 | input | semmle.label | input |
|
||||
| test.c:30:10:30:14 | input | semmle.label | input |
|
||||
| test.c:30:28:30:32 | input | semmle.label | input |
|
||||
| test.c:31:10:31:14 | input | semmle.label | input |
|
||||
| test.c:34:48:34:52 | input | semmle.label | input |
|
||||
| test.c:36:10:36:14 | input | semmle.label | input |
|
||||
| test.c:36:28:36:32 | input | semmle.label | input |
|
||||
| test.c:37:10:37:14 | input | semmle.label | input |
|
||||
| test.c:38:19:38:23 | input | semmle.label | input |
|
||||
| test.c:43:10:43:14 | input | semmle.label | input |
|
||||
| test.c:43:28:43:32 | input | semmle.label | input |
|
||||
| test.c:44:10:44:14 | input | semmle.label | input |
|
||||
| test.c:45:19:45:23 | input | semmle.label | input |
|
||||
| test.c:48:12:48:16 | input | semmle.label | input |
|
||||
| test.c:48:30:48:34 | input | semmle.label | input |
|
||||
| test.c:49:12:49:16 | input | semmle.label | input |
|
||||
| test.c:58:19:58:23 | input | semmle.label | input |
|
||||
| test.c:63:28:63:32 | input | semmle.label | input |
|
||||
| test.c:70:16:70:20 | input | semmle.label | input |
|
||||
| test.c:71:16:71:20 | input | semmle.label | input |
|
||||
| test.c:75:35:75:39 | input | semmle.label | input |
|
||||
| test.c:82:10:82:14 | input | semmle.label | input |
|
||||
| test.c:82:29:82:33 | input | semmle.label | input |
|
||||
| test.c:93:29:93:33 | input | semmle.label | input |
|
||||
| test.c:94:22:94:26 | input | semmle.label | input |
|
||||
| test.c:97:30:97:34 | input | semmle.label | input |
|
||||
| test.c:98:20:98:24 | input | semmle.label | input |
|
||||
| test.c:101:37:101:41 | input | semmle.label | input |
|
||||
| test.c:102:27:102:31 | input | semmle.label | input |
|
||||
subpaths
|
||||
#select
|
||||
| test.c:30:10:30:14 | input | test.c:93:29:93:33 | input | test.c:30:10:30:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:30:28:30:32 | input | test.c:93:29:93:33 | input | test.c:30:28:30:32 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:31:10:31:14 | input | test.c:93:29:93:33 | input | test.c:31:10:31:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:36:10:36:14 | input | test.c:93:29:93:33 | input | test.c:36:10:36:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:36:28:36:32 | input | test.c:93:29:93:33 | input | test.c:36:28:36:32 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:37:10:37:14 | input | test.c:93:29:93:33 | input | test.c:37:10:37:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:43:10:43:14 | input | test.c:93:29:93:33 | input | test.c:43:10:43:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:43:28:43:32 | input | test.c:93:29:93:33 | input | test.c:43:28:43:32 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:44:10:44:14 | input | test.c:93:29:93:33 | input | test.c:44:10:44:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:48:12:48:16 | input | test.c:93:29:93:33 | input | test.c:48:12:48:16 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:48:30:48:34 | input | test.c:93:29:93:33 | input | test.c:48:30:48:34 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:49:12:49:16 | input | test.c:93:29:93:33 | input | test.c:49:12:49:16 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:70:16:70:20 | input | test.c:97:30:97:34 | input | test.c:70:16:70:20 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:71:16:71:20 | input | test.c:97:30:97:34 | input | test.c:71:16:71:20 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:82:10:82:14 | input | test.c:101:37:101:41 | input | test.c:82:10:82:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:82:29:82:33 | input | test.c:101:37:101:41 | input | test.c:82:29:82:33 | input | Access to dynamic input array without type validation. |
|
||||
1
exercises-tests/Exercise4/Exercise4.qlref
Normal file
1
exercises-tests/Exercise4/Exercise4.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise4.ql
|
||||
74
exercises-tests/Exercise5/Exercise5.expected
Normal file
74
exercises-tests/Exercise5/Exercise5.expected
Normal file
@@ -0,0 +1,74 @@
|
||||
edges
|
||||
| test.c:29:35:29:39 | input | test.c:30:10:30:14 | input |
|
||||
| test.c:29:35:29:39 | input | test.c:30:28:30:32 | input |
|
||||
| test.c:29:35:29:39 | input | test.c:31:10:31:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:36:10:36:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:36:28:36:32 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:37:10:37:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:38:19:38:23 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:43:10:43:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:43:28:43:32 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:44:10:44:14 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:45:19:45:23 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:48:12:48:16 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:48:30:48:34 | input |
|
||||
| test.c:34:48:34:52 | input | test.c:49:12:49:16 | input |
|
||||
| test.c:38:19:38:23 | input | test.c:29:35:29:39 | input |
|
||||
| test.c:45:19:45:23 | input | test.c:29:35:29:39 | input |
|
||||
| test.c:63:28:63:32 | input | test.c:70:16:70:20 | input |
|
||||
| test.c:63:28:63:32 | input | test.c:71:16:71:20 | input |
|
||||
| test.c:75:35:75:39 | input | test.c:82:10:82:14 | input |
|
||||
| test.c:75:35:75:39 | input | test.c:82:29:82:33 | input |
|
||||
| test.c:93:29:93:33 | input | test.c:94:22:94:26 | input |
|
||||
| test.c:94:22:94:26 | input | test.c:34:48:34:52 | input |
|
||||
| test.c:97:30:97:34 | input | test.c:98:20:98:24 | input |
|
||||
| test.c:98:20:98:24 | input | test.c:63:28:63:32 | input |
|
||||
| test.c:101:37:101:41 | input | test.c:102:27:102:31 | input |
|
||||
| test.c:102:27:102:31 | input | test.c:75:35:75:39 | input |
|
||||
nodes
|
||||
| test.c:29:35:29:39 | input | semmle.label | input |
|
||||
| test.c:30:10:30:14 | input | semmle.label | input |
|
||||
| test.c:30:28:30:32 | input | semmle.label | input |
|
||||
| test.c:31:10:31:14 | input | semmle.label | input |
|
||||
| test.c:34:48:34:52 | input | semmle.label | input |
|
||||
| test.c:36:10:36:14 | input | semmle.label | input |
|
||||
| test.c:36:28:36:32 | input | semmle.label | input |
|
||||
| test.c:37:10:37:14 | input | semmle.label | input |
|
||||
| test.c:38:19:38:23 | input | semmle.label | input |
|
||||
| test.c:43:10:43:14 | input | semmle.label | input |
|
||||
| test.c:43:28:43:32 | input | semmle.label | input |
|
||||
| test.c:44:10:44:14 | input | semmle.label | input |
|
||||
| test.c:45:19:45:23 | input | semmle.label | input |
|
||||
| test.c:48:12:48:16 | input | semmle.label | input |
|
||||
| test.c:48:30:48:34 | input | semmle.label | input |
|
||||
| test.c:49:12:49:16 | input | semmle.label | input |
|
||||
| test.c:63:28:63:32 | input | semmle.label | input |
|
||||
| test.c:70:16:70:20 | input | semmle.label | input |
|
||||
| test.c:71:16:71:20 | input | semmle.label | input |
|
||||
| test.c:75:35:75:39 | input | semmle.label | input |
|
||||
| test.c:82:10:82:14 | input | semmle.label | input |
|
||||
| test.c:82:29:82:33 | input | semmle.label | input |
|
||||
| test.c:93:29:93:33 | input | semmle.label | input |
|
||||
| test.c:94:22:94:26 | input | semmle.label | input |
|
||||
| test.c:97:30:97:34 | input | semmle.label | input |
|
||||
| test.c:98:20:98:24 | input | semmle.label | input |
|
||||
| test.c:101:37:101:41 | input | semmle.label | input |
|
||||
| test.c:102:27:102:31 | input | semmle.label | input |
|
||||
subpaths
|
||||
#select
|
||||
| test.c:30:10:30:14 | input | test.c:93:29:93:33 | input | test.c:30:10:30:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:30:28:30:32 | input | test.c:93:29:93:33 | input | test.c:30:28:30:32 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:31:10:31:14 | input | test.c:93:29:93:33 | input | test.c:31:10:31:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:36:10:36:14 | input | test.c:93:29:93:33 | input | test.c:36:10:36:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:36:28:36:32 | input | test.c:93:29:93:33 | input | test.c:36:28:36:32 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:37:10:37:14 | input | test.c:93:29:93:33 | input | test.c:37:10:37:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:43:10:43:14 | input | test.c:93:29:93:33 | input | test.c:43:10:43:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:43:28:43:32 | input | test.c:93:29:93:33 | input | test.c:43:28:43:32 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:44:10:44:14 | input | test.c:93:29:93:33 | input | test.c:44:10:44:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:48:12:48:16 | input | test.c:93:29:93:33 | input | test.c:48:12:48:16 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:48:30:48:34 | input | test.c:93:29:93:33 | input | test.c:48:30:48:34 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:49:12:49:16 | input | test.c:93:29:93:33 | input | test.c:49:12:49:16 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:70:16:70:20 | input | test.c:97:30:97:34 | input | test.c:70:16:70:20 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:71:16:71:20 | input | test.c:97:30:97:34 | input | test.c:71:16:71:20 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:82:10:82:14 | input | test.c:101:37:101:41 | input | test.c:82:10:82:14 | input | Access to dynamic input array without type validation. |
|
||||
| test.c:82:29:82:33 | input | test.c:101:37:101:41 | input | test.c:82:29:82:33 | input | Access to dynamic input array without type validation. |
|
||||
1
exercises-tests/Exercise5/Exercise5.qlref
Normal file
1
exercises-tests/Exercise5/Exercise5.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise5.ql
|
||||
20
exercises-tests/Exercise7/Exercise7.expected
Normal file
20
exercises-tests/Exercise7/Exercise7.expected
Normal file
@@ -0,0 +1,20 @@
|
||||
WARNING: Unused method getInputParameter (/Users/kraiouchkine/internal/codeql-workshop-dataflow-c/solutions/Exercise7.ql:84,13-30)
|
||||
| test.c:32:10:32:17 | access to array | test.c:53:14:54:24 | ... == ... |
|
||||
| test.c:32:10:32:17 | access to array | test.c:58:7:58:75 | ... != ... |
|
||||
| test.c:32:10:32:17 | access to array | test.c:71:7:71:76 | ... == ... |
|
||||
| test.c:32:28:32:35 | access to array | test.c:53:14:54:24 | ... == ... |
|
||||
| test.c:32:28:32:35 | access to array | test.c:58:7:58:75 | ... != ... |
|
||||
| test.c:32:28:32:35 | access to array | test.c:71:7:71:76 | ... == ... |
|
||||
| test.c:33:10:33:17 | access to array | test.c:53:14:54:24 | ... == ... |
|
||||
| test.c:33:10:33:17 | access to array | test.c:58:7:58:75 | ... != ... |
|
||||
| test.c:33:10:33:17 | access to array | test.c:71:7:71:76 | ... == ... |
|
||||
| test.c:63:10:63:17 | access to array | test.c:58:7:58:75 | ... != ... |
|
||||
| test.c:63:28:63:35 | access to array | test.c:58:7:58:75 | ... != ... |
|
||||
| test.c:64:10:64:17 | access to array | test.c:58:7:58:75 | ... != ... |
|
||||
| test.c:72:18:72:25 | access to array | test.c:71:7:71:76 | ... == ... |
|
||||
| test.c:73:18:73:25 | access to array | test.c:71:7:71:76 | ... == ... |
|
||||
| test.c:74:19:74:26 | access to array | test.c:71:7:71:76 | ... == ... |
|
||||
| test.c:86:12:86:19 | access to array | test.c:85:7:85:75 | ... == ... |
|
||||
| test.c:86:31:86:38 | access to array | test.c:85:7:85:75 | ... == ... |
|
||||
| test.c:87:19:87:26 | access to array | test.c:85:7:85:75 | ... == ... |
|
||||
| test.c:89:26:89:33 | access to array | test.c:85:7:85:75 | ... == ... |
|
||||
1
exercises-tests/Exercise7/Exercise7.qlref
Normal file
1
exercises-tests/Exercise7/Exercise7.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise7.ql
|
||||
20
exercises-tests/Exercise8/Exercise8.expected
Normal file
20
exercises-tests/Exercise8/Exercise8.expected
Normal file
@@ -0,0 +1,20 @@
|
||||
WARNING: Unused method getInputParameter (/Users/kraiouchkine/internal/codeql-workshop-dataflow-c/solutions/Exercise8.ql:107,13-30)
|
||||
| test.c:32:10:32:17 | access to array |
|
||||
| test.c:32:28:32:35 | access to array |
|
||||
| test.c:33:10:33:17 | access to array |
|
||||
| test.c:38:10:38:17 | access to array |
|
||||
| test.c:38:28:38:35 | access to array |
|
||||
| test.c:39:10:39:17 | access to array |
|
||||
| test.c:46:10:46:17 | access to array |
|
||||
| test.c:46:28:46:35 | access to array |
|
||||
| test.c:47:10:47:17 | access to array |
|
||||
| test.c:51:12:51:19 | access to array |
|
||||
| test.c:51:30:51:37 | access to array |
|
||||
| test.c:52:12:52:19 | access to array |
|
||||
| test.c:74:19:74:26 | access to array |
|
||||
| test.c:79:16:79:23 | access to array |
|
||||
| test.c:80:16:80:23 | access to array |
|
||||
| test.c:89:26:89:33 | access to array |
|
||||
| test.c:93:10:93:17 | access to array |
|
||||
| test.c:93:29:93:36 | access to array |
|
||||
| test.c:94:17:94:24 | access to array |
|
||||
1
exercises-tests/Exercise8/Exercise8.qlref
Normal file
1
exercises-tests/Exercise8/Exercise8.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise8.ql
|
||||
65
exercises-tests/Exercise9/Exercise9.expected
Normal file
65
exercises-tests/Exercise9/Exercise9.expected
Normal file
@@ -0,0 +1,65 @@
|
||||
edges
|
||||
| test.c:31:35:31:39 | input | test.c:32:10:32:14 | input |
|
||||
| test.c:31:35:31:39 | input | test.c:32:28:32:32 | input |
|
||||
| test.c:31:35:31:39 | input | test.c:33:10:33:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:38:10:38:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:38:28:38:32 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:39:10:39:14 | input |
|
||||
| test.c:36:48:36:52 | input | test.c:40:19:40:23 | input |
|
||||
| test.c:40:19:40:23 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:74:19:74:23 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:75:21:75:25 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:79:16:79:20 | input |
|
||||
| test.c:70:28:70:32 | input | test.c:80:16:80:20 | input |
|
||||
| test.c:75:21:75:25 | input | test.c:31:35:31:39 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:89:26:89:30 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:93:10:93:14 | input |
|
||||
| test.c:84:35:84:39 | input | test.c:93:29:93:33 | input |
|
||||
| test.c:104:29:104:33 | input | test.c:105:22:105:26 | input |
|
||||
| test.c:105:22:105:26 | input | test.c:36:48:36:52 | input |
|
||||
| test.c:108:30:108:34 | input | test.c:109:20:109:24 | input |
|
||||
| test.c:109:20:109:24 | input | test.c:70:28:70:32 | input |
|
||||
| test.c:112:37:112:41 | input | test.c:113:27:113:31 | input |
|
||||
| test.c:113:27:113:31 | input | test.c:84:35:84:39 | input |
|
||||
nodes
|
||||
| test.c:31:35:31:39 | input | semmle.label | input |
|
||||
| test.c:32:10:32:14 | input | semmle.label | input |
|
||||
| test.c:32:28:32:32 | input | semmle.label | input |
|
||||
| test.c:33:10:33:14 | input | semmle.label | input |
|
||||
| test.c:36:48:36:52 | input | semmle.label | input |
|
||||
| test.c:38:10:38:14 | input | semmle.label | input |
|
||||
| test.c:38:28:38:32 | input | semmle.label | input |
|
||||
| test.c:39:10:39:14 | input | semmle.label | input |
|
||||
| test.c:40:19:40:23 | input | semmle.label | input |
|
||||
| test.c:70:28:70:32 | input | semmle.label | input |
|
||||
| test.c:74:19:74:23 | input | semmle.label | input |
|
||||
| test.c:75:21:75:25 | input | semmle.label | input |
|
||||
| test.c:79:16:79:20 | input | semmle.label | input |
|
||||
| test.c:80:16:80:20 | input | semmle.label | input |
|
||||
| test.c:84:35:84:39 | input | semmle.label | input |
|
||||
| test.c:89:26:89:30 | input | semmle.label | input |
|
||||
| test.c:93:10:93:14 | input | semmle.label | input |
|
||||
| test.c:93:29:93:33 | input | semmle.label | input |
|
||||
| test.c:104:29:104:33 | input | semmle.label | input |
|
||||
| test.c:105:22:105:26 | input | semmle.label | input |
|
||||
| test.c:108:30:108:34 | input | semmle.label | input |
|
||||
| test.c:109:20:109:24 | input | semmle.label | input |
|
||||
| test.c:112:37:112:41 | input | semmle.label | input |
|
||||
| test.c:113:27:113:31 | input | semmle.label | input |
|
||||
subpaths
|
||||
#select
|
||||
| test.c:32:10:32:14 | input | test.c:104:29:104:33 | input | test.c:32:10:32:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:10:32:14 | input | test.c:108:30:108:34 | input | test.c:32:10:32:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:28:32:32 | input | test.c:104:29:104:33 | input | test.c:32:28:32:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:32:28:32:32 | input | test.c:108:30:108:34 | input | test.c:32:28:32:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:33:10:33:14 | input | test.c:104:29:104:33 | input | test.c:33:10:33:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:33:10:33:14 | input | test.c:108:30:108:34 | input | test.c:33:10:33:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:38:10:38:14 | input | test.c:104:29:104:33 | input | test.c:38:10:38:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:38:28:38:32 | input | test.c:104:29:104:33 | input | test.c:38:28:38:32 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:39:10:39:14 | input | test.c:104:29:104:33 | input | test.c:39:10:39:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:74:19:74:23 | input | test.c:108:30:108:34 | input | test.c:74:19:74:23 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:79:16:79:20 | input | test.c:108:30:108:34 | input | test.c:79:16:79:20 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:80:16:80:20 | input | test.c:108:30:108:34 | input | test.c:80:16:80:20 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:89:26:89:30 | input | test.c:112:37:112:41 | input | test.c:89:26:89:30 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:93:10:93:14 | input | test.c:112:37:112:41 | input | test.c:93:10:93:14 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
| test.c:93:29:93:33 | input | test.c:112:37:112:41 | input | test.c:93:29:93:33 | input | Access to dynamic input array with missing or mismatched type validation. |
|
||||
1
exercises-tests/Exercise9/Exercise9.qlref
Normal file
1
exercises-tests/Exercise9/Exercise9.qlref
Normal file
@@ -0,0 +1 @@
|
||||
Exercise9.ql
|
||||
7
exercises-tests/qlpack.yml
Normal file
7
exercises-tests/qlpack.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
library: false
|
||||
name: exercises-tests
|
||||
version: 0.0.1
|
||||
dependencies:
|
||||
"exercises": "*"
|
||||
extractor: cpp
|
||||
Reference in New Issue
Block a user