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

Assign names to error codes #9

Open
sajattack opened this issue Dec 30, 2020 · 2 comments
Open

Assign names to error codes #9

sajattack opened this issue Dec 30, 2020 · 2 comments

Comments

@sajattack
Copy link
Member

I'm often finding myself cross-referencing my ghidra output with an error list like this one. We could define these as named variables in the script I think, similar to what the SVD plugin does to assign names to hardware registers. Would save a lot of time.

@sajattack sajattack changed the title Assign error codes to names Assign names to error codes Dec 30, 2020
@artart78
Copy link
Member

artart78 commented Jun 2, 2024

@sajattack are data type archives good enough for this or do you have other ideas? (This still requires pressing E and choosing the correct value, idk if we could do it automatically and if it would be a good idea?)

@sajattack
Copy link
Member Author

Yeah I suppose it would be pretty error-prone to try to do automatically. With the datatype, can I just pick the enumeration and have it determine the variant? I don't know how it works. Maybe a script would be another good option?

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