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

[capstone2llvmir]: Missing type for register number: 245 #1160

Open
foiso001 opened this issue May 30, 2023 · 3 comments
Open

[capstone2llvmir]: Missing type for register number: 245 #1160

foiso001 opened this issue May 30, 2023 · 3 comments

Comments

@foiso001
Copy link

I am trying to lift an andoird kernel binary but I am facing the following error:

Missing type for register number: 51204
storeRegister() unhandled reg.
Missing type for register number: 51204
storeRegister() unhandled reg.
[capstone2llvmir]: Missing type for register number: 245

Is there any direct way to fix this? Also how can I locate the missing registers and add the definition to the tool?

@Nitr0-G
Copy link
Contributor

Nitr0-G commented Jun 6, 2023

I am trying to lift an andoird kernel binary but I am facing the following error:

Missing type for register number: 51204
storeRegister() unhandled reg.
Missing type for register number: 51204
storeRegister() unhandled reg.
[capstone2llvmir]: Missing type for register number: 245

Is there any direct way to fix this? Also how can I locate the missing registers and add the definition to the tool?

#1148
#1135
We need to fix a little for Android as well...
Could you take the time and do all the same things in your example? If yes, then I could fix your bug register that is not supported by RetDec

@foiso001
Copy link
Author

foiso001 commented Jun 7, 2023

@Nitr0-G Hi there, so I need to debug the information for the registers and check which bytes are not translated correctly, right? I will give a thorough read of your fix and get back to you. Thanks for the suggestions!

@Nitr0-G
Copy link
Contributor

Nitr0-G commented Jun 7, 2023

@Nitr0-G Hi there, so I need to debug the information for the registers and check which bytes are not translated correctly, right?

Yes, you are right, and also tell me all disassembled from these bytes. Then I can easily fix this problem. I could do it myself, but I've never had anything to do with Android.
Could you please add "Android problem" to the name of the problem?

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