Skip to content

Commit 6865078

Browse files
committed
Convert SIG35-C to the new dataflow library
1 parent 8924137 commit 6865078

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

c/cert/src/rules/SIG35-C/DoNotReturnFromAComputationalExceptionHandler.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import cpp
2020
import codingstandards.c.cert
2121
import codingstandards.c.Signal
22-
import semmle.code.cpp.dataflow.DataFlow
22+
import semmle.code.cpp.dataflow.new.DataFlow
2323

2424
/**
2525
* CFG nodes preceeding a `ReturnStmt`
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
WARNING: module 'DataFlow' has been deprecated and may be removed in future (DoNotReturnFromAComputationalExceptionHandler.ql:44,5-13)
21
| test.c:10:1:10:1 | return ... | Do not return from a $@ signal handler. | test.c:13:10:13:15 | SIGFPE | computational exception |

0 commit comments

Comments
 (0)