Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
import { BOUNDED_PRODUCER_LIMITS } from "../../process/LinuxResourceLimits.js";
/** Unchanged upstream source pin; executed bytes are identified separately. */
export const WAKARU_RELEASE = {
version: "1.14.0",
revision: "8219bf5016a063d7fb215101a8c45d5959ec733f",
repository: "https://github.com/pionxzh/wakaru",
} as const;
/**
* Releases the report parser accepts. Wakaru changes `--version`, `--json`
* and `provenance.json` only by addition within a major version
* (https://github.com/pionxzh/wakaru/blob/v1.14.0/docs/cli.md#machine-readable-output-compatibility);
* 1.13.0 is the first release this adapter verified.
*/
export const WAKARU_ACCEPTED_RANGE = "^1.13.0";
/** Catalog identity for the verified Wakaru release. Evidence replaces version with the observed banner. */
export const WAKARU_PROVIDER_IDENTITY = {
id: "wakaru",
name: "Wakaru",
version: WAKARU_RELEASE.version,
} as const;
/** Fixed Wakaru allowance. This release has no caller setting that raises it. */
export const wakaruFixedLimitRecovery = (
allowance: string,
): { readonly userMessage: string; readonly remediationAction: string } => ({
userMessage: `${allowance}. This release has no runtime override.`,
remediationAction: `${allowance}. This release has no runtime override. Raising max_heap_mb or analysis_timeout_ms does not raise it. Repeating the unchanged request fails the same way.`,
});
/** Per-operation resource bounds for the verified Linux adapter. */
export const RECOVERY_LIMITS = {
inputBytes: 64 * 1024 * 1024,
outputBytes: 128 * 1024 * 1024,
outputEntries: 10000,
reportBytes: 8 * 1024 * 1024,
addressSpaceBytes: BOUNDED_PRODUCER_LIMITS.address_space_bytes,
cpuSeconds: 120,
timeoutMs: 120000,
} as const;
/** Public limitations for transformations and extraction provenance. */
export const RECOVERY_LIMITATIONS = [
"Recovered sources are derived artifacts; original variable names and runtime equivalence are not established.",
"Extraction ranges refer to half-open UTF-8 byte offsets in the original input, not rewritten line positions or whole-bundle coverage.",
"Emitted source maps are preserved as reported by the engine; their mapping accuracy is not independently established.",
"Inspection mode may produce non-executable regions. No input or recovered application code is executed.",
"Linux adapter: one worker, 1 GiB address-space ceiling, 120-second deadline, 64 MiB total input, 128 MiB output, 10000 output entries and 8 MiB per diagnostic/report stream. Resource limits are per operation, not aggregate host containment.",
] as const;