Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Formatting fix;NFC

...

Anchor
criticalsections
criticalsections

critical sections
Code that accesses shared data, and that would otherwise be protected from data races.

Anchor
cvqualify
cvqualify

cv-qualify
A type that is qualified by either const or volatile.

...

Anchor
odr-use
odr-use

ODR-use [ISO/IEC 14882-2014]
A function or object is ODR-used if the address of the entity is taken, the function is called, or a reference is bound to the object. When a function or object is ODR-used, its definition must exist within the program or else the program is ill-formed.

Anchor
RAII
RAII

RAII (Resource Acquisition Is Initialization)
An acronym that stands for: Resource Acquisition Is Initialization. Holding a resource is a class invariant where the allocation of the resource (acquisition) is inseparable from the initialization of the object during its construction. Further, deallocation of the resource is performed during the destruction of the object. Thus, the resource is held when initialization completes and remains held until finalization begins, ensuring there are no resource leaks unless the object owning the resource is also leaked.

...

NOTE 
Tainted sources include

    • parameters to the main() function
    • the returned values from localeconv()fgetc()getcgetchar()fgetwc()getwc(), and getwchar()
    • the strings produced by getenv()fscanf()vfscanf()vscanf()fgets()fread()fwscanf()vfwscanf()vwscanf()wscanf(), and fgetws()

Anchor
tainted value
tainted value

tainted value [ISO/IEC TS 17961:2013]
Value derived from a tainted source that has not been sanitized.

...