wok-current diff electric-fence/description.txt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (2022-06-06)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/electric-fence/description.txt	Mon Jun 06 08:51:13 2022 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +Electric Fence is a debugger that uses virtual memory hardware to detect illegal
     1.5 +memory accesses.
     1.6 +It can detect two common programming bugs:
     1.7 +software that overruns or underruns the boundaries of a malloc() memory allocation,
     1.8 +and software that touches a memory allocation that has been released by free().
     1.9 +
    1.10 +Unlike other malloc() debuggers, Electric Fence will detect read accesses as well
    1.11 +as writes, and it will stop and pinpoint the exact instruction that causes an error.
    1.12 +It is not as thorough as Purify, however.
    1.13 +
    1.14 +In order to debug a program it needs to be linked with Electric Fence's library or
    1.15 +dynamic linking needs to be used.