-
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
[Tests] Extend fuzzer #2454
Comments
Thanks for pinging me Rot127. Are you planning on doing this ?
Sure
Looks a good idea
What do you mean ?
Do the yaml cover all the previous MS/*.cs cases ?
Looks good
Looks good
Where is this somewhere else ?
There should be a generic way to create a fuzz target for each architecture indeed...
Ok |
Yes! And even way more now. Because we can generate them more reliably from the LLVM regression tests.
Basically what you linked in your second comment. Thanks for that! I wasn't aware of it.
The modern testing is not yet merged. See #2456. There I defined a But I haven't thought this to an end yet. But in general it would be good to have a single point, which does the enumeration
It is not a high priority. But as you probably recognized we heavily modernize Capstone currently. So I also open up issues about issues to not loose track of them. |
Thanks for the answers, it is not high priority for me neither ;-) |
The fuzzer could need some extensions. For example, it determines the mode and arch by comparing the strings of the enum identifiers
CS_ARCH
andCS_MODE
. This makes it too maintenance heavy. And easy to forget to add new identifiers there.It would be better to:
test_mapping.h
file (from Modern Testing #2456). To get the mode and arch values for fuzzing. Or something similar centralized.yaml
test files for fuzzer input generation. Not the legacyMC/*.cs
files. (see Modern Testing #2456)travis.yaml
cc @catenacyber Because you did most work on it in the past :)
The text was updated successfully, but these errors were encountered: