Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

According to the C Standard [ISO/IEC 9899:2011], linkage is determined as follows:

...

Use of an identifier (within one translation unit) classified as both internally and externally linked causes undefined behavior. See also undefined behavior 8  of in Appendix J of the C Standard. A translation unit includes the source file together with its headers and all source files included via the preprocessing directive #include.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

...

ISO/IEC 9899:2011 Section 6.2.2, "Linkages of identifiers"

...

MISRA-CRule 8.1

Bibliography