Ghidra is a software reverse engineering (SRE) framework
GP-0: fix for hardcoded paths
d-millara0ab51f409dd
diff --git a/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg-attach.bat b/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg-attach.batindex 25c2531572..87a392f7f6 100644--- a/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg-attach.bat+++ b/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg-attach.bat@@ -27,7 +27,7 @@::@depends Debugger-rmi-trace::@env OPT_PYTHON_EXE:file!="python" "Python command" "The path to the Python 3 interpreter. Omit the full path to resolve using the system PATH."::@env OPT_TARGET_PID:int=0 "Process id" "The target process id"-::@env OPT_X64DBG_EXE:file="C:\\Software\\release\\x64\\x64dbg.exe" "Path to x64dbg.exe" "Path to x64dbg.exe (or equivalent)."+::@env OPT_X64DBG_EXE:file="x64dbg.exe" "Path to x64dbg.exe" "Path to x64dbg.exe (or equivalent)."@echo offdiff --git a/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg.bat b/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg.batindex 73d5c1e8fd..b7bd23898d 100644--- a/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg.bat+++ b/Ghidra/Debug/Debugger-agent-x64dbg/data/debugger-launchers/local-x64dbg.bat@@ -31,7 +31,7 @@::@env OPT_TARGET_IMG:file="" "Image" "The target binary executable image"::@env OPT_TARGET_ARGS:str="" "Arguments" "Command-line arguments to pass to the target"::@env OPT_TARGET_DIR:str="" "Dir" "Initial directory"-::@env OPT_X64DBG_EXE:file="C:\\Software\\release\\x64\\x64dbg.exe" "Path to x64dbg.exe" "Path to x64dbg.exe (or equivalent)."+::@env OPT_X64DBG_EXE:file="x64dbg.exe" "Path to x64dbg.exe" "Path to x64dbg.exe (or equivalent)."@echo offdiff --git a/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/x64dbg/rmi/AbstractX64dbgTraceRmiTest.java b/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/x64dbg/rmi/AbstractX64dbgTraceRmiTest.javaindex fd40d339fc..f522a5d938 100644--- a/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/x64dbg/rmi/AbstractX64dbgTraceRmiTest.java+++ b/Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/x64dbg/rmi/AbstractX64dbgTraceRmiTest.java@@ -16,7 +16,7 @@package agent.x64dbg.rmi;import static org.junit.Assert.*;-import static org.junit.Assume.assumeTrue;+import static org.junit.Assume.*;import java.io.*;import java.net.*;@@ -44,8 +44,6 @@ import ghidra.program.model.address.Address;import ghidra.program.model.address.AddressRangeImpl;import ghidra.pty.testutil.DummyProc;import ghidra.trace.model.Lifespan;-import ghidra.trace.model.breakpoint.TraceBreakpointKind;-import ghidra.trace.model.breakpoint.TraceBreakpointKind.TraceBreakpointKindSet;import ghidra.trace.model.target.TraceObject;import ghidra.trace.model.target.TraceObjectValue;import ghidra.util.*;@@ -133,7 +131,7 @@ public abstract class AbstractX64dbgTraceRmiTest extends AbstractGhidraHeadedDebprotected void setX64dbgPath(ProcessBuilder pb) throws IOException {pb.environment().put("OPT_X64DBG_EXE",- "C:\\Software\\snapshot_2025-08-19_19-40\\release\\x64\\x64dbg.exe");+ "x64dbg.exe");}@BeforeClass