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 authored and GitHub committed 2026-10-09 07:59:06 -07:00
commit c3fc6c3aed
5 files changed
+140 -3

No files matched your search

+9
View File
@@ -25,6 +25,15 @@ const environment = () => ({
...(process.env.JAVA_HOME === undefined
? {}
: { JAVA_HOME: process.env.JAVA_HOME }),
...(process.env.GHIDRA_HEADLESS_MAXMEM === undefined
? {}
: { GHIDRA_HEADLESS_MAXMEM: process.env.GHIDRA_HEADLESS_MAXMEM }),
...(process.env.GHIDRA_MAXMEM === undefined
? {}
: { GHIDRA_MAXMEM: process.env.GHIDRA_MAXMEM }),
...(process.env._JAVA_OPTIONS === undefined
? {}
: { _JAVA_OPTIONS: process.env._JAVA_OPTIONS }),
});
const verifyGraph = (input, target, procedure, globalAddress) => {
+4 -1
View File
@@ -89,9 +89,12 @@ export async function verifyGhidraLargeResults({
length,
});
const readId = retainedReference(readError, "read_bytes");
// Two annotation strings repeated in text and structured content must
// exceed the receive budget even without obsolete Evidence envelopes.
// The request contains only the two strings and remains below that budget.
const comment =
"REA_BIG_COMMENT:" +
"x".repeat(Math.ceil(STDIO_DEFAULT_MAX_BUFFER_SIZE / 10));
"x".repeat(Math.ceil(STDIO_DEFAULT_MAX_BUFFER_SIZE / 4));
const annotationError = await reject("annotate_native_function", {
procedure: entry.address,
name: "rea_frame_probe",