Skip to content

Commit e9ce296

Browse files
committed
C++: Qldoc.
1 parent 1d358c5 commit e9ce296

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cpp/ql/src/Security/CWE/CWE-295/SSLResultConflation.ql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,17 @@ import cpp
1414
import semmle.code.cpp.controlflow.Guards
1515
import semmle.code.cpp.dataflow.DataFlow
1616

17+
/**
18+
* A call to `SSL_get_verify_result`.
19+
*/
1720
class SSLGetVerifyResultCall extends FunctionCall {
1821
SSLGetVerifyResultCall() { getTarget().getName() = "SSL_get_verify_result" }
1922
}
2023

24+
/**
25+
* Data flow from a call to `SSL_get_verify_result` to a guard condition
26+
* that references the result.
27+
*/
2128
class VerifyResultConfig extends DataFlow::Configuration {
2229
VerifyResultConfig() { this = "VerifyResultConfig" }
2330

0 commit comments

Comments
 (0)