|
|
|
|
@@ -39,12 +39,36 @@ edges
|
|
|
|
|
| test.cpp:39:21:39:24 | argv | test.cpp:52:54:52:60 | tainted |
|
|
|
|
|
| test.cpp:39:21:39:24 | argv | test.cpp:52:54:52:60 | tainted |
|
|
|
|
|
| test.cpp:39:21:39:24 | argv | test.cpp:52:54:52:60 | tainted |
|
|
|
|
|
| test.cpp:123:25:123:30 | call to getenv | test.cpp:127:24:127:27 | (size_t)... |
|
|
|
|
|
| test.cpp:123:25:123:30 | call to getenv | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:25:123:30 | call to getenv | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:25:123:38 | (const char *)... | test.cpp:127:24:127:27 | (size_t)... |
|
|
|
|
|
| test.cpp:123:25:123:38 | (const char *)... | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:25:123:38 | (const char *)... | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:27 | (unsigned long)... |
|
|
|
|
|
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:41 | ... * ... |
|
|
|
|
|
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:41 | ... * ... |
|
|
|
|
|
| test.cpp:123:18:123:31 | (const char *)... | test.cpp:127:24:127:27 | (unsigned long)... |
|
|
|
|
|
| test.cpp:123:18:123:31 | (const char *)... | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:18:123:31 | (const char *)... | test.cpp:127:24:127:27 | size |
|
|
|
|
|
| test.cpp:123:18:123:31 | (const char *)... | test.cpp:127:24:127:41 | ... * ... |
|
|
|
|
|
| test.cpp:123:18:123:31 | (const char *)... | test.cpp:127:24:127:41 | ... * ... |
|
|
|
|
|
| test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:13 | (unsigned long)... |
|
|
|
|
|
| test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:13 | size |
|
|
|
|
|
| test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:13 | size |
|
|
|
|
|
| test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:27 | ... * ... |
|
|
|
|
|
| test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:27 | ... * ... |
|
|
|
|
|
| test.cpp:132:19:132:32 | (const char *)... | test.cpp:134:10:134:13 | (unsigned long)... |
|
|
|
|
|
| test.cpp:132:19:132:32 | (const char *)... | test.cpp:134:10:134:13 | size |
|
|
|
|
|
| test.cpp:132:19:132:32 | (const char *)... | test.cpp:134:10:134:13 | size |
|
|
|
|
|
| test.cpp:132:19:132:32 | (const char *)... | test.cpp:134:10:134:27 | ... * ... |
|
|
|
|
|
| test.cpp:132:19:132:32 | (const char *)... | test.cpp:134:10:134:27 | ... * ... |
|
|
|
|
|
| test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:14 | (unsigned long)... |
|
|
|
|
|
| test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:14 | size |
|
|
|
|
|
| test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:14 | size |
|
|
|
|
|
| test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:28 | ... * ... |
|
|
|
|
|
| test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:28 | ... * ... |
|
|
|
|
|
| test.cpp:138:19:138:32 | (const char *)... | test.cpp:142:11:142:14 | (unsigned long)... |
|
|
|
|
|
| test.cpp:138:19:138:32 | (const char *)... | test.cpp:142:11:142:14 | size |
|
|
|
|
|
| test.cpp:138:19:138:32 | (const char *)... | test.cpp:142:11:142:14 | size |
|
|
|
|
|
| test.cpp:138:19:138:32 | (const char *)... | test.cpp:142:11:142:28 | ... * ... |
|
|
|
|
|
| test.cpp:138:19:138:32 | (const char *)... | test.cpp:142:11:142:28 | ... * ... |
|
|
|
|
|
nodes
|
|
|
|
|
| test.cpp:39:21:39:24 | argv | semmle.label | argv |
|
|
|
|
|
| test.cpp:39:21:39:24 | argv | semmle.label | argv |
|
|
|
|
|
@@ -80,13 +104,36 @@ nodes
|
|
|
|
|
| test.cpp:52:54:52:60 | tainted | semmle.label | tainted |
|
|
|
|
|
| test.cpp:52:54:52:60 | tainted | semmle.label | tainted |
|
|
|
|
|
| test.cpp:52:54:52:60 | tainted | semmle.label | tainted |
|
|
|
|
|
| test.cpp:123:25:123:30 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:123:25:123:38 | (const char *)... | semmle.label | (const char *)... |
|
|
|
|
|
| test.cpp:127:24:127:27 | (size_t)... | semmle.label | (size_t)... |
|
|
|
|
|
| test.cpp:127:24:127:27 | (size_t)... | semmle.label | (size_t)... |
|
|
|
|
|
| test.cpp:123:18:123:23 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:123:18:123:31 | (const char *)... | semmle.label | (const char *)... |
|
|
|
|
|
| test.cpp:127:24:127:27 | (unsigned long)... | semmle.label | (unsigned long)... |
|
|
|
|
|
| test.cpp:127:24:127:27 | (unsigned long)... | semmle.label | (unsigned long)... |
|
|
|
|
|
| test.cpp:127:24:127:27 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:127:24:127:27 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:127:24:127:27 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:127:24:127:41 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:127:24:127:41 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:127:24:127:41 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:132:19:132:24 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:132:19:132:32 | (const char *)... | semmle.label | (const char *)... |
|
|
|
|
|
| test.cpp:134:10:134:13 | (unsigned long)... | semmle.label | (unsigned long)... |
|
|
|
|
|
| test.cpp:134:10:134:13 | (unsigned long)... | semmle.label | (unsigned long)... |
|
|
|
|
|
| test.cpp:134:10:134:13 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:134:10:134:13 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:134:10:134:13 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:134:10:134:27 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:134:10:134:27 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:134:10:134:27 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:138:19:138:24 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:138:19:138:32 | (const char *)... | semmle.label | (const char *)... |
|
|
|
|
|
| test.cpp:142:11:142:14 | (unsigned long)... | semmle.label | (unsigned long)... |
|
|
|
|
|
| test.cpp:142:11:142:14 | (unsigned long)... | semmle.label | (unsigned long)... |
|
|
|
|
|
| test.cpp:142:11:142:14 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:142:11:142:14 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:142:11:142:14 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:142:11:142:28 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:142:11:142:28 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:142:11:142:28 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
#select
|
|
|
|
|
| test.cpp:42:31:42:36 | call to malloc | test.cpp:39:21:39:24 | argv | test.cpp:42:38:42:44 | tainted | This allocation size is derived from $@ and might overflow | test.cpp:39:21:39:24 | argv | user input (argv) |
|
|
|
|
|
| test.cpp:43:31:43:36 | call to malloc | test.cpp:39:21:39:24 | argv | test.cpp:43:38:43:63 | ... * ... | This allocation size is derived from $@ and might overflow | test.cpp:39:21:39:24 | argv | user input (argv) |
|
|
|
|
|
@@ -96,4 +143,9 @@ nodes
|
|
|
|
|
| test.cpp:49:17:49:30 | new[] | test.cpp:39:21:39:24 | argv | test.cpp:49:26:49:29 | size | This allocation size is derived from $@ and might overflow | test.cpp:39:21:39:24 | argv | user input (argv) |
|
|
|
|
|
| test.cpp:52:21:52:27 | call to realloc | test.cpp:39:21:39:24 | argv | test.cpp:52:35:52:60 | ... * ... | This allocation size is derived from $@ and might overflow | test.cpp:39:21:39:24 | argv | user input (argv) |
|
|
|
|
|
| test.cpp:52:35:52:60 | ... * ... | test.cpp:39:21:39:24 | argv | test.cpp:52:54:52:60 | tainted | This allocation size is derived from $@ and might overflow | test.cpp:39:21:39:24 | argv | user input (argv) |
|
|
|
|
|
| test.cpp:127:17:127:22 | call to malloc | test.cpp:123:25:123:30 | call to getenv | test.cpp:127:24:127:27 | size | This allocation size is derived from $@ and might overflow | test.cpp:123:25:123:30 | call to getenv | user input (getenv) |
|
|
|
|
|
| test.cpp:127:17:127:22 | call to malloc | test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:41 | ... * ... | This allocation size is derived from $@ and might overflow | test.cpp:123:18:123:23 | call to getenv | user input (getenv) |
|
|
|
|
|
| test.cpp:127:24:127:41 | ... * ... | test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:27 | size | This allocation size is derived from $@ and might overflow | test.cpp:123:18:123:23 | call to getenv | user input (getenv) |
|
|
|
|
|
| test.cpp:134:3:134:8 | call to malloc | test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:27 | ... * ... | This allocation size is derived from $@ and might overflow | test.cpp:132:19:132:24 | call to getenv | user input (getenv) |
|
|
|
|
|
| test.cpp:134:10:134:27 | ... * ... | test.cpp:132:19:132:24 | call to getenv | test.cpp:134:10:134:13 | size | This allocation size is derived from $@ and might overflow | test.cpp:132:19:132:24 | call to getenv | user input (getenv) |
|
|
|
|
|
| test.cpp:142:4:142:9 | call to malloc | test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:28 | ... * ... | This allocation size is derived from $@ and might overflow | test.cpp:138:19:138:24 | call to getenv | user input (getenv) |
|
|
|
|
|
| test.cpp:142:11:142:28 | ... * ... | test.cpp:138:19:138:24 | call to getenv | test.cpp:142:11:142:14 | size | This allocation size is derived from $@ and might overflow | test.cpp:138:19:138:24 | call to getenv | user input (getenv) |
|
|
|
|
|
|