开发者

Auto tester/debugger for g++?

开发者 https://www.devze.com 2022-12-29 17:33 出处:网络
I j开发者_如何学Cust finished a project for my cryptography class and it all seems to go well (mostly). Because the key is generated randomly, I wanted to ensure it would work for all keys. Anyway, I

I j开发者_如何学Cust finished a project for my cryptography class and it all seems to go well (mostly). Because the key is generated randomly, I wanted to ensure it would work for all keys. Anyway, I ran it a bunch of times and hit a segfault at around the 30th run. I haven't been able to reproduce this segfault in gdb. Does gdb have a command, or is there some other method to continue running the program and then break when it segfaults so I can check the stack?


Place the loop inside your program so you only have to run it in the debugger once.

0

精彩评论

暂无评论...
验证码 换一张
取 消