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

Temp registers not implemented and cause errors #2

Open
jrozner opened this issue Jan 22, 2022 · 0 comments
Open

Temp registers not implemented and cause errors #2

jrozner opened this issue Jan 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jrozner
Copy link
Owner

jrozner commented Jan 22, 2022

Currently the architecture is implemented with no support for temp registers. It appears that binja will automatically create some during it's analysis and it's not clear how we need to handle them for the lookups. This is specifically the case in the llil view when clicking on cond:<n> which are implemented as temporary registers. Doing so causes:

invalid register id 4294967295
invalid register id 4294967295
invalid register id 4294967295

to be spammed to the log. This corresponds to a register number of -1. The issues is definitely our handling of register but it's unclear what the correct way to handle this is because it's not clear how temporary registers are automatically created within binja. It only appears to happen in in llil. Unclear why the behavior doesn't happen in mllil or hlil.

@jrozner jrozner added the bug Something isn't working label Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant