abnormal termination [Open Group 2008]
Abnormal termination occurs when requested by the abort()
function or when some signals are received. See also #normal termination.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="bd3b2c8d-4157-435b-9837-6ce76bab93bd"><ac:parameter ac:name=""> async-signal-safe</ac:parameter></ac:structured-macro>
async-signal-safe function [ISO/IEC 9945:2008]
A function that may be invoked, without restriction, from signal-catching functions. No function [defined in ISO/IEC 9945] is async-signal-safe unless explicitly described as such. See also asynchronous-safe.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="a438d5ed-1d55-42ab-9101-fc80303a108f"><ac:parameter ac:name=""> asynchronous-safe</ac:parameter></ac:structured-macro>
asynchronous-safe function [GNU Pth]
A function is asynchronous-safe, or asynchronous-signal safe, if it can be called safely and without side effects from within a signal handler context. That is, it must be able to be interrupted at any point to run linearly out of sequence without causing an inconsistent state. It must also function properly when global data might itself be in an inconsistent state. Some asynchronous-safe operations are listed here:
- call the
signal()
function to reinstall a signal handler - unconditionally modify a
volatile sig_atomic_t
variable (as modification to this type is atomic) - call the
_Exit()
function to immediately terminate program execution - invoke an asynchronous-safe function, as specified by your implementation
Few functions are portably asynchronous-safe. If a function performs any other operations, it is probably not portably asynchronous-safe.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="17e3696d-448c-457f-8861-4501a3db24f4"><ac:parameter ac:name=""> availability</ac:parameter></ac:structured-macro>
availability [IEEE Std 610.12 1990]
The degree to which a system or component is operational and accessible when required for use. Often expressed as a probability.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="b95e6ecd-9938-434e-936c-66f60b42fbb7"><ac:parameter ac:name=""> conforming program</ac:parameter></ac:structured-macro>
conforming [ISO/IEC 9899-1999]
Conforming programs may depend on nonportable features of a conforming implementation.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="1ffc7e1d-460d-46c7-a767-162a4fed88c3"><ac:parameter ac:name=""> data race</ac:parameter></ac:structured-macro>
data race [ISO/IEC Document Number N3000 – Working Draft, Standard for Programming Language C++, November 2009]
The execution of a program contains a data race if it contains two conflicting actions in different threads, at least one of which is not atomic, and neither happens before the other. Any such data race results in undefined behavior.
denial-of-service attack
Also DoS attack. An attempt to make a computer resource unavailable to its intended users.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="613493d9-1f9a-4dcf-bdd2-71299e783999"><ac:parameter ac:name=""> error tolerance</ac:parameter></ac:structured-macro>
error tolerance [IEEE Std 610.12 1990]
The ability of a system or component to continue normal operation despite the presence of erroneous inputs.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="9354931c-3260-4e82-b160-525e9ba021ce"><ac:parameter ac:name=""> exploit</ac:parameter></ac:structured-macro>
exploit [Seacord 2005a]
A piece of software or a technique that takes advantage of a security vulnerability to violate an explicit or implicit security policy.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="cc8fe136-a59a-457d-b9fb-5f7fa8c64f77"><ac:parameter ac:name=""> fail safe</ac:parameter></ac:structured-macro>
fail safe [IEEE Std 610.12 1990]
Pertaining to a system or component that automatically places itself in a safe operating mode in the event of a failure; for example, a traffic light that reverts to blinking red in all directions when normal operation fails.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="6a65e64c-c590-49a9-85c5-2b6d0ff16bbb"><ac:parameter ac:name=""> fail soft</ac:parameter></ac:structured-macro>
fail soft [IEEE Std 610.12 1990]
Pertaining to a system or component that continues to provide partial operational capability in the event of certain failures; for example, a traffic light that continues to alternate between red and green if the yellow light fails.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="66db15d4-fef3-4439-aa71-e1bf38f34889"><ac:parameter ac:name=""> fault tolerance</ac:parameter></ac:structured-macro>
fault tolerance [IEEE Std 610.12 1990]
The ability of a system or component to continue normal operation despite the presence of hardware or software faults.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="cbf1d13b-7346-4e71-ae0d-68036872507a"><ac:parameter ac:name=""> freestanding environment</ac:parameter></ac:structured-macro>
freestanding environment [ISO/IEC 9899-1999]
An environment in which C program execution may take place without any benefit of an operating system. Program startup might occur at some function other than main()
, complex types might not be implemented, and only certain minimal library facilities are guaranteed to be available.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="e761059a-aaac-4f1a-a0db-35962a361d9a"><ac:parameter ac:name=""> function-like macro</ac:parameter></ac:structured-macro>
function-like macro [ISO/IEC 9899-1999]
A #define
preprocessing directive that defines an identifier immediately followed by zero or more parameters, the ellipsis (...
), or a combination of the two, enclosed in parentheses, similar syntactically to a function call. Subsequent instances of the macro name followed by a parenthesized list of arguments in a translation unit are replaced by the replacement list of preprocessing tokens that constitute the remainder of the directive. See also object-like macro and unsafe function-like macro.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="d1917a98-8c29-42ae-b8fe-ba2e25844710"><ac:parameter ac:name=""> hosted environment</ac:parameter></ac:structured-macro>
hosted environment [ISO/IEC 9899-1999]
An environment that is not freestanding. Program startup occurs at main()
, complex types are implemented, and all C standard library facilities are available.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="177543a5-e572-43fb-801c-9881f425ba10"><ac:parameter ac:name=""> implementation</ac:parameter></ac:structured-macro>
implementation [ISO/IEC 9899-1999]
Particular set of software, running in a particular translation environment under particular control options, that performs translation of programs for, and supports execution of functions in, a particular execution environment.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="4e520eef-6905-4e0f-8a95-25ecd137d009"><ac:parameter ac:name=""> implementation-defined behavior</ac:parameter></ac:structured-macro>
implementation-defined behavior [ISO/IEC 9899-1999]
Unspecified behavior whereby each implementation documents how the choice is made.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="dab3b3b5-fcbe-4216-a69d-eff4a583b55b"><ac:parameter ac:name=""> incomplete type</ac:parameter></ac:structured-macro>
incomplete type [ISO/IEC 9899-1999]
A type that describes an identifier but lacks information needed to determine the size of the identifier.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="8ce8d27b-73b6-4d54-b7fd-1171e114978d"><ac:parameter ac:name=""> indeterminate value</ac:parameter></ac:structured-macro>
indeterminate value [ISO/IEC 9899-1999]
Either an unspecified value or a trap representation.
invalid pointer
A pointer that is not a #valid pointer.
liveness
Every operation or method invocation executes to completion without interruptions, even if it goes against safety.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="cbaf5683-1ee1-4e0a-aab4-e7a6e19d272e"><ac:parameter ac:name=""> locale-specific behavior</ac:parameter></ac:structured-macro>
locale-specific behavior [ISO/IEC 9899-1999]
Behavior that depends on local conventions of nationality, culture, and language that each implementation documents.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="edbce834-a8b5-4b10-a85a-c9b370591c86"><ac:parameter ac:name=""> lvalue</ac:parameter></ac:structured-macro>
lvalue [ISO/IEC 9899-1999]
An expression with an object type or an incomplete type other than void
. The name lvalue comes originally from the assignment expression E1 = E2
, in which the left operand E1
is required to be a (modifiable) lvalue. It is perhaps better considered as representing an object "locator value".
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="5adff164-e382-4a96-b861-e293cbdddf53"><ac:parameter ac:name=""> mitigation</ac:parameter></ac:structured-macro>
mitigation [Seacord 2005a]
Methods, techniques, processes, tools, or runtime libraries that can prevent or limit exploits against vulnerabilities.
normal termination [Open Group 2008]
Normal termination occurs by a return from main()
, when requested with the exit()
, _exit()
, or _Exit()
functions; or when the last thread in the process terminates by returning from its start function, by calling the pthread_exit()
function, or through cancellation. See also #abnormal termination.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="18b33654-ecaa-4439-8eef-5d06d0800d51"><ac:parameter ac:name=""> object-like macro</ac:parameter></ac:structured-macro>
object-like macro [ISO/IEC 9899-1999]
A #define
preprocessing directive that defines an identifier with no parentheses. Subsequent instances of the macro name in a translation unit are replaced by the replacement list of preprocessing tokens that constitute the remainder of the directive. See also function-like macro.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="c8c09b58-7680-459c-b400-0170ce774bf6"><ac:parameter ac:name=""> reentrant</ac:parameter></ac:structured-macro>
reentrant [Dowd 2006]
A function is reentrant if multiple instances of the same function can run in the same address space concurrently without creating the potential for inconsistent states.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="cdbb4b29-86dc-4338-9879-2a3ee345b052"><ac:parameter ac:name=""> reliability</ac:parameter></ac:structured-macro>
reliability [IEEE Std 610.12 1990]
The ability of a system or component to perform its required functions under stated conditions for a specified period of time.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="5775be88-498a-4f5c-bcf6-8eef58a17f01"><ac:parameter ac:name=""> robustness</ac:parameter></ac:structured-macro>
robustness [IEEE Std 610.12 1990]
The degree to which a system or component can function correctly in the presence of invalid inputs or stressful environmental conditions.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="be8e9cbc-22b8-453d-8b3d-d02ecbfc370d"><ac:parameter ac:name=""> rvalue</ac:parameter></ac:structured-macro>
rvalue [ISO/IEC 9899-1999]
Value of an expression.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="0ba4293d-6356-464c-ace0-17f3a8effa63"><ac:parameter ac:name=""> security flaw</ac:parameter></ac:structured-macro>
security flaw [Seacord 2005a]
A software defect that poses a potential security risk.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="09ab6e37-1962-4f1a-b14d-0551f4366ad2"><ac:parameter ac:name=""> security policy</ac:parameter></ac:structured-macro>
security policy [Internet Society 2000]
A set of rules and practices that specify or regulate how a system or organization provides security services to protect sensitive and critical system resources.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="8847d033-dc9b-44fa-abba-b570060aff52"><ac:parameter ac:name=""> sequence point</ac:parameter></ac:structured-macro>
sequence point C99 [ISO/IEC 9899-1999]
Evaluation of an expression may produce side effects. At specific points in the execution sequence called sequence points, all side effects of previous evaluations have completed, and no side effects of subsequent evaluations have yet taken place.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="0a7d0d13-574e-437d-981e-57f9b10ecfb8"><ac:parameter ac:name=""> strictly conforming</ac:parameter></ac:structured-macro>
strictly conforming [ISO/IEC 9899-1999]
A strictly conforming program is one that uses only those features of the language and library specified in the international standard. Strictly conforming programs are intended to be maximally portable among conforming implementations and can't, for example, depend on implementation-defined behavior.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="809c4114-40e6-4500-8522-47ffe8355d2d"><ac:parameter ac:name="">trap representation</ac:parameter></ac:structured-macro>
trap representation [ISO/IEC 9899-1999]
Object representation that does not represent a value of the object type. Attempting to read the value of an object that has a trap representation other than by an expression that has a character type is undefined . Producing such a representation by a side effect that modifies all or any part of the object other than by an expression that has a character type is undefined.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="d0940611-96c9-438a-86da-8f0f05eeb37e"><ac:parameter ac:name=""> undefined behavior</ac:parameter></ac:structured-macro>
undefined behavior [ISO/IEC 9899-1999]
Behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which the standard imposes no requirements. An example of undefined behavior is the behavior on integer overflow.
unsafe function-like macro
A #function-like macro whose expansion causes one or more of its arguments not to be evaluated exactly once.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="e7ade141-baa9-4ed2-92a1-48e374140c01"><ac:parameter ac:name=""> unspecified behavior</ac:parameter></ac:structured-macro>
unspecified behavior [ISO/IEC 9899-1999]
Behavior for which the standard provides two or more possibilities and imposes no further requirements on which is chosen in any instance.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="ac9b977b-3ca4-4c13-9ec3-b72f3f5a2c47"><ac:parameter ac:name=""> unspecified value</ac:parameter></ac:structured-macro>
unspecified value [ISO/IEC 9899-1999]
A valid value of the relevant type where the C Standard imposes no requirements on which value is chosen in any instance. An unspecified value cannot be a trap representation.
valid pointer
A pointer that refers to an element within an array or one past the last element of an array. For the purposes of this definition, a pointer to an object that is not an element of an array behaves the same as a pointer to the first element of an array of length one with the type of the object as its element type. (Cf 6.5.8p3)
For the purposes of this definition, an object can be considered to be an array of a certain number of bytes; that number is the size of the object, as produced by the sizeof
operator.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="1eec4629-5606-444e-b63b-98bffaf885a4"><ac:parameter ac:name=""> validation</ac:parameter></ac:structured-macro>
validation [IEC 61508-4]
Confirmation by examination and provision of objective evidence that the particular requirements for a specific intended use are fulfilled.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="32f4e63f-a2f4-4da0-ae72-bb9ea7fb9c34"><ac:parameter ac:name=""> verification</ac:parameter></ac:structured-macro>
verification [IEC 61508-4]
Confirmation by examination and provision of objective evidence that the requirements have been fulfilled.
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="8abad7a3-52c4-4755-b4c7-023018b14bcd"><ac:parameter ac:name=""> vulnerability</ac:parameter></ac:structured-macro>
vulnerability [Seacord 2005a]
A set of conditions that allows an attacker to violate an explicit or implicit security policy.