wok-current diff electric-fence/description.txt @ rev 25604
Use gcc49 to build mysql
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 20:31:42 2023 +0000 (16 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/electric-fence/description.txt Fri Sep 01 20:31:42 2023 +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.