Open cspencer49519 opened 4 years ago
Something has changed n the new Ghidra I believe. If I have time at some point I can fix it, or you could look into it.
I wish possessed the knowledge to do that. Do you happen to know what version of ghidra it works on?
Updated deprecation errors against Ghidra 10.2. see #10
OpenJDK 18 Gradle 7.4.2
@nickl- I tried with your fork and I still got this error
GhidraPS4Loader/src/main/java/ghidraps4loader/PS4ElfParser.java:98: error: constructor ElfHeader in class ElfHeader cannot be applied to given types;
ElfHeader elfHeader = new ElfHeader(provider, msg -> Msg.error(PS4ElfParser.class, msg));
^
required: no arguments
found: ByteProvider,(msg)->Msg[...] msg)
reason: actual and formal argument lists differ in length
1 error
Does this require q specific version of Ghidra or gradle? I'm trying to build on macos 10.15.7 with gradle 6.6. I get the following errors:
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % gradle
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':compileJava'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s 1 actionable task: 1 executed graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % sudo gradlr sudo: gradlr: command not found graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % sudo gradle
FAILURE: Build failed with an exception.
Where: Build file '/Users/graffix/Downloads/ghidra-plugin-PS4-loader/build.gradle' line: 29
What went wrong: A problem occurred evaluating root project 'ghidra-plugin-PS4-loader'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 557ms