Closed morsisko closed 3 years ago
Hey there,
Thank you for your report. Is it possible to share the binary for which this happens?
Looking at the code, a NullPointerException
at that line can only happen if basicBlockIndices
is null
. Given how buildFlowGraphs()
is called, this should never happen, as basicBlockIndices
is constructed right before.
Were there any changes in your working copy?
I didn't change anything in the source, and the line BinExport2Bulder.java:284 is exactly the same in my \Ghidra\Extensions\BinExport\lib\BinExport-src.zip\ directory.
The executable that caused the exception was Wireshark (https://www.wireshark.org/) binary from my Ubuntu. This is the file: https://mega.nz/file/9ZVWiayT#k0QIV4gIC_Td2skL1C5SHVu9ljWsgsOBHZ26pgaAghw
As of Ghidra 9.2.3 and b5a4231a0fdb10a19d65a49d8f773d0ab5a4eedd, the export works as intended: originalWIRE.BinExport.zip
Hello, I encounter a bug during testing the BinExport addon for Ghidra. For now it only happens for one particular file.
Steps to reproduce:
Format
toBinary BinExport (v2) for BinDiff
Snip from logs
This happens for the newest version in the repository. I built it Aug 20 directly from source.