Suppress Valgrind when Memory Location is Unknown

1

I am trying to add code in a Valgrind suppression file that removes errors and warnings that do not list the actual function calls or files causing the errors and warnings.

For instance:

 <b>IPW</b> ==55555== Invalid write of size X
 ==55556==      at  0xFFFFFFFF: ???
 ==55557==      by 0xFFFFEEEE: ???

Therefore I am trying to create a few lines of code in a Valgrind suppression file that will suppress all of these instances where the function call or file causing the error/warning is unknown. Unfortunately I cannot find anything in the Valgrind docs that explain how to do this. Does anyone know how to suppress errors or warnings coming from unknown function calls or file?

valgrind
asked on Stack Overflow Jun 13, 2018 by C. Lightfoot • edited Jun 13, 2018 by apangin

1 Answer

1

First, verify that your changes aren't causing the issue and it's really an issue/false-positive within outside code.

If so, you can add the following line into your Valgrind suppression to get what you need:

obj:???

User contributions licensed under CC BY-SA 3.0