Supply a real retained resource owner to every Android verifier prerequisite check, sharing the existing Ghidra verifier cleanup scope. Match recovery checks to typed Java or archive failures and applicable remediation, preserving exact close retry authority and primary failures. Assisted-by: Reimu (gensokyo-skills:reimu-incident-triage)
10 lines
440 B
JavaScript
10 lines
440 B
JavaScript
import { inspectGhidraInstallation } from "../../dist/ghidra/GhidraInstallation.js";
|
|
import { withVerifierResourceOwner } from "./verifier-file-resources.mjs";
|
|
|
|
/** Complete one prerequisite inspection and release its exact retained owners. */
|
|
export function inspectVerifierGhidraInstallation(options, host) {
|
|
return withVerifierResourceOwner((resourceOwner) =>
|
|
inspectGhidraInstallation({ ...options, resourceOwner }, host),
|
|
);
|
|
}
|