> On 25 Jan 2021, at 11:49, Kunal Chauhan <atkunalchau...@gmail.com> wrote: > > Thanks for clarifications > ++ if the binary is crashed or may be not crashed when it runs with valgrind, > but in both case valgrind is able to give the report. ?
Hi If your application causes a segmentation fault, the OS will send it a SIGSEGV signal. When it is running inside Valgrind, Valgrind will see whether or not your application has a signal handler. If not it will print a message describing the fault and also instructions as to what you should do in the unlikely event that the cause is a stack overflow in your program’s main thread. In short, Valgrind will do the same as you application would do running outsizde of Valgrind, just with a lot more messages. A+ Paul _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users