-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I'm getting the following error when running ghidra2dwarf:
Traceback (most recent call last):
File "/home/_____/ghidra2dwarf/ghidra2dwarf.py", line 22, in <module>
from ghidra.app.util.bin.format.dwarf4.next import DWARFRegisterMappingsManager
ImportError: No module named dwarf4
It runs after I manually changed it to:
from ghidra.app.util.bin.format.dwarf
ghidra2dwarf.py> Running...
Decompiling function 0: _init
Decompiling function 1: entry
Decompiling function 2: __lshrdi3
...
...
...
Just incase any of this matters:
import sys; print sys.path
['/home/____/.config/ghidra/ghidra_11.1_PUBLIC/dev/jython_cachedir/python-src',
'/opt/ghidra_11.1/Ghidra/Features/Python/data/jython-2.7.3/Lib', '/opt/ghidra_11.1/Ghidra/Features/Python/lib/jython-standalone-2.7.3.jar/Lib', '__classpath__', '__pyclasspath__/', '/opt/ghidra_11.1/Ghidra/Features/Python/data/jython-2.7.3/Lib/site-packages', '/opt/ghidra_11.1/Ghidra/Features/FunctionID/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/WildcardAssembler/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/GnuDemangler/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/VersionTracking/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/SwiftDemangler/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/MicrosoftCodeAnalyzer/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Processors/8051/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Features/BytePatterns/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Processors/JVM/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Processors/DATA/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Debug/Debugger-agent-frida/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Features/Base/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Processors/Atmel/ghidra_scripts', '/home/____/ghidra2dwarf',
'/opt/ghidra_11.1/Ghidra/Processors/PIC/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Debug/Debugger/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/BSim/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Debug/Debugger-rmi-trace/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/FileFormats/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/SystemEmulation/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Features/Python/ghidra_scripts',
'/opt/ghidra_11.1/Ghidra/Features/Decompiler/ghidra_scripts', '/opt/ghidra_11.1/Ghidra/Features/PDB/ghidra_scripts',
'/home/____/.config/ghidra/ghidra_11.1_PUBLIC/osgi/compiled-bundles',
'/home/____/.config/ghidra/ghidra_11.1_PUBLIC/osgi/felixcache']
alphagocc
Metadata
Metadata
Assignees
Labels
No labels