最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Ghidra - Protobuf Issue when Debugging on Windows - Stack Overflow

programmeradmin5浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论