admin 管理员组

文章数量: 1086019

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.

Share Improve this question asked Mar 27 at 16:09 jtxkopt - STOP GENOCIDEjtxkopt - STOP GENOCIDE 1,1812 gold badges10 silver badges27 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

After 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.

本文标签: javaGhidraProtobuf Issue when Debugging on WindowsStack Overflow