From 2d99e1e3b268181bb4b3e02e1cb769c550806481 Mon Sep 17 00:00:00 2001 From: Ysopwnable <161784452+N0zoM1z0@users.noreply.github.com> Date: Sat, 10 Oct 2026 20:27:45 +0800 Subject: [PATCH] test(ghidra): preserve Node heap options in adapter verification (#1550) --- scripts/lib/native-value-e2e.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lib/native-value-e2e.mjs b/scripts/lib/native-value-e2e.mjs index 341c0b4504..e65700b06b 100644 --- a/scripts/lib/native-value-e2e.mjs +++ b/scripts/lib/native-value-e2e.mjs @@ -16,6 +16,9 @@ import { verifyGhidraBoundaries } from "./real-ghidra-boundaries.mjs"; const defaultEntrypoint = fileURLToPath(new URL("../rea.mjs", import.meta.url)); const environment = () => ({ PATH: process.env.PATH ?? "/usr/bin:/bin", + ...(process.env.NODE_OPTIONS === undefined + ? {} + : { NODE_OPTIONS: process.env.NODE_OPTIONS }), REA_LOG_LEVEL: "silent", REA_ANALYSIS_PROVIDER: "ghidra", HOPPER_LAUNCHER_PATH: "/rea-unconfigured-deep-provider/hopper",