mirror of
https://github.com/github/codeql.git
synced 2026-06-03 04:40:14 +02:00
10 lines
334 B
Plaintext
10 lines
334 B
Plaintext
import semmle.code.cpp.models.interfaces.Throwing
|
|
|
|
class WindowsDriverFunction extends ThrowingFunction {
|
|
WindowsDriverFunction() {
|
|
this.hasGlobalName(["RaiseException", "ExRaiseAccessViolation", "ExRaiseDatatypeMisalignment"])
|
|
}
|
|
|
|
final override predicate mayThrowException(boolean unconditional) { unconditional = true }
|
|
}
|