Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The stack traces given by Memcheck (or another tool) seem to have the wrong function name in them. Whats happening?

0
Posted

The stack traces given by Memcheck (or another tool) seem to have the wrong function name in them. Whats happening?

0

Occasionally Valgrind stack traces get the wrong function names. This is caused by glibc using aliases to effectively give one function two names. Most of the time Valgrind chooses a suitable name, but very occasionally it gets it wrong. Examples we know of are printing bcmp instead of memcmp, index instead of strchr, and rindex instead of strrchr.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123