How jopohl/urh works
URH is a desktop suite for investigating wireless protocols. The principal workflow is to capture or load radio signals, inspect and decode them into protocol messages, identify fields manually or automatically, then generate or fuzz transmissions; it also supports stateful simulation. The graph includes the main UI controllers, protocol and signal-processing layers, AWRE, SDR backends, project persistence, and plugins. Relationships are limited to README claims and SOURCE INDEX references; unsampled subsystems are represented at their existing directory paths.
Main entry points: MainController.py Main Window · CompareFrameController.py Protocol Analysis UI · ProjectManager.py Project Persistence · GeneratorTabController.py Generator UI
Components 28
Application
- Main Window
src/urh/controller/MainController.py - Protocol Analysis UI
src/urh/controller/CompareFrameController.py - Generator UI
src/urh/controller/GeneratorTabController.py - Simulator UI
src/urh/controller/SimulatorTabController.py - Signal UI
src/urh/controller/SignalTabController.py
Radio and Signals
- SDR Backends
src/urh/dev - Signal Model
src/urh/signalprocessing/Signal.py - IQ Samples
src/urh/signalprocessing/IQArray.py
Protocol Analysis
- Protocol Analyzer
src/urh/signalprocessing/ProtocolAnalyzer.py - Messages
src/urh/signalprocessing/Message.py - Decoding
src/urh/signalprocessing/Encoding.py - Message Types
src/urh/signalprocessing/MessageType.py - Protocol Labels
src/urh/signalprocessing/ProtocoLabel.py - Field Types
src/urh/signalprocessing/FieldType.py - Automatic Field Inference
src/urh/awre - Common Ranges
src/urh/awre/CommonRange.py - Inference Engine
src/urh/awre/engines/Engine.py
Generation and Attacks
- Modulation
src/urh/signalprocessing/Modulator.py - Fuzzing
src/urh/controller/dialogs/FuzzingDialog.py - Stateful Simulation
src/urh/simulator/Simulator.py
Project and Extensions
- Project Persistence
src/urh/util/ProjectManager.py - Signal File I/O
src/urh/util/FileOperator.py - Plugins
src/urh/plugins/PluginManager.py - Preferences
src/urh/settings.py - Formatting
src/urh/util/Formatter.py - CRC Utilities
src/urh/util/GenericCRC.py
Other components
- Investigator
- Radio Device
Connections 28
- Investigator → Main Window: uses
- Main Window → Protocol Analysis UI: opens analysis
src/urh/controller/MainController.py - Main Window → Generator UI: opens generator
src/urh/controller/MainController.py - Main Window → Simulator UI: opens simulator
src/urh/controller/MainController.py - Main Window → Signal UI: opens signal tools
src/urh/controller/MainController.py - Radio Device → SDR Backends: provides radio I/O
- SDR Backends → Signal Model: receives or sends
- Signal UI → Signal Model: handles signals
- Protocol Analysis UI → Protocol Analyzer: uses
src/urh/controller/CompareFrameController.py - Protocol Analyzer → Messages: uses messages
src/urh/signalprocessing/ProtocolAnalyzer.py - Protocol Analyzer → Decoding: applies decoding
src/urh/signalprocessing/ProtocolAnalyzer.py - Protocol Analysis UI → Message Types: edits types
src/urh/controller/CompareFrameController.py - Message Types → Protocol Labels: holds labels
src/urh/signalprocessing/MessageType.py - Protocol Labels → Field Types: uses field types
src/urh/signalprocessing/ProtocoLabel.py - Protocol Analysis UI → Automatic Field Inference: invokes inference
src/urh/controller/CompareFrameController.py - Automatic Field Inference → Inference Engine: uses engines
src/urh/awre/engines/AddressEngine.py - Inference Engine → Common Ranges: finds ranges
src/urh/awre/engines/Engine.py - Generator UI → Modulation: uses modulation
src/urh/controller/GeneratorTabController.py - Generator UI → Fuzzing: opens fuzzing
src/urh/controller/GeneratorTabController.py - Simulator UI → Stateful Simulation: configures simulation
src/urh/controller/SimulatorTabController.py - Main Window → Project Persistence: manages project
src/urh/controller/MainController.py - Project Persistence → Signal Model: loads signal state
src/urh/util/ProjectManager.py - Project Persistence → Signal File I/O: uses file I/O
src/urh/util/ProjectManager.py - Protocol Analysis UI → Plugins: uses plugins
src/urh/controller/CompareFrameController.py - Project Persistence → Preferences: uses settings
src/urh/util/ProjectManager.py - Decoding → CRC Utilities: uses CRC
src/urh/signalprocessing/Encoding.py - Messages → Formatting: formats values
- Signal File I/O → IQ Samples: loads samples
src/urh/util/FileOperator.py