feat: complete REA remediation program

This commit is contained in:
N0zoM1z0
2026-07-22 22:09:12 +09:00
committed by N0zoM1z0
parent 737940c90c
commit d25e98c3f9
460 changed files with 13985 additions and 1877 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
import { access, chmod, mkdtemp, readFile, rm, stat } from "node:fs/promises";
import { tmpdir } from "node:os";
import { access, chmod, readFile, rm, stat } from "node:fs/promises";
import { join } from "node:path";
import { fileURLToPath } from "node:url";
import { afterEach, beforeAll, describe, expect, it, vi } from "vitest";
import { createTestTempDirectory } from "./fixtures/temporaryDirectory.js";
import {
ghidraHeadlessArguments,
ghidraHeadlessCommand,
@@ -112,7 +113,7 @@ describe("Ghidra headless launcher", () => {
vi.stubEnv("JAVA_TOOL_OPTIONS", "-Duser.home=/unapproved/home");
vi.stubEnv("JDK_JAVA_OPTIONS", "-XX:MaxRAMPercentage=99");
vi.stubEnv("_JAVA_OPTIONS", "-Xmx99G");
const runtimeRoot = await mkdtemp(join(tmpdir(), "rea-launcher-test-"));
const runtimeRoot = await createTestTempDirectory("rea-launcher-test-");
roots.push(runtimeRoot);
const token = "secret-token-that-must-not-leak";
const javaHome =