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

SOOO thanks if you can help me #5

Open
Zddd97 opened this issue Oct 10, 2020 · 1 comment
Open

SOOO thanks if you can help me #5

Zddd97 opened this issue Oct 10, 2020 · 1 comment

Comments

@Zddd97
Copy link

Zddd97 commented Oct 10, 2020

Thank you for the tool, I encountered a problem while using it. I hope you can help me solve it, the error is as follows:
INFO REPORT: Post-analysis succeeded for file: /home/zdd/Ghidra-to-LLVM-master/udhcpd (HeadlessAnalyzer)
INFO REPORT: Save succeeded for file: /udhcpd (HeadlessAnalyzer)
Traceback (most recent call last):
File "g2llvm.py", line 42, in
module = xmltollvm.lift(xmlfile)
File "/home/zdd/Ghidra-to-LLVM-master/src/xmltollvm.py", line 70, in lift
populate_func(ir_func, function)
File "/home/zdd/Ghidra-to-LLVM-master/src/xmltollvm.py", line 79, in populate_func
populate_cfg(function, builders, blocks)
File "/home/zdd/Ghidra-to-LLVM-master/src/xmltollvm.py", line 110, in populate_cfg
builder.store(stack_top, registers["RSP"])
KeyError: 'RSP'
Then, if the imported binary file is too big, it will appear “ java out of memory” error,how can I solve this
problem? thanks a lot!

@h4sh5
Copy link

h4sh5 commented Nov 5, 2021

see #4, its the same issue (RSP is a 64 bit register, it should be ESP instead for 32 bit binaries)

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