Skip to main content

versioned_script_dir

Function versioned_script_dir 

Source
pub fn versioned_script_dir() -> PathBuf
Expand description

The per-version worker-script directory: <data>/scripts/<hash16>/. <hash16> is the first 16 hex chars of the SHA-256 of the embedded WORKER_JAVA, so a binary always extracts into a dir unique to its worker version (spec §5 per-version script dir). The file inside MUST stay named GhidraMcpWorker.java (Ghidra: filename == class name).