Closed Rot127 closed 5 months ago
@Rot127 please rebase this one, it should fix the redness.
I remove the DIET changes again. Build is still fixed. They are too complicated to fix for now and not testable. Because we can only test the details and decoding by printing it first, all the test cases of us fail. So I think if we fix it it should be done once in a separated PR. Also we can reduce the binary size even more.
@kabeor please take a look and lets merge this quickly, so new PRs will not introduce ASAN warnings.
@kabeor @aquynh
@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 https://github.com/capstone-engine/capstone/issues/2368