Re: Feature like add-symbol-file for Valgrind

Julian Seward <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
Did you look into using the following option?

     --ignore-range-below-sp=<number>-<number>  do not report errors for
                                      accesses at the given offsets below SP

J

On 18/11/2019 09:02, Jefferson Carpenter wrote:
> I'm debugging a mingw-compiled exe running under Wine, and I'm getting some 
> invalid reads in chkstk.  Assuming I don't want to "skip past" them but detect 
> and suppress them, the most natural thing to do would be to create and use a 
> suppressions file.
> 
> However, the code that calls into chkstk is loaded outside of the normal 
> "dlopen" code path, and neither Valgrind nor GDB loads symbols for it before 
> it is jumped into.  With GDB I can use "add-symbol-file" to state where to 
> find the symbols for it.  Does Valgrind have a similar option?
> 
> Thanks,
> Jefferson
> 
> 
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
> 



_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.