Closed AddyMills closed 2 years ago
Did you follow the instructions here?
https://github.com/clienthax/Ps3GhidraScripts#installation
Every instance I have seen of this error is due to people adding the scripts folder manually instead of using the extension.
I installed it by going to File->Install Extensions, clicking on the green "+" button and selecting the zip file as per the instructions.
I restart Ghidra as per the popup and then go into the code browser. I open up the script manager, select the script and then run it before doing the analysis.
Can you show your script folder window?
Sure thing:
And here's the folder itself:
Heh.. ok, that is strange. Can you run ghidra through support/ghidraDebug and copy the log after trying to use the script?
I ran the script in debug mode, but the log didn't give me much of anything related to the script
2022-06-20 11:39:02 INFO ghidra.framework.LoggingInitialization Using log config file: file:/C:/Ghidra/Ghidra%2010.1.4/support/debug.log4j.xml
2022-06-20 11:39:02 INFO ghidra.framework.LoggingInitialization Using log file: C:\Users\FJ_Mo\.ghidra\.ghidra_10.1.4_PUBLIC\application.log
2022-06-20 11:39:02 INFO ghidra.framework.preferences.Preferences Loading user preferences: C:\Users\FJ_Mo\.ghidra\.ghidra_10.1.4_PUBLIC\preferences
2022-06-20 11:39:02 INFO ghidra.framework.preferences.Preferences Loading previous preferences: C:\Users\FJ_Mo\.ghidra\.ghidra_10.1.2_PUBLIC\preferences
2022-06-20 11:39:03 INFO ghidra.util.classfinder.ClassSearcher Class search complete (993 ms)
2022-06-20 11:39:03 INFO ghidra.net.SSLContextInitializer Initializing SSL Context
2022-06-20 11:39:03 INFO generic.random.SecureRandomFactory Initializing Random Number Generator...
2022-06-20 11:39:03 INFO generic.random.SecureRandomFactory Random Number Generator initialization complete: SHA1PRNG
2022-06-20 11:39:03 INFO ghidra.net.ApplicationTrustManagerFactory Trust manager disabled, cacerts have not been set
2022-06-20 11:39:03 INFO ghidra.GhidraRun User FJ_Mo started Ghidra.
2022-06-20 11:39:04 DEBUG ghidra.app.plugin.core.misc.RecoverySnapshotMgrPlugin Recovery snapshot timer set to 5 minute(s)
2022-06-20 11:39:04 INFO ghidra.framework.project.DefaultProject Opening project: D:\Ghidra Projects\LRB 10.1.4
2022-06-20 11:39:08 INFO ghidra.framework.store.db.PackedDatabaseCache Packed database cache: C:\Users\FJ_Mo\AppData\Local\Ghidra\packed-db-cache
2022-06-20 11:39:08 DEBUG ghidra.framework.store.db.PackedDatabaseCache Using cached packed database: C:\Ghidra\Ghidra 10.1.4\Ghidra\Features\Base\data\typeinfo\win32\windows_vs12_32.gdt
That's everything it gave me after closing the program
What Java version does ghidra say you are using when it starts up?
It's using version 18.0.1
Hmm, I am using 17.0.2, I wonder if the later java version somehow causing issues, I don't have many other ideas at this point.
Tested with jdk18, works fine here.
I am having the same problem.
Until someone can reproduce this with a debugger attached it's likely not going to be fixed as the cause isn't known
My bad. Downgrading to JDK 11 fixed the problem.
That makes even less sense :)
I'm wondering if this is the actual issue https://github.com/NationalSecurityAgency/ghidra/issues/4137
However it does work fine for me on jdk18
I'm getting an error similar to other issues where the script class can't be located:
I'm using Ghidra 10.1.4 and I've followed all the installation instructions on the Readme. I tried using an ELF file made using RPCS3's "Decrypt PS3 Binaries" function as well as TrueAncestor's SELF resigner. I tried 3 different games's EBOOT elf files and I get the same error. Is there something I'm missing?