|
6 | 6 | | test.c:106:24:106:29 | query1 | test.c:101:8:101:16 | gets output argument | test.c:106:24:106:29 | query1 | This argument to a SQL query function is derived from $@. | test.c:101:8:101:16 | gets output argument | user input (string read by gets) | |
7 | 7 | | test.c:107:28:107:33 | query1 | test.c:101:8:101:16 | gets output argument | test.c:107:28:107:33 | query1 | This argument to a SQL query function is derived from $@. | test.c:101:8:101:16 | gets output argument | user input (string read by gets) | |
8 | 8 | | test.cpp:43:27:43:33 | *access to array | test.cpp:39:27:39:30 | **argv | test.cpp:43:27:43:33 | *access to array | This argument to a SQL query function is derived from $@ and then passed to pqxx::work::exec1((unnamed parameter 0)). | test.cpp:39:27:39:30 | **argv | user input (a command-line argument) | |
| 9 | +| test_libpq.c:26:16:26:24 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:26:16:26:24 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
| 10 | +| test_libpq.c:27:22:27:30 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:27:22:27:30 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
| 11 | +| test_libpq.c:28:27:28:35 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:28:27:28:35 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
| 12 | +| test_libpq.c:29:21:29:29 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:29:21:29:29 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
| 13 | +| test_libpq.c:30:27:30:35 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:30:27:30:35 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
| 14 | +| test_libpq.c:31:31:31:39 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:31:31:31:39 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
9 | 15 | edges |
10 | 16 | | test.c:14:27:14:30 | **argv | test.c:15:20:15:26 | *access to array | provenance | | |
11 | 17 | | test.c:15:20:15:26 | *access to array | test.c:21:18:21:23 | *query1 | provenance | TaintFunction | |
|
20 | 26 | | test.c:101:8:101:16 | gets output argument | test.c:106:24:106:29 | query1 | provenance | TaintFunction Sink:MaD:2 | |
21 | 27 | | test.c:101:8:101:16 | gets output argument | test.c:107:28:107:33 | query1 | provenance | TaintFunction Sink:MaD:1 | |
22 | 28 | | test.cpp:39:27:39:30 | **argv | test.cpp:43:27:43:33 | *access to array | provenance | | |
| 29 | +| test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:26:16:26:24 | userInput | provenance | Sink:MaD:3 | |
| 30 | +| test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:27:22:27:30 | userInput | provenance | Sink:MaD:4 | |
| 31 | +| test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:28:27:28:35 | userInput | provenance | Sink:MaD:5 | |
| 32 | +| test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:29:21:29:29 | userInput | provenance | Sink:MaD:7 | |
| 33 | +| test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:30:27:30:35 | userInput | provenance | Sink:MaD:8 | |
| 34 | +| test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:31:31:31:39 | userInput | provenance | Sink:MaD:6 | |
23 | 35 | models |
24 | 36 | | 1 | Sink: ; ; false; OCIStmtPrepare2; ; ; Argument[*3]; sql-injection; manual | |
25 | 37 | | 2 | Sink: ; ; false; OCIStmtPrepare; ; ; Argument[*2]; sql-injection; manual | |
| 38 | +| 3 | Sink: ; ; false; PQexec; ; ; Argument[*1]; sql-injection; manual | |
| 39 | +| 4 | Sink: ; ; false; PQexecParams; ; ; Argument[*1]; sql-injection; manual | |
| 40 | +| 5 | Sink: ; ; false; PQprepare; ; ; Argument[*2]; sql-injection; manual | |
| 41 | +| 6 | Sink: ; ; false; PQsendPrepare; ; ; Argument[*2]; sql-injection; manual | |
| 42 | +| 7 | Sink: ; ; false; PQsendQuery; ; ; Argument[*1]; sql-injection; manual | |
| 43 | +| 8 | Sink: ; ; false; PQsendQueryParams; ; ; Argument[*1]; sql-injection; manual | |
26 | 44 | nodes |
27 | 45 | | test.c:14:27:14:30 | **argv | semmle.label | **argv | |
28 | 46 | | test.c:15:20:15:26 | *access to array | semmle.label | *access to array | |
|
41 | 59 | | test.c:107:28:107:33 | query1 | semmle.label | query1 | |
42 | 60 | | test.cpp:39:27:39:30 | **argv | semmle.label | **argv | |
43 | 61 | | test.cpp:43:27:43:33 | *access to array | semmle.label | *access to array | |
| 62 | +| test_libpq.c:23:8:23:16 | gets output argument | semmle.label | gets output argument | |
| 63 | +| test_libpq.c:26:16:26:24 | userInput | semmle.label | userInput | |
| 64 | +| test_libpq.c:27:22:27:30 | userInput | semmle.label | userInput | |
| 65 | +| test_libpq.c:28:27:28:35 | userInput | semmle.label | userInput | |
| 66 | +| test_libpq.c:29:21:29:29 | userInput | semmle.label | userInput | |
| 67 | +| test_libpq.c:30:27:30:35 | userInput | semmle.label | userInput | |
| 68 | +| test_libpq.c:31:31:31:39 | userInput | semmle.label | userInput | |
44 | 69 | subpaths |
0 commit comments