Skip to content
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

Trait for custom instruction decoders/encoders #178

Open
ethindp opened this issue Jul 7, 2021 · 2 comments
Open

Trait for custom instruction decoders/encoders #178

ethindp opened this issue Jul 7, 2021 · 2 comments

Comments

@ethindp
Copy link

ethindp commented Jul 7, 2021

Currently iced is called iced-x86 in Rust. Considering that future instruction sets may be added to iced, if they aren't currently being worked on already, would it not make sense to make a custom decoder and encoder trait for decoding and encoding custom ISAs or ISAs that iced does not yet support?

@wtfsck
Copy link
Member

wtfsck commented Jul 8, 2021

Yes that's something that could be added when it supports eg. arm/aarch64 in the future. The traits would need to be in a new (small) crate.

@ethindp
Copy link
Author

ethindp commented Jul 8, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants