CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (changelog, source)
Search

Module Scanf

A library for dealing with scanf-like formatting strings. This is similar to printf.qll but the format specification for scanf is quite different.

Import path

import semmle.code.cpp.commons.Scanf

Imports

Type

Provides a hierarchy of classes for modeling C/C++ types.

Classes

Fscanf

The standard function fscanf (and variations).

Scanf

The standard function scanf (and variations).

ScanfFormatLiteral

A class to represent format strings that occur as arguments to invocations of scanf functions.

ScanfFunction

A scanf-like standard library function.

ScanfFunctionCall

A call to one of the scanf functions.

Snscanf

The standard(ish) function snscanf (and variations).

Sscanf

The standard function sscanf (and variations).