dod-cyber-crime-center / pyhidra

Pyhidra is a Python library that provides direct access to the Ghidra API within a native CPython interpreter using jpype.
Other
176 stars 15 forks source link

Ignore libjvm.debuginfo when searching for dynamic libjvm #14

Closed jam1garner closed 2 years ago

jam1garner commented 2 years ago

For openjdk installs with debuginfo, the glob for finding libjvm will also pick the debuginfo up:

/usr/lib/jvm/java-18-openjdk/lib/server/libjvm.debuginfo
/usr/lib/jvm/java-18-openjdk/lib/server/libjvm.so

This will result in pyhidra attempting to treat the debuginfo as the dynamic library path, preventing it from running at all.