mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update qldoc
This commit is contained in:
@@ -52,7 +52,7 @@ class FileWrapperCall extends DataFlow::CallCfgNode {
|
||||
|
||||
/** A node where a file is closed. */
|
||||
abstract class FileClose extends DataFlow::CfgNode {
|
||||
/** Holds if this file close will occur if an exception is raised at `raises`. */
|
||||
/** Holds if this file close will occur if an exception is raised at `fileRaises`. */
|
||||
predicate guardsExceptions(DataFlow::CfgNode fileRaises) {
|
||||
// The close call occurs after an exception edge in the cfg (a catch or finally)
|
||||
bbReachableRefl(fileRaises.asCfgNode().getBasicBlock().getAnExceptionalSuccessor(),
|
||||
|
||||
Reference in New Issue
Block a user