Skip to content

Commit 29208c9

Browse files
committed
fix compiler messages
1 parent dc310b9 commit 29208c9

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
WARNING: Module TaintedWithPath has been deprecated and may be removed in future (/mnt/c/Projects/codeql-coding-standards/c/cert/src/rules/FIO32-C/DoNotPerformFileOperationsOnDevices.ql:19,8-23)
2+
edges
3+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | (const char *)... |
4+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name |
5+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name indirection |
6+
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | (const char *)... |
7+
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | file_name |
8+
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | file_name indirection |
9+
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | (LPCTSTR)... |
10+
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name |
11+
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name indirection |
12+
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | (LPCTSTR)... |
13+
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name |
14+
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name indirection |
15+
subpaths
16+
nodes
17+
| test.c:20:15:20:23 | file_name | semmle.label | file_name |
18+
| test.c:20:15:20:23 | scanf output argument | semmle.label | scanf output argument |
19+
| test.c:21:8:21:16 | (const char *)... | semmle.label | (const char *)... |
20+
| test.c:21:8:21:16 | file_name | semmle.label | file_name |
21+
| test.c:21:8:21:16 | file_name indirection | semmle.label | file_name indirection |
22+
| test.c:45:15:45:23 | file_name | semmle.label | file_name |
23+
| test.c:45:15:45:23 | scanf output argument | semmle.label | scanf output argument |
24+
| test.c:46:29:46:37 | (LPCTSTR)... | semmle.label | (LPCTSTR)... |
25+
| test.c:46:29:46:37 | file_name | semmle.label | file_name |
26+
| test.c:46:29:46:37 | file_name indirection | semmle.label | file_name indirection |
27+
#select
28+
| test.c:21:8:21:16 | file_name | test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name | This argument to a file access function is derived from $@ and then passed to func(file_name), which calls fopen(__filename) | test.c:20:15:20:23 | file_name | user input (scanf) |
29+
| test.c:46:29:46:37 | file_name | test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name | This argument to a file access function is derived from $@ and then passed to CreateFile(lpFileName) | test.c:45:15:45:23 | file_name | user input (scanf) |
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
WARNING: Module TaintedWithPath has been deprecated and may be removed in future (/mnt/c/Projects/codeql-coding-standards/c/cert/src/rules/FIO32-C/DoNotPerformFileOperationsOnDevices.ql:19,8-23)
2+
edges
3+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | (const char *)... |
4+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name |
5+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name indirection |
6+
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | (const char *)... |
7+
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | file_name |
8+
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | file_name indirection |
9+
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | (LPCTSTR)... |
10+
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name |
11+
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name indirection |
12+
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | (LPCTSTR)... |
13+
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name |
14+
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name indirection |
15+
subpaths
16+
nodes
17+
| test.c:20:15:20:23 | file_name | semmle.label | file_name |
18+
| test.c:20:15:20:23 | scanf output argument | semmle.label | scanf output argument |
19+
| test.c:21:8:21:16 | (const char *)... | semmle.label | (const char *)... |
20+
| test.c:21:8:21:16 | file_name | semmle.label | file_name |
21+
| test.c:21:8:21:16 | file_name indirection | semmle.label | file_name indirection |
22+
| test.c:45:15:45:23 | file_name | semmle.label | file_name |
23+
| test.c:45:15:45:23 | scanf output argument | semmle.label | scanf output argument |
24+
| test.c:46:29:46:37 | (LPCTSTR)... | semmle.label | (LPCTSTR)... |
25+
| test.c:46:29:46:37 | file_name | semmle.label | file_name |
26+
| test.c:46:29:46:37 | file_name indirection | semmle.label | file_name indirection |
27+
#select
28+
| test.c:21:8:21:16 | file_name | test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name | This argument to a file access function is derived from $@ and then passed to func(file_name), which calls fopen(__filename) | test.c:20:15:20:23 | file_name | user input (scanf) |
29+
| test.c:46:29:46:37 | file_name | test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name | This argument to a file access function is derived from $@ and then passed to CreateFile(lpFileName) | test.c:45:15:45:23 | file_name | user input (scanf) |

0 commit comments

Comments
 (0)