Closed amitschendel closed 5 months ago
Can you attach a failing sample?
Attached a program, unzip it. (Github doesn't allow object files). opensnoop_bpfel.o.zip
I do not get an exception when importing the supplied *.o
file with Ghidra 11.1.
Although, I am need to look into how the relocations are being processed.
On windows it works well for me. Perhaps the issue persist only on Mac?
I just tried it on my mac...worked fine.
at ghidra.app.util.bin.format.elf.relocation.eBPF_ElfRelocationHandler.relocate(eBPF_ElfRelocationHandler.java:59)
My line 59
is blank. I am thinking you are running modified code here.
at ghidra.app.util.bin.format.elf.relocation.eBPF_ElfRelocationHandler.relocate(eBPF_ElfRelocationHandler.java:59)
My line
59
is blank. I am thinking you are running modified code here.
Not modified, just not the latest. This was updated in February.
I am going to close this ticket. We will write-off to OBE due to the big refactor of all ELF relocation handlers a few months back. If you can reproduce with Ghidra 11.1 feel free to update with more details and we can reopen.
I can confirm that this is reproducible in 11.0.3, and fixed in 11.1.
Describe the bug When importing eBPF program in ghidra it errors out with the following trace:
To Reproduce Steps to reproduce the behavior: Install Ghidra Run Ghidra load any ebpf object file
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Attachments If applicable, please attach any files that caused problems or log files generated by the software.
Environment (please complete the following information):
Additional context Add any other context about the problem here.