mirror of
https://github.com/morluto/rea.git
synced 2026-11-13 10:12:50 +00:00
Merge pull request #1297 from morluto/fix/ghidra-session-root-stability
fix(ghidra): use dot-free private session paths
This commit is contained in:
5 files changed
+140
-3
No files matched your search
@@ -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) => {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user