On 10/12/21 9:15 PM, Alex fxmbsw7 Ratchev wrote:
could you give me maybe good urls about such to learn ( maybe not too long ones .. ) ?
You should, with a current bash devel, just be able to run make clean make valgrind That disables some bash malloc wrapping functions that confuse valgrind severely. Then just run valgrind bash or valgrind --leak-check=full bash and see what you get. (Assuming you have valgrind installed, of course, and depending on what you want to find out). If you want to try address sanitizer, make sure you have a compiler that supports it, then run make clean make asan I put the shorthand targets in for convenience. Once you build a bash with address sanitizer support, you just have to run it and see what it reports. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/