wok-current annotate electric-fence/description.txt @ rev 25524
created recipes for tree-sitter and tree-sitter-dev 0.20.7
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:21:52 2023 +0100 (18 months ago) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24512 | 1 Electric Fence is a debugger that uses virtual memory hardware to detect illegal |
Hans-G?nter@24512 | 2 memory accesses. |
Hans-G?nter@24512 | 3 It can detect two common programming bugs: |
Hans-G?nter@24512 | 4 software that overruns or underruns the boundaries of a malloc() memory allocation, |
Hans-G?nter@24512 | 5 and software that touches a memory allocation that has been released by free(). |
Hans-G?nter@24512 | 6 |
Hans-G?nter@24512 | 7 Unlike other malloc() debuggers, Electric Fence will detect read accesses as well |
Hans-G?nter@24512 | 8 as writes, and it will stop and pinpoint the exact instruction that causes an error. |
Hans-G?nter@24512 | 9 It is not as thorough as Purify, however. |
Hans-G?nter@24512 | 10 |
Hans-G?nter@24512 | 11 In order to debug a program it needs to be linked with Electric Fence's library or |
Hans-G?nter@24512 | 12 dynamic linking needs to be used. |