Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

fix(ci): pass selected environment to Windows Ghidra fixture (#1281)

Ysopwnablef08558995792
diff --git a/tests/boundary/providers/ghidra/ghidraLauncher.test.ts b/tests/boundary/providers/ghidra/ghidraLauncher.test.ts
index 4bb04d783..87850070d 100644
--- a/tests/boundary/providers/ghidra/ghidraLauncher.test.ts
+++ b/tests/boundary/providers/ghidra/ghidraLauncher.test.ts
@@ -214,7 +214,8 @@ describe("Ghidra headless launcher", () => {
const token = "secret-token-that-must-not-leak";
const javaHome = "C:\\Java\\jdk-21";
const launcher = new GhidraHeadlessLauncher({
- environment: {},
+ // Select the fixture's Node PATH and injected JVM options explicitly.
+ environment: process.env,
analyzeHeadlessPath: fixturePath,
// POSIX follows the real inspected-JVM route; Windows uses the official
// batch script because its launcher contract differs.