Is it possible to make valgrind ignore certain libraries?

前端 未结 3 929
清歌不尽
清歌不尽 2020-11-29 07:58

Or preferably all of them instead of just my code? My program uses Gtk, Loudmouth and few other things, and these two (and some behind them, libgcrypto, libssl) are causing

3条回答
  •  攒了一身酷
    2020-11-29 08:18

    You can generate suppressions for the errors for the libraries, but I don't think you can exclude the libraries generally.

    Also it's hard to automatically know if a memory error in the library is caused by a problem in your code or not.

提交回复
热议问题