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)
18 lines
536 B
JavaScript
18 lines
536 B
JavaScript
import { validateJadxConfiguration } from "../../dist/android/JadxConfiguration.js";
|
|
import { withVerifierResourceOwner } from "./verifier-file-resources.mjs";
|
|
|
|
/** Validate Java and the engine archive before beginning real verification. */
|
|
export function validateVerifierJadxConfiguration(
|
|
configuration,
|
|
environment,
|
|
operation,
|
|
options = {},
|
|
) {
|
|
return withVerifierResourceOwner((resourceOwner) =>
|
|
validateJadxConfiguration(configuration, environment, operation, {
|
|
...options,
|
|
resourceOwner,
|
|
}),
|
|
);
|
|
}
|