ダウンロードリスト

プロジェクト概要

Electric Fence(efence)は、malloc()のメモリバッファでオーバーラン(またはアンダーラン)を正確に起こす命令であなたのプログラムを停止します。。続いてGDBはバグを起こすソースコード行を表示します。仮想メモリのハードウェアを使用して各バッファの境界にレッドゾーンを作成し、それにタッチし、あなたのプログラムが停止します。長年にわたってあなたを悩ませている、これらの以前は捕捉不可能だった全てのオーバーランのバグをキャッチします。

システム要件

システム要件が設定されていません
プロジェクトのリリース情報やプロジェクトリソースの情報です。
注: プロジェクトリソースの情報は Freecode.com ページからの引用です。ダウンロードそのものは、OSDNにホスティングされているものではありません。

2005-08-30 16:43
2.4.16

このリリースの主な焦点は優れているの移植。標準strerror()は現在使用されます。したときにEF_NO_LEAKDETECTION定義されて発生したエラーが修正されました。割当標準ライブラリからef_init前にマーク()のリークが発生する特殊な治療法をチェックできるようにするために呼び出されます。 eftestのデフォルトを一度に2つの信号を使用する:変更されたSIGSEGVのとSIGBUSで。アラインメントより大きいページサイズを今はmemalign認められている()。 EF_EXPLICIT_INITプリプロセッサフラグバグの環境を回避するために追加されました。環境リークはもはや報告されます。
タグ: Minor bugfixes
The main focus of this release is better
portability. A standardized strerror() is now
used. An error which occurred when
EF_NO_LEAKDETECTION was defined was fixed.
Allocations from standard libraries are marked
before ef_init() is called to allow special
treatment in leak-checking. The default in eftest
was changed to use two signals at once: SIGSEGV
and SIGBUS. Alignments bigger than page size are
now allowed for memalign(). The EF_EXPLICIT_INIT
preprocessor flag was added to work around buggy
environments. Environment leaks are no longer
reported.

2005-07-25 08:11
2.4.15

ただし、この修正プログラムのメモリ(Windows版)の下でプーリングを避けるのWindowsでの仮想アドレススペースは解放されなかったの下にページ管理のバグ、修正されました。 ExitOnFailパラメータPage_Createに追加された()。警告する場合の割り当てに失敗しExitOnFailオフになって表示されます。 _eff_allocate()このために拡張されました。
タグ: Major bugfixes
Bugs in page management under Windows where virtual address space was never released was fixed, though this fix avoids memory pooling (under Windows). An ExitOnFail parameter was added to Page_Create(). A warning is now displayed when an allocation failed and ExitOnFail is off. _eff_allocate() was extended for this.

2005-07-16 05:54
2.4.14

バグ修正メモリ管理が行われた。新しいマクロのために提供された新しいおよび削除します。余分なチェックを行うための関数strdupの()、memcpy()は、strcpy()、strncpy()関数、strcat()やstrncatが追加されました()。新しいEF_SHOW_ALLOC環境スイッチ含まれています。
タグ: Minor feature enhancements
Bugfixes were made in memory management. New macros were provided for new and delete. Functions for doing extra checks were added for strdup(), memcpy(), strcpy(), strncpy(), strcat(), and strncat(). A new EF_SHOW_ALLOC environment switch was included.

2005-02-13 07:20
2.4.13

このリリースではリワークを改訂し、すべての内部機能します。それは()/ NEW_ARRAY()マクロ。すでに解放されたメモリの解放が検出され、古いNEW_ELEMに互換性を保つためにEF_OLD_NEW_MACROプリプロセッサフラグを追加します。これは__FILE__と無料__LINE__()の位置に印刷できるようにする店は無料最初の。このバージョンで修正するときに高い数値例:10000とeftestの呼び出しが発生したバグを修正。そこはmemalignに対するバグ修正された()はエクスポートされませんでした。マクロと関数は現在も、であるvallocに定義されている()。
This release reworks and revises all internal functions. It
adds an EF_OLD_NEW_MACRO preprocessor flag to keep
compatibility to old NEW_ELEM() / NEW_ARRAY() macros.
Freeing already freed memory is now detected. It stores
__FILE__ and __LINE__ of free() to be able to print the
position of first free. This version fixes a bug that occurred
when calling eftest with a higher number e.g. 10000. There
were bugfixes to memalign() which was not exported.
Macros and functions are now also defined for valloc().

2005-02-03 05:58
2.4.12

EF_NO_GLOBAL_MALLOC_FREEプリプロセッサフラグバグの環境を回避するために追加されました。これはmalloc(無料)、()、realloc()をし、calloc()からefenceライブラリのグローバルな名前空間に配置され、これefence.hを含めるためのファイルのみefence malloc関数の呼び出しができなくなります()置換機能します。このフラグは、どこにリンク順序を制御することはできません便利ですが、たとえば、メモリのライブラリからefence使用していない割り当てられているのためには無料()efenceを使用してから呼び出されます。この問題は、使用している。dllライブラリmsvcrt.dllは、そのmalloc関数に対するリンク/ MS Windowsの下、無料です。
タグ: 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.

プロジェクトリソース