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

Have a way of annotating llvm instructions with the architecture #277

Open
pgoodman opened this issue Jan 7, 2022 · 1 comment
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pgoodman
Copy link
Collaborator

pgoodman commented Jan 7, 2022

Just like we do with pc metadata annotation. This will help us more reliably track things when a given function goes from ARM to Thumb mode.

Look at the lifter options and how we can set a const char * name to some pc metadata, then do the same for the architecture.

@pgoodman pgoodman added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 7, 2022
@pgoodman
Copy link
Collaborator Author

pgoodman commented Jan 7, 2022

Use inst.sub_arch from inside the function lifter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant