angr.analyses.decompiler.semantic_naming.orchestrator¶
Orchestrator for semantic variable naming patterns.
This module coordinates multiple naming patterns and applies them in priority order.
Note: Loop counter naming is NOT included here as it runs in RegionSimplifier after structuring, where it can leverage the structured LoopNode information.
- class angr.analyses.decompiler.semantic_naming.orchestrator.SemanticNamingOrchestrator¶
Bases:
objectOrchestrates multiple semantic naming patterns.
Runs each pattern in priority order (lower PRIORITY value = runs first). Variables named by higher-priority patterns are not renamed by lower-priority ones.
- __init__(ail_graph, variable_manager, functions, entry_node, patterns=None)¶
- Parameters:
ail_graph (DiGraph)
variable_manager (VariableManagerInternal)
functions (FunctionManager)
entry_node (Block)
patterns (list[type[ClinicNamingBase]] | None)
- analyze()¶
Run all semantic naming patterns in priority order.
- Return type:
- Returns:
Combined mapping of all renamed variables to their new names