-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add test with ASAN enabled. #2313
Conversation
af12ea4
to
24616c6
Compare
2719ec4
to
4ca2ce5
Compare
6c97062
to
3b53ed9
Compare
This comment was marked as resolved.
This comment was marked as resolved.
I remove the DIET changes again. Build is still fixed. |
This reverts commit 71e1469.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! In the future we also should enable UBSAN, I know there are many potential places that can trigger it. But that's a story for another PR...
@kabeor please take a look and lets merge this quickly, so new PRs will not introduce ASAN warnings. |
@kabeor while you are online, could you please merge also this one and the LoongArch PRs? |
Great, thanks! |
Your checklist for this pull request
Detailed description
Add ASAN builds
It does a few things
CAPSTONE_DIET
build. Though it is not tested, since we cannot do it with the current test design, which relies on printing everything.cstest
viaCMakeLists.txt
. This allows now also to enable ASAN for the cstest. Also it is much easier to buildcstest
now.cstest
is installed and inPATH
.run_invalid_cstool.sh
more verbose to help spotting possible ASAN errors.tests/cs_details/issue.cs
to the CI.Test plan
CI green (or, if everything fails horribly, mark it optoinal for now)
Closing issues
closes #2368