I want to test my app with file i/o buffer overflow and other I/O error.
How can I produce such type of cases using programming ?
I want to test my app with file i/o buffer overflow and other I/O
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use a fuzz testing tool like zzuf to corrupt the input to the program. This will help simulate IO errors.
More broadly, you are after a fault injection tool (of which a fuzzer is one type).