Skip to content
Sections
>> Trisquel >> Packages >> nabia >> devel >> electric-fence
etiona  ] [  nabia  ] [  aramo  ]
[ Source: electric-fence  ]

Package: electric-fence (2.2.5)

A malloc(3) debugger

Electric Fence is a debugger that uses virtual memory hardware to detect illegal memory accesses. It can detect two common programming bugs: software that overruns or underruns the boundaries of a malloc() memory allocation, and software that touches a memory allocation that has been released by free().

Unlike other malloc() debuggers, Electric Fence will detect read accesses as well as writes, and it will stop and pinpoint the exact instruction that causes an error. It is not as thorough as Purify, however.

In order to debug a program it needs to be linked with Electric Fence's library or dynamic linking needs to be used; README.Debian explains that in detail.

Other Packages Related to electric-fence

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.4) [armhf]

Download electric-fence

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 18.8 kB71 kB [list of files]
armhf 18.5 kB61 kB [list of files]