capstone-rs icon indicating copy to clipboard operation
capstone-rs copied to clipboard

Capstone 6.0.0 alpha support

Open terahlunah opened this issue 9 months ago β€’ 7 comments

Hi, I tried to update capstone-rs to support capstone 6.0.0 alpha 3, but I was not familiar enough with capstone and didn't succeed.

Do you have any plan to start working on an alpha branch of capstone-rs to support capstone 6.0.0 alphas (and the final release eventually)?

Thanks for your work!

terahlunah avatar Mar 21 '25 15:03 terahlunah

Hi, I tried to update capstone-rs to support capstone 6.0.0 alpha 3, but I was not familiar enough with capstone and didn't succeed.

I'm happy to mentor with doing updates. Update the CAPSTONE_REVISION variable in capstone-sys/scripts/update_capstone.sh and run the script to update the copy of the Capstone C library. Then, you need to fixup capstone-sys/capstone-rs to handle the changes to the C library.

Do you have any plan to start working on an alpha branch of capstone-rs to support capstone 6.0.0 alphas (and the final release eventually)?

I have no immediate plans, but as mentioned, I happy to mentor anyone who wants to try the update.

Thanks for your work!

Your welcome πŸ˜„

tmfink avatar Mar 22 '25 17:03 tmfink

Capstone 6.0.0 is an exciting upgrade, but I am unsure whether we should bump before the official release. When will the 6.0.0 official release come out? I am happy to maintain an alpha branch though.

jiegec avatar May 23 '25 10:05 jiegec

Then, you need to fixup capstone-sys/capstone-rs to handle the changes to the C library.

Updating capstone-sys was fairly straightforward, but I failed to adapt capstone-rs to the new code.

I am happy to maintain an alpha branch though.

That would be greatly appreciated!

terahlunah avatar May 23 '25 11:05 terahlunah

Then, you need to fixup capstone-sys/capstone-rs to handle the changes to the C library.

Updating capstone-sys was fairly straightforward, but I failed to adapt capstone-rs to the new code.

I am happy to maintain an alpha branch though.

That would be greatly appreciated!

I'm working on it. Stay tuned!

jiegec avatar May 23 '25 12:05 jiegec

Working in progress: https://github.com/capstone-rust/capstone-rs/tree/capstone-v6, all tests are passed now. Feel free to try and report any bugs found.

jiegec avatar May 23 '25 17:05 jiegec

Thank you so much @jiegec! πŸš€

terahlunah avatar May 23 '25 17:05 terahlunah

@jiegec great worklοΌπŸš€πŸš€πŸš€

yufengzjj avatar Jul 09 '25 08:07 yufengzjj