CodeQL library for C/C++
Search

Predicate fcloseCall

A call to a library function that closes a file.

Import path

import semmle.code.cpp.commons.File
predicate fcloseCall(FunctionCall fc, Expr closed)