|
|
|
|
@@ -5,25 +5,15 @@ edges
|
|
|
|
|
| test.cpp:40:21:40:24 | argv | test.cpp:49:32:49:35 | size |
|
|
|
|
|
| test.cpp:40:21:40:24 | argv | test.cpp:50:26:50:29 | size |
|
|
|
|
|
| test.cpp:40:21:40:24 | argv | test.cpp:53:35:53:60 | ... * ... |
|
|
|
|
|
| test.cpp:124:18:124:23 | call to getenv | test.cpp:125:29:125:32 | size |
|
|
|
|
|
| test.cpp:124:18:124:23 | call to getenv | test.cpp:128:24:128:41 | ... * ... |
|
|
|
|
|
| test.cpp:124:18:124:31 | call to getenv indirection | test.cpp:125:29:125:32 | size |
|
|
|
|
|
| test.cpp:124:18:124:31 | call to getenv indirection | test.cpp:128:24:128:41 | ... * ... |
|
|
|
|
|
| test.cpp:125:29:125:32 | size | test.cpp:127:24:127:49 | ... * ... |
|
|
|
|
|
| test.cpp:133:19:133:24 | call to getenv | test.cpp:135:10:135:27 | ... * ... |
|
|
|
|
|
| test.cpp:133:19:133:32 | call to getenv indirection | test.cpp:135:10:135:27 | ... * ... |
|
|
|
|
|
| test.cpp:148:20:148:25 | call to getenv | test.cpp:152:11:152:28 | ... * ... |
|
|
|
|
|
| test.cpp:148:20:148:33 | call to getenv indirection | test.cpp:152:11:152:28 | ... * ... |
|
|
|
|
|
| test.cpp:157:19:157:24 | call to getenv | test.cpp:161:11:161:28 | ... * ... |
|
|
|
|
|
| test.cpp:157:19:157:32 | call to getenv indirection | test.cpp:161:11:161:28 | ... * ... |
|
|
|
|
|
| test.cpp:184:19:184:24 | call to getenv | test.cpp:186:10:186:27 | ... * ... |
|
|
|
|
|
| test.cpp:184:19:184:32 | call to getenv indirection | test.cpp:186:10:186:27 | ... * ... |
|
|
|
|
|
| test.cpp:209:8:209:23 | VariableAddress indirection | test.cpp:241:9:241:24 | call to get_tainted_size |
|
|
|
|
|
| test.cpp:211:14:211:19 | call to getenv | test.cpp:209:8:209:23 | VariableAddress indirection |
|
|
|
|
|
| test.cpp:211:14:211:27 | call to getenv indirection | test.cpp:209:8:209:23 | VariableAddress indirection |
|
|
|
|
|
| test.cpp:214:8:214:23 | VariableAddress indirection | test.cpp:242:9:242:24 | call to get_bounded_size |
|
|
|
|
|
| test.cpp:216:18:216:23 | call to getenv | test.cpp:214:8:214:23 | VariableAddress indirection |
|
|
|
|
|
| test.cpp:216:18:216:31 | call to getenv indirection | test.cpp:214:8:214:23 | VariableAddress indirection |
|
|
|
|
|
| test.cpp:224:23:224:23 | s | test.cpp:225:21:225:21 | s |
|
|
|
|
|
| test.cpp:230:21:230:21 | s | test.cpp:231:21:231:21 | s |
|
|
|
|
|
| test.cpp:237:24:237:29 | call to getenv | test.cpp:239:9:239:18 | local_size |
|
|
|
|
|
@@ -52,8 +42,6 @@ nodes
|
|
|
|
|
| test.cpp:53:35:53:60 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:124:18:124:23 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:124:18:124:31 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:125:29:125:32 | size | semmle.label | size |
|
|
|
|
|
| test.cpp:127:24:127:49 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:128:24:128:41 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:133:19:133:24 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:133:19:133:32 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
@@ -61,18 +49,9 @@ nodes
|
|
|
|
|
| test.cpp:148:20:148:25 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:148:20:148:33 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:152:11:152:28 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:157:19:157:24 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:157:19:157:32 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:161:11:161:28 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:184:19:184:24 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:184:19:184:32 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:186:10:186:27 | ... * ... | semmle.label | ... * ... |
|
|
|
|
|
| test.cpp:209:8:209:23 | VariableAddress indirection | semmle.label | VariableAddress indirection |
|
|
|
|
|
| test.cpp:211:14:211:19 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:211:14:211:27 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:214:8:214:23 | VariableAddress indirection | semmle.label | VariableAddress indirection |
|
|
|
|
|
| test.cpp:216:18:216:23 | call to getenv | semmle.label | call to getenv |
|
|
|
|
|
| test.cpp:216:18:216:31 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:224:23:224:23 | s | semmle.label | s |
|
|
|
|
|
| test.cpp:225:21:225:21 | s | semmle.label | s |
|
|
|
|
|
| test.cpp:230:21:230:21 | s | semmle.label | s |
|
|
|
|
|
@@ -81,7 +60,6 @@ nodes
|
|
|
|
|
| test.cpp:237:24:237:37 | call to getenv indirection | semmle.label | call to getenv indirection |
|
|
|
|
|
| test.cpp:239:9:239:18 | local_size | semmle.label | local_size |
|
|
|
|
|
| test.cpp:241:9:241:24 | call to get_tainted_size | semmle.label | call to get_tainted_size |
|
|
|
|
|
| test.cpp:242:9:242:24 | call to get_bounded_size | semmle.label | call to get_bounded_size |
|
|
|
|
|
| test.cpp:245:11:245:20 | local_size | semmle.label | local_size |
|
|
|
|
|
| test.cpp:247:10:247:19 | local_size | semmle.label | local_size |
|
|
|
|
|
| test.cpp:250:20:250:27 | Load indirection | semmle.label | Load indirection |
|
|
|
|
|
@@ -102,18 +80,12 @@ subpaths
|
|
|
|
|
| test.cpp:49:25:49:30 | call to malloc | test.cpp:40:21:40:24 | argv | test.cpp:49:32:49:35 | size | This allocation size is derived from $@ and might overflow. | test.cpp:40:21:40:24 | argv | user input (a command-line argument) |
|
|
|
|
|
| test.cpp:50:17:50:30 | new[] | test.cpp:40:21:40:24 | argv | test.cpp:50:26:50:29 | size | This allocation size is derived from $@ and might overflow. | test.cpp:40:21:40:24 | argv | user input (a command-line argument) |
|
|
|
|
|
| test.cpp:53:21:53:27 | call to realloc | test.cpp:40:21:40:24 | argv | test.cpp:53:35:53:60 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:40:21:40:24 | argv | user input (a command-line argument) |
|
|
|
|
|
| test.cpp:127:17:127:22 | call to malloc | test.cpp:124:18:124:23 | call to getenv | test.cpp:127:24:127:49 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:124:18:124:23 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:127:17:127:22 | call to malloc | test.cpp:124:18:124:31 | call to getenv indirection | test.cpp:127:24:127:49 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:124:18:124:31 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:128:17:128:22 | call to malloc | test.cpp:124:18:124:23 | call to getenv | test.cpp:128:24:128:41 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:124:18:124:23 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:128:17:128:22 | call to malloc | test.cpp:124:18:124:31 | call to getenv indirection | test.cpp:128:24:128:41 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:124:18:124:31 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:135:3:135:8 | call to malloc | test.cpp:133:19:133:24 | call to getenv | test.cpp:135:10:135:27 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:133:19:133:24 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:135:3:135:8 | call to malloc | test.cpp:133:19:133:32 | call to getenv indirection | test.cpp:135:10:135:27 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:133:19:133:32 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:152:4:152:9 | call to malloc | test.cpp:148:20:148:25 | call to getenv | test.cpp:152:11:152:28 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:148:20:148:25 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:152:4:152:9 | call to malloc | test.cpp:148:20:148:33 | call to getenv indirection | test.cpp:152:11:152:28 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:148:20:148:33 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:161:4:161:9 | call to malloc | test.cpp:157:19:157:24 | call to getenv | test.cpp:161:11:161:28 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:157:19:157:24 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:161:4:161:9 | call to malloc | test.cpp:157:19:157:32 | call to getenv indirection | test.cpp:161:11:161:28 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:157:19:157:32 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:186:3:186:8 | call to malloc | test.cpp:184:19:184:24 | call to getenv | test.cpp:186:10:186:27 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:184:19:184:24 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:186:3:186:8 | call to malloc | test.cpp:184:19:184:32 | call to getenv indirection | test.cpp:186:10:186:27 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:184:19:184:32 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:225:14:225:19 | call to malloc | test.cpp:237:24:237:29 | call to getenv | test.cpp:225:21:225:21 | s | This allocation size is derived from $@ and might overflow. | test.cpp:237:24:237:29 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:225:14:225:19 | call to malloc | test.cpp:237:24:237:37 | call to getenv indirection | test.cpp:225:21:225:21 | s | This allocation size is derived from $@ and might overflow. | test.cpp:237:24:237:37 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:231:14:231:19 | call to malloc | test.cpp:237:24:237:29 | call to getenv | test.cpp:231:21:231:21 | s | This allocation size is derived from $@ and might overflow. | test.cpp:237:24:237:29 | call to getenv | user input (an environment variable) |
|
|
|
|
|
@@ -122,8 +94,6 @@ subpaths
|
|
|
|
|
| test.cpp:239:2:239:7 | call to malloc | test.cpp:237:24:237:37 | call to getenv indirection | test.cpp:239:9:239:18 | local_size | This allocation size is derived from $@ and might overflow. | test.cpp:237:24:237:37 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:241:2:241:7 | call to malloc | test.cpp:211:14:211:19 | call to getenv | test.cpp:241:9:241:24 | call to get_tainted_size | This allocation size is derived from $@ and might overflow. | test.cpp:211:14:211:19 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:241:2:241:7 | call to malloc | test.cpp:211:14:211:27 | call to getenv indirection | test.cpp:241:9:241:24 | call to get_tainted_size | This allocation size is derived from $@ and might overflow. | test.cpp:211:14:211:27 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:242:2:242:7 | call to malloc | test.cpp:216:18:216:23 | call to getenv | test.cpp:242:9:242:24 | call to get_bounded_size | This allocation size is derived from $@ and might overflow. | test.cpp:216:18:216:23 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:242:2:242:7 | call to malloc | test.cpp:216:18:216:31 | call to getenv indirection | test.cpp:242:9:242:24 | call to get_bounded_size | This allocation size is derived from $@ and might overflow. | test.cpp:216:18:216:31 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:263:4:263:9 | call to malloc | test.cpp:259:20:259:25 | call to getenv | test.cpp:263:11:263:29 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:259:20:259:25 | call to getenv | user input (an environment variable) |
|
|
|
|
|
| test.cpp:263:4:263:9 | call to malloc | test.cpp:259:20:259:33 | call to getenv indirection | test.cpp:263:11:263:29 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:259:20:259:33 | call to getenv indirection | user input (an environment variable) |
|
|
|
|
|
| test.cpp:291:4:291:9 | call to malloc | test.cpp:251:18:251:23 | call to getenv | test.cpp:291:11:291:28 | ... * ... | This allocation size is derived from $@ and might overflow. | test.cpp:251:18:251:23 | call to getenv | user input (an environment variable) |
|
|
|
|
|
|