New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See all traces #113
Comments
Why would you want to do that? In real programs, the number of traces is large and you will be swamped by that information. In small examples, used for understanding the algorithm the tool uses, you can force a failure/crash at the end of the program which will cause it to print the trace till the crash, and also use the option An alternative is of course to locate the code that prints the trace after a failure and use it appropriately to do what you are looking for. |
Thank you. |
I was actually working on such a feature a few years ago, however I never made it feature-complete, and it only supported SC, TSO, and PSO. Still, you can check the code out in PR #24. Since it's based on such an old version of Nidhugg, it will most likely not work with any LLVMs from after 2017, and is going to be missing any improvements to Nidhugg from after then. Feel free to check it out, and let me know if it was useful. Then I'll be even more motivated to finish it up and merge it to mainline.
Of course, as Kostis said, it's not going to be useful on programs with large amounts of traces. |
Is there a way I can see all explored traces?
The text was updated successfully, but these errors were encountered: