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

fix(ghidra): use dot-free private session paths
This commit is contained in:
Kaoru0822
2026-10-09 07:59:06 -07:00
committed by GitHub
5 changed files with 140 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,5 @@
import { randomBytes, randomUUID } from "node:crypto";
import type { Socket } from "node:net";
import { tmpdir } from "node:os";
import { AnalysisError } from "../domain/analysisErrorBase.js";
import type { JsonValue } from "../domain/jsonValue.js";
@@ -48,9 +47,10 @@ 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();
/** Closed Java-bridge operation union callable after the exact handshake. */
export type GhidraOperation =