Skip to content

Commit 9a0e2e5

Browse files
committed
Updating .expected
1 parent a0ef795 commit 9a0e2e5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cpp/ql/test/query-tests/Critical/MemoryFreed/DoubleFree.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ edges
22
| test_free.cpp:11:10:11:10 | pointer to free output argument | test_free.cpp:14:10:14:10 | a |
33
| test_free.cpp:30:10:30:10 | pointer to free output argument | test_free.cpp:31:27:31:27 | a |
44
| test_free.cpp:35:10:35:10 | pointer to free output argument | test_free.cpp:37:27:37:27 | a |
5+
| test_free.cpp:42:27:42:27 | pointer to free output argument | test_free.cpp:44:27:44:27 | a |
56
| test_free.cpp:42:27:42:27 | pointer to free output argument | test_free.cpp:46:10:46:10 | a |
67
| test_free.cpp:44:27:44:27 | pointer to free output argument | test_free.cpp:46:10:46:10 | a |
78
| test_free.cpp:50:27:50:27 | pointer to free output argument | test_free.cpp:51:10:51:10 | a |
@@ -19,6 +20,7 @@ nodes
1920
| test_free.cpp:35:10:35:10 | pointer to free output argument | semmle.label | pointer to free output argument |
2021
| test_free.cpp:37:27:37:27 | a | semmle.label | a |
2122
| test_free.cpp:42:27:42:27 | pointer to free output argument | semmle.label | pointer to free output argument |
23+
| test_free.cpp:44:27:44:27 | a | semmle.label | a |
2224
| test_free.cpp:44:27:44:27 | pointer to free output argument | semmle.label | pointer to free output argument |
2325
| test_free.cpp:46:10:46:10 | a | semmle.label | a |
2426
| test_free.cpp:46:10:46:10 | a | semmle.label | a |

cpp/ql/test/query-tests/Critical/MemoryFreed/UseAfterFree.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
edges
22
| test_free.cpp:11:10:11:10 | pointer to free output argument | test_free.cpp:12:5:12:5 | a |
33
| test_free.cpp:11:10:11:10 | pointer to free output argument | test_free.cpp:13:5:13:6 | * ... |
4+
| test_free.cpp:42:27:42:27 | pointer to free output argument | test_free.cpp:43:22:43:22 | a |
45
| test_free.cpp:42:27:42:27 | pointer to free output argument | test_free.cpp:45:5:45:5 | a |
56
| test_free.cpp:44:27:44:27 | pointer to free output argument | test_free.cpp:45:5:45:5 | a |
67
| test_free.cpp:69:10:69:10 | pointer to free output argument | test_free.cpp:71:9:71:9 | a |
@@ -27,6 +28,7 @@ nodes
2728
| test_free.cpp:12:5:12:5 | a | semmle.label | a |
2829
| test_free.cpp:13:5:13:6 | * ... | semmle.label | * ... |
2930
| test_free.cpp:42:27:42:27 | pointer to free output argument | semmle.label | pointer to free output argument |
31+
| test_free.cpp:43:22:43:22 | a | semmle.label | a |
3032
| test_free.cpp:44:27:44:27 | pointer to free output argument | semmle.label | pointer to free output argument |
3133
| test_free.cpp:45:5:45:5 | a | semmle.label | a |
3234
| test_free.cpp:45:5:45:5 | a | semmle.label | a |

0 commit comments

Comments
 (0)