ISO ISO/IEC TS 17961 Information technology - Programming languages, their environments and system software interfaces - C secure coding rules - First Edition
Данный раздел/документ содержится в продуктах:
- Техэксперт: Машиностроительный комплекс
- Картотека зарубежных и международных стандартов
- ISO ISO/IEC 9899 Information technology - Programming languages - C - Third Edition
- 35
- ISO ISO/IEC 9899 Information technology - Programming languages - C - Third Edition
- 35.060
- ISO ISO/IEC 9899 Information technology - Programming languages - C - Third Edition
- ISO ISO/IEC 10967-1 Information technology - Language independent arithmetic - Part 1: Integer and floating point arithmetic - Second Edition
- BSI BS ISO/IEC 9899 Information technology - Programming languages - C - CORR: March 31, 2013
- ISO ISO/IEC TR 24731-1 Information technology - Programming languages, their environments and system software interfaces - Extensions to the C library Part 1: Bounds-checking interfaces - First Edition
- Картотека зарубежных и международных стандартов
International Organization for Standardization
Information technology - Programming languages, their environments and system software interfaces - C secure coding rules - First Edition
N ISO/IEC TS 17961
Annotation
This Technical Specification specifies
— rules for secure coding in the C programming language and
— code examples.
This Technical Specification does not specify
— the mechanism by which these rules are enforced or
— any particular coding style to be enforced. (It has been impossible to develop a consensus on appropriate style guidelines. Programmers should define style guidelines and apply these guidelines consistently. The easiest way to consistently apply a coding style is with the use of a code formatting tool. Many interactive development environments provide such capabilities.)
Each rule in this Technical Specification is accompanied by code examples. Code examples are informative only and serve to clarify the requirements outlined in the normative portion of the rule. Examples impose no normative requirements. Each rule in this Technical Specification that is based on undefined behavior defined in the C Standard identifies the undefined behavior by a numeric code. The numeric codes for undefined behaviors can be found in Annex B, Undefined Behavior.
Two distinct kinds of examples are provided:
— noncompliant examples demonstrating language constructs that have weaknesses with potentially exploitable security implications; such examples are expected to elicit a diagnostic from a conforming analyzer for the affected language construct; and



