Module activity

Source
Expand description

A type-safe representation of a workflow activity configuration

This can be passed in place of a JSON string when creating an binaryninja::workflow::Activity.

let workflow = workflow.clone_to(&workflow.name());
let config = Config::action(
    "bdash.arm64e-pac",
    "Remove explicit arm64e PAC checks",
    "Remove explicit arm64e pointer authentication checks prior to tail calls",
)
.with_eligibility(
    Eligibility::auto()
        .with_predicate(ViewType::In(&["Mach-O", "DSCView", "KCView"]))
);
let activity = Activity::new_with_action(&config.to_string(), remove_arm64e_pac);
workflow.register_activity(&activity).unwrap();

Structs§

Auto
Config
Eligibility
Predicate
Setting

Enums§

Operator
PredicateLogicalOperator
PredicateType
Role
ViewType