Download List

项目描述

Electric Fence (efence) stops your program on the exact instruction that overruns (or underruns) a malloc() memory buffer. GDB will then display the source-code line that causes the bug. It works by using the virtual-memory hardware to create a red-zone at the border of each buffer - touch that, and your program stops. Catch all of those formerly impossible-to-catch overrun bugs that have been bothering you for years.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2005-02-03 05:58 Back to release list
2.4.12

阿EF_NO_GLOBAL_MALLOC_FREE预处理标志被添加到解决马车环境。这可以防止的malloc(),无(),realloc()和calloc()从被带进图书馆的efence提出全局命名空间,因此只包括efence.h文件将调用efence的malloc()替换功能。这个标志也有利于地方链接顺序是无法控制的,因为当内存是从图书馆分配的不使用efence的例子,但免费()被调用使用efence。这是一个问题,当使用。对Msvcrt.dll和其malloc链接DLL库/免费在微软视窗。
标签: Minor feature enhancements
A EF_NO_GLOBAL_MALLOC_FREE preprocessor flag was added to work around buggy environments. This prevents malloc(), free(), realloc(), and calloc() from being put into the global namespace of the efence library, thus only files which include efence.h will call the efence malloc() replacement functions. This flag is also helpful where the linking order cannot be controlled, for example when memory is allocated from a library not using efence, but free() is called from using efence. This is a problem when using .dll libraries linked against msvcrt.dll and its malloc/free under MS Windows.

Project Resources