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

Add support for ARM #2

Open
Matir opened this issue Aug 22, 2018 · 1 comment
Open

Add support for ARM #2

Matir opened this issue Aug 22, 2018 · 1 comment

Comments

@Matir
Copy link

Matir commented Aug 22, 2018

Currently attempting to use Annotator on ARM binaries produces an error about not finding a virtual stack. I don't know if that is the only architecture-specific requirement, or if there are others?

@carstein
Copy link
Owner

First of all, I don't know why I have missed issue. I swear I thought I've answered.
Now - for annotator to work with ARM it would require a VirtualStack (as you have noticed) - virtual stack is pretty much something that parses instructions and construct virtual stack as the program executes but instead of values (that binary ninja tracks natively) it tracks instructions altering the stack/registers.
So, for ARM we would need something that would embed calling convention and would be able to parse arm asm instructions - given my limited knowledge about this platform it won't happen in near future.

Also, virtual stack, is fairly nifty, but not the most elegant solution. I'm planning to rewrite it completely taking advantage of MLIL and variable tracking - my intention is to have architecture agnostic solution that will leverage native binary ninja compatibility.

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