File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
cpp/ql/lib/semmle/code/cpp/models/interfaces Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ import semmle.code.cpp.models.Models
7
7
8
8
/**
9
9
* A function that is guaranteed to never throw a C++ exception
10
- * (distinct from a structured exception handling, SEH, exception).
10
+ *
11
+ * The function may still raise a structured exception handling (SEH) exception.
11
12
*/
12
13
abstract class NonCppThrowingFunction extends Function { }
13
14
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ import semmle.code.cpp.models.interfaces.FunctionInputsAndOutputs
14
14
* A function that is known to raise an exception.
15
15
*/
16
16
abstract class ThrowingFunction extends Function {
17
- ThrowingFunction ( ) { any ( ) }
18
-
19
17
/**
20
18
* Holds if this function may throw an exception during evaluation.
21
19
* If `unconditional` is `true` the function always throws an exception.
@@ -24,8 +22,6 @@ abstract class ThrowingFunction extends Function {
24
22
}
25
23
26
24
/**
27
- * A function that is known to raise an exception unconditionally.
28
- * The only cases known where this happens is for SEH
29
- * (structured exception handling) exceptions.
25
+ * A function that unconditionally raises a structured exception handling (SEH) exception.
30
26
*/
31
27
abstract class AlwaysSehThrowingFunction extends Function { }
You can’t perform that action at this time.
0 commit comments