Ivan Zhang
Ivan Zhang

Reputation: 177

Finding segfaults without crashes

I am working on a program that may have segfaults but it does not crash. Is there a specific way or method to check for segmentation faults that might occur but does not make the program crash.

Thank You.

Upvotes: 2

Views: 282

Answers (1)

user2088639
user2088639

Reputation:

If you want to find illegal memory accesses that don't result in crashes, Valgrind ( http://valgrind.org/ ) is a good tool.

Upvotes: 3

Related Questions