Merge pull request #1297 from morluto/fix/ghidra-session-root-stability
fix(ghidra): use dot-free private session paths
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user