Description
capa -vv -b ghidra <mysample> broke and gave an error (I reproduced the error several times, including in debug mode -> output attached as capabvv.txt) where capa -b ghidra <mysample> gave good output (capab.txt). This was sample specific, a few other samples I tested did not produce this error.
<mysample> SHA256: 00ae07c9fe63b080181b8a6d59c6b3b6f9913938858829e5a42ab90fb72edf7a (from: https://github.com/MalwareSamples/Linux-Malware-Samples)
I was running this on REMnux using the latest version of capa.
Steps to Reproduce
Execute capa -vv -b ghidra <mysample>
Expected behavior:
capa runs the ghidra backend and does -vv output.
Actual behavior:
breaks on a TypeError: expected string or bytes-like object (end of debug file)
capab.txt
capabvv.txt
Versions
capa 9.4.0
ghidra 12.1.2
python 3.12.3
Additional Information
Description
capa -vv -b ghidra <mysample>broke and gave an error (I reproduced the error several times, including in debug mode -> output attached as capabvv.txt) wherecapa -b ghidra <mysample>gave good output (capab.txt). This was sample specific, a few other samples I tested did not produce this error.<mysample>SHA256:00ae07c9fe63b080181b8a6d59c6b3b6f9913938858829e5a42ab90fb72edf7a(from:https://github.com/MalwareSamples/Linux-Malware-Samples)I was running this on REMnux using the latest version of capa.
Steps to Reproduce
Execute
capa -vv -b ghidra <mysample>Expected behavior:
capa runs the ghidra backend and does
-vvoutput.Actual behavior:
breaks on a
TypeError: expected string or bytes-like object(end of debug file)capab.txt
capabvv.txt
Versions
capa 9.4.0
ghidra 12.1.2
python 3.12.3
Additional Information