NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
50.62k stars 5.78k forks source link

MIPS B:32 ELF binary parsing issue on import #1959

Open HackerFantastic opened 4 years ago

HackerFantastic commented 4 years ago

Describe the bug If you import a MIPS B:32 ELF binary from SGI IRIX, Ghidra crashes with a java parsing related error.

To Reproduce Import the following binary https://pastebin.com/32xUS70q

Expected behavior It should import the binary into the toolchest.

Screenshots

Screen Shot 2020-06-08 at 11 25 36 AM

Attachments An example file is here, any SGI IRIX MIPS B32 ELF binary causes this behavior. https://pastebin.com/32xUS70q

Environment (please complete the following information):

Additional context Please fix for all the SGI IRIX users. All two of us need this.

Random06457 commented 4 years ago

This looks like the issue I was trying to fix with this PR: #1761 .