Skip to main content

EXPECTED_WORKER_VERSION

Constant EXPECTED_WORKER_VERSION 

Source
pub const EXPECTED_WORKER_VERSION: &str = "0.7.0";
Expand description

The worker script version this binary requires; must equal GhidraMcpWorker.java’s WORKER_SCRIPT_VERSION (bumped to “0.7.0” for M2d: the set_local write method + the structured locals[] array on inspect_function). Bump BOTH in lockstep whenever the worker’s method surface changes. Exact-match (not semver-range) is sufficient because the worker is embedded + hash-extracted, so host and worker are always the same build in practice (spec §5).