Downloadliste

Projektbeschreibung

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.

Systemanforderungen

Die Systemvoraussetzungen sind nicht definiert
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 Zurück zur Release-Liste
2.4.12

Ein EF_NO_GLOBAL_MALLOC_FREE Präprozessor Flagge wurde hinzugefügt, um umgehen, Buggy-Umgebungen. Dadurch wird verhindert, malloc (), free (), realloc () und calloc () entfernt, in den globalen Namensraum des efence Bibliothek ablegen, also nur Dateien, die efence.h gehören die efence malloc () aufrufen, Ersatz-Funktionen. Diese Fahne ist auch hilfreich, wenn die Verknüpfung, um nicht kontrolliert werden kann, zum Beispiel, wenn der Speicher ist aus einer Bibliothek zugeordnet efence nicht verwenden, aber frei () ist von der Nutzung efence aufgerufen. Dies ist ein Problem bei der Verwendung. DLL-Bibliotheken gegen msvcrt.dll und seine malloc gelinkten / kostenlos unter MS Windows.
Tags: 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