Files
reverse-engineering-anything/src/contracts/destructiveTools.baseline.json
T
morluto 570658e941 test(contracts): derive tool-name oracles from their contract owners (#10787)
* test(contracts): derive tool-name oracles from their contract owners

toolEffects.test.ts kept a hand-sorted copy of the destructive tools that
every effects change had to re-record; the effects-to-annotation properties
beside it already check what the copy asserted. adbMcp.test.ts listed the
ADB tools by hand; derive them from ADB_TOOL_CONTRACTS so a new ADB tool is
checked for advertisement without a test edit.

Refs #10511

* test(contracts): keep reviewed destructive tools in a shrink-only baseline

Deleting the hand list left no test failing when a tool lost its destructive
effect. Derive each tool's destructiveHint from its audited effects and
contract, and require every name in the reviewed, sorted baseline to stay
destructive; the derived set may grow, but a tool leaves only by an explicit
baseline edit.

Refs #10511
2026-11-15 15:22:15 +08:00

45 lines
1.0 KiB
JSON

[
"act_on_build_computer",
"annotate_native_function",
"capture_browser_scenario",
"capture_electron_scenario",
"capture_native_ui_scenario",
"capture_process_scenario",
"check_build_task",
"close_binary",
"close_build_computer",
"close_frida_session",
"close_gdb_session",
"close_rizin_debug_session",
"cutter_command",
"execute_rizin_command",
"export_build_environment",
"export_evidence_bundle",
"gdb_console",
"install_adb_package",
"instrument_with_frida",
"load_frida_script",
"measure_build_task",
"observe_native_calls",
"observe_web_execution",
"open_binary",
"open_bundle_resources",
"push_adb_file",
"reset_investigation",
"resume_frida_session",
"rizin_debug_command",
"set_address_name",
"set_addresses_names",
"set_bookmark",
"set_comment",
"set_inline_comment",
"start_adb_activity",
"start_adb_app",
"start_build_capture",
"start_build_computer",
"start_rizin_debug_session",
"stop_adb_app",
"uninstall_adb_package",
"unset_bookmark"
]