Module FileWrite

Import path

semmle.code.cpp.security.FileWrite

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Classes

BasicOStreamCall

A call to a member of std::basic_ostream, or something related, or a call with one of those objects as the first parameter.

BasicOStreamClass

A std::basic_ostream class, or something that can be used as one.

ChainedOutputCall

Output by a function that can be chained, such as operator<<.

FileWrite

A function call that writes to a file

OperatorLShiftCall

A call to operator<< on an output stream.

PutFunctionCall

A call to ‘put’.

WriteFunctionCall

A call to ‘write’.