My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

This is a Win32 port of Bruce Perens' Electric Fence heap debugging utility.

If you are using a Unix-like platform, you probably want the original instead. I've made an effort to keep the source compatible with Unix-like platforms, but I haven't tested it.

Advantages compared to the original:

  • Implements Page_Delete, so (particularly on x64) you can enable EF_PROTECT_FREE even for projects that use a lot of memory.

Disadvantages compared to the original:

  • Windows doesn't appear to have an equivalent to LD_PRELOAD, and even regular link-time linking doesn't like naming conflicts. Therefore, you have to change your source code to use EF_*alloc functions.

Other forks of Electric Fence that claim to work on Win32:

Powered by Google Project Hosting