I have a problem, with valgrind; I dont know why when I check my program developped in C with valgrind, it couldn’t display functions names (it display “???”) where it found problems but this problems is not for all errors that it detects
==9803== ERROR SUMMARY: 24 errors from 6 contexts (suppressed: 0 from 0)
==9803==
==9803== 1 errors in context 1 of 6:
==9803== Conditional jump or move depends on uninitialised value(s)
==9803== at 0x40F7EC6: ???
==9803==
==9803== 1 errors in context 2 of 6:
==9803== Conditional jump or move depends on uninitialised value(s)
==9803== at 0x40F86F8: ???
==9803==
==9803== 1 errors in context 3 of 6:
==9803== Conditional jump or move depends on uninitialised value(s)
==9803== at 0x40F8166: ???
==9803==
==9803== 1 errors in context 4 of 6:
==9803== Conditional jump or move depends on uninitialised value(s)
==9803== at 0x40F805E: ???
==9803==
Have you a solution for displaying functions names with valgrind?
Thanks in advance
Presumably these errors are occurring in libraries for which you have no debug symbols.
It’s easy to confirm: just do look at /proc/
pidof my-binary/maps while the application is running.This clearly shows the addresses of the code sections (marked as r-xp) of each shared library. Just find the range matching the addresses you see and you’ll at least know which library is responsible.