I have program that compile with -g and -o0 , and I run this program with valgrind :
valgrind --leak-check=full \
--show-leak-kinds=all \
--track-origins=yes \
--verbose \
--log-file=valgrind-out.txt \
./executable exampleParam1
I have some error but valgrind doesn't present the file and line
==22544== Conditional jump or move depends on uninitialised value(s)
==22544== at 0x8048654: memcpy (in /path_to_binary)
==22544== Uninitialised value was created
==22544== at 0x80486DB: brk (in /path_to_binary)
How to make valgrind
present to line and file of errors?