Does anyone know how to do this, or what kind of resources I need to do so?
I am working in ANSI C for a class and have ended up rewriting malloc and free because I wanted to constantly keep track of my memory allocation, deallocation.
Now that that is all ironed out, I wanted to start writing test programs to automatically test my code using random data, garbage or not, and when mine is done, I was planning on testing other peoples with my program is well. However, I want to be able to catch seg faults so that my grading program will be able to recover from them and complete, giving me the score I deserve, not a zero (which is what I would normally score a program that segvs).
Thank you for your time.
Peace,
GermyBoy
I am working in ANSI C for a class and have ended up rewriting malloc and free because I wanted to constantly keep track of my memory allocation, deallocation.
Now that that is all ironed out, I wanted to start writing test programs to automatically test my code using random data, garbage or not, and when mine is done, I was planning on testing other peoples with my program is well. However, I want to be able to catch seg faults so that my grading program will be able to recover from them and complete, giving me the score I deserve, not a zero (which is what I would normally score a program that segvs).
Thank you for your time.
Peace,
GermyBoy