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

Create a registry of architecture/ISA names #114

Open
cblichmann opened this issue Sep 14, 2023 · 0 comments
Open

Create a registry of architecture/ISA names #114

cblichmann opened this issue Sep 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cblichmann
Copy link
Member

Historically, we have avoided using an enum for architecture names, as we wanted to stay flexible.
However, to aid tooling, there should be a definitive list of architecture/ISA names to be used in
BinExport metadata.

The IDA Pro plugin has this and can be used as a start:

switch (GetArchitecture()) {

This could be implemented simply by documenting architectures in the repo somewhere, but some
helper code to verify and/or extract relevant bits would be useful.

For a future, incompatible format, BinExport could just reuse LLVM's target triple.

@cblichmann cblichmann added the enhancement New feature or request label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant