-
Notifications
You must be signed in to change notification settings - Fork 6
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
[WIP] update to capstone v4 #4 #5
base: master
Are you sure you want to change the base?
Conversation
The bootstraped code cannot compile, add modules to hapstone.cabal Fix compilation failures
Apparently, the code builds fine with |
I should get back to this around this time. There seems to be no big update to capstone over the last year. The latest version is 4.0.2 and released on May 2020. A few fixes with the current release will be compatible then tests are to be added. |
I'll be porting the binding test in https://github.com/aquynh/capstone/tree/v4/bindings/python into Example folder. Then I generate the test cases in test/ by comparing the mnemonic and opcode string output. |
Yeah, just discovered an issue with c2hs. Apparently we can use So I have to go back to all the Bool and change into I don't know if this is intended behavior of c2hs to assume a Bool as an CInt rather then Int8. But I got issue when disassemble all the CsArmOp and found out all of them are |
Just found out that when can replace Update soon for all other tests. |
Capstone 5.0 is about to be released, it's better to target it instead:
There is also a huge project to automate updates for different architectures to stay relevant with minimum effort, but it will bring some API differences: capstone-engine/capstone#2015 Please let us know if you have any feedback about the current state or the auto-sync project. |
I also remove hardcoded number and replace with macros from c2hs.
Need tests!!!