-
Notifications
You must be signed in to change notification settings - Fork 22
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
Consider replacing udis with iced-x86 #36
Comments
That'd be great! Switching to iced-x86, which is more actively maintained would also avoid issues we've run into like with slice-pool |
Any updates on this? Just ran into an issue where I can't compile my project at all thanks to |
Same here, libudis86-sys wont compile for me when trying to build for the |
I can't reproduce the issue on my machine, is there any more information you could provide about |
Yes of course, this is the error I'm getting
I'm crosscompiling from alpine linux to windows msvc target using clang-cl, pretty much following this guide (I've adapted it to my CI workflow): https://jake-shadle.github.io/xwin/ This issue seems to be the exact same error I'm getting: rust-cross/cargo-xwin#60 Right now my workaround is using this patch by placing this into my [patch.crates-io]
libudis86-sys = { git = 'https://github.com/vars1ty/libudis86-sys.git' } |
Ah, I see what's wrong. |
I'm going to start working on this issue. @LunNova If you've already began or plan on working on this let me know, and I'll let you finish it. |
I have a branch, I'll push it after work tonight. It may have a safety issue because iced-x86's decoder needs a byte slice for the entire range of instructions you're going to decode, more details will be in the draft PR. |
* replace udis with iced-x86 #36 * Updates for code review
iced-x86 is a pure rust disassembler, udis relies on a c compiler.
If you're ok making this replacement I can try to PR it.
The text was updated successfully, but these errors were encountered: