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
77
88/**
99 * 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.
1112 */
1213abstract class NonCppThrowingFunction extends Function { }
1314
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ import semmle.code.cpp.models.interfaces.FunctionInputsAndOutputs
1414 * A function that is known to raise an exception.
1515 */
1616abstract class ThrowingFunction extends Function {
17- ThrowingFunction ( ) { any ( ) }
18-
1917 /**
2018 * Holds if this function may throw an exception during evaluation.
2119 * If `unconditional` is `true` the function always throws an exception.
@@ -24,8 +22,6 @@ abstract class ThrowingFunction extends Function {
2422}
2523
2624/**
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.
3026 */
3127abstract class AlwaysSehThrowingFunction extends Function { }
You can’t perform that action at this time.
0 commit comments