Skip to content

armgit / rea

Public Imported from GitHub
0

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

Merge pull request #1297 from morluto/fix/ghidra-session-root-stability

Kaoru0822c3fc6c3aedc2
diff --cc src/ghidra/GhidraClient.ts
index 7d7231590,375a4f064..71c5a9357
--- a/src/ghidra/GhidraClient.ts
+++ b/src/ghidra/GhidraClient.ts
@@@ -48,10 -46,18 +47,11 @@@ import
} from "./GhidraTransport.js";
import { GhidraWire } from "./GhidraClientWire.js";
import { completeGhidraStartupHandshake } from "./GhidraClientStartup.js";
+ import { ghidraSessionRoot } from "./GhidraSessionRoot.js";
const SHUTDOWN_TIMEOUT_MS = 10_000;
- const SESSION_ROOT = tmpdir();
+ const SESSION_ROOT = ghidraSessionRoot();
-export type {
- GhidraClientOptions,
- GhidraDiagnostic,
- GhidraRequestOptions,
- GhidraStartResult,
-} from "./GhidraClientTypes.js";
-
/** Closed Java-bridge operation union callable after the exact handshake. */
export type GhidraOperation =
| GhidraInventoryOperation