ISO/IEC TR 24731-2:2010 信息技术 编程语言、其环境及系统软件接口 C语言库的扩展 第2部分:动态分配函数
标准编号:ISO/IEC TR 24731-2:2010
中文名称:信息技术 编程语言、其环境及系统软件接口 C语言库的扩展 第2部分:动态分配函数
英文名称:Information technology — Programming languages, their environments and system software interfaces — Extensions to the C library — Part 2: Dynamic Allocation Functions
发布日期:2010-12
标准范围
ISO/IEC TR 24731为C库提供了替代功能,以促进更安全、更安全的编程。ISO/IEC TR 24731-1为提供边界检查的ISO/IEC 9899:1999的库函数提供了简单的替换函数。这些函数可以用作遗留代码中原始库函数的简单替换。ISO/IEC TR 24731-2:2010介绍了许多使用动态分配内存以确保缓冲区溢出不会发生的功能的替代品。
ISO/IEC TR 24731 provides alternative functions for the C library that promote safer, more secure programming. ISO/IEC TR 24731-1 provides simple replacement functions for the library functions of ISO/IEC 9899:1999 that provide bounds checking. Those functions can be used as simple replacements for the original library functions in legacy code. ISO/IEC TR 24731-2:2010 presents replacements for many of these functions that use dynamically allocated memory to ensure that buffer overflow does not occur.
标准预览图


