I've just installed Ghidra
and tried to debug a sample program to get a taste of it. I've installed Python 3.12 and the redistributed site-packages with it (from \Ghidra\Debug\Debugger-agent-dbgeng\pypkg\dist
). So far, everything is OK. However, when I launch the executable with dbgeng
, it says boolean com.google.protobuf.GeneratedMessageV3.isStringEmpty(java.lang.Object)
on the Debug Console, and fails. I have done a little bit of search on the internet. Some say it is due to an old version of protobuf
(it is very likely), and I am not a Java guy. So, I don't know how to install the new version of the library.
I've just installed Ghidra
and tried to debug a sample program to get a taste of it. I've installed Python 3.12 and the redistributed site-packages with it (from \Ghidra\Debug\Debugger-agent-dbgeng\pypkg\dist
). So far, everything is OK. However, when I launch the executable with dbgeng
, it says boolean com.google.protobuf.GeneratedMessageV3.isStringEmpty(java.lang.Object)
on the Debug Console, and fails. I have done a little bit of search on the internet. Some say it is due to an old version of protobuf
(it is very likely), and I am not a Java guy. So, I don't know how to install the new version of the library.
1 Answer
Reset to default 0After hours of trial and error, I've resolved the problem by deleting the MachineLearning
extension (I had installed it before beginning to try debugging). Apparently, the extension comes with an older version of protobuf-java
library, specifically the version 3.17.3
, and the Ghidra loads this version, not the newer version 3.21.8
that comes bundled with it.