Ghidra is a software reverse engineering (SRE) framework
GP-0: Try python3 first.
Dan422372a69e30
diff --git a/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/TraceRmiPythonClientTest.java b/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/TraceRmiPythonClientTest.javaindex b02313bb68..90c86fc9c7 100644--- a/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/TraceRmiPythonClientTest.java+++ b/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/TraceRmiPythonClientTest.java@@ -106,7 +106,12 @@ public class TraceRmiPythonClientTest extends AbstractGhidraHeadedDebuggerTest {}protected Path getPathToPython() {- return Paths.get(DummyProc.which("python"));+ try {+ return Paths.get(DummyProc.which("python3"));+ }+ catch (RuntimeException e) {+ return Paths.get(DummyProc.which("python"));+ }}@Before@@ -169,8 +174,7 @@ public class TraceRmiPythonClientTest extends AbstractGhidraHeadedDebuggerTest {}protected record ExecInPy(PtySession session, PrintWriter stdin,- CompletableFuture<PyResult> future) {- }+ CompletableFuture<PyResult> future) {}@SuppressWarnings("resource") // Do not close stdinprotected ExecInPy execInPy(String script) throws IOException {