How lindwurm-can/lindwurm works
Lindwurm is a Qt desktop tool for CAN-bus tracing, frame composition/fuzzing, and automotive diagnostics. Its principal workflow is to configure a CAN interface, then use tools that mount the interface to capture or send frames and run higher-level protocols. The graph includes the documented composer, tracer, ISO-TP, and UDS capabilities. Several UI/plugin wiring paths and diagnostic implementations are unsampled, so their relationships are omitted rather than inferred.
Main entry points: caninterfacemanager.cpp Interface manager · icaninterfacehandle.h Mounted interface handles · readdatabyidentifierwidget.cpp UDS data reader · caninterfacemanagerwidget.cpp Interface manager UI
Components 21
Application shell
- Application entry
src/lindwurm/main.cpp - Plugin manager
src/pluginsystem/pluginmanager.cpp - Tool manager
src/plugins/coreplugin/cantoolmanager.cpp
CAN interfaces
- Interface manager UI
src/plugins/coreplugin/cantoolwidgets/caninterfacemanagerwidget.cpp - Interface manager
src/lindwurmlib/caninterface/caninterfacemanager.cpp - Interface table model
src/lindwurmlib/caninterface/caninterfacemanagermodel.cpp - CAN interfaces and bridges
src/lindwurmlib/include/caninterface/abstractcaninterface.h - Mounted interface handles
src/lindwurmlib/include/caninterface/icaninterfacehandle.h
Frame tracing
- Tracer tool
src/plugins/coreplugin/cantoolwidgets/cantracerwidget.cpp - Frame tracer
src/lindwurmlib/cantracer/canframetracer.cpp - Trace models and filtering
src/lindwurmlib/cantracer/linearcanframetracermodel.cpp
Frame and transport tools
- Frame composer tool
src/plugins/framecomposer/canframecomposertab.cpp - Frame composition
src/lindwurmlib/cancomposer/canframecomposer.cpp - ISO-TP tool
src/plugins/isotptool/isotpwidget.cpp - ISO-TP protocol
src/lindwurmlib/cantransport/isotransportprotocol.cpp
UDS diagnostics
- UDS data reader
src/plugins/udstools/readdatabyidentifierwidget.cpp - Data identifier mapper
src/lindwurmlib/diagnostic/readdatabyidentifiermapper.cpp - UDS data identifiers
src/lindwurmlib/diagnostic/udsdataid.cpp - ECU discovery
src/plugins/udstools/udsecudiscoverywidget.cpp - Discovery scanner
src/lindwurmlib/diagnostic/udsecudiscoveryscanner.cpp
Other components
- Tester
Connections 16
- Interface manager UI → Interface manager: manages
src/plugins/coreplugin/cantoolwidgets/caninterfacemanagerwidget.cpp - Interface manager UI → Interface table model: displays
src/plugins/coreplugin/cantoolwidgets/caninterfacemanagerwidget.cpp - Interface manager → CAN interfaces and bridges: creates
src/lindwurmlib/caninterface/caninterfacemanager.cpp - Interface manager → Mounted interface handles: mounts
- Interface table model → Interface manager: updates
src/lindwurmlib/caninterface/caninterfacemanagermodel.cpp - Frame tracer → Mounted interface handles: uses
- Trace models and filtering → Frame tracer: reads
src/lindwurmlib/cantracer/linearcanframetracermodel.cpp - Frame composer tool → Frame composition: uses
src/plugins/framecomposer/canframecomposertab.cpp - ISO-TP tool → ISO-TP protocol: uses
src/plugins/isotptool/isotpwidget.cpp - ISO-TP protocol → Mounted interface handles: uses
src/lindwurmlib/cantransport/isotransportprotocol.cpp - UDS data reader → Data identifier mapper: uses
src/plugins/udstools/readdatabyidentifierwidget.cpp - UDS data reader → UDS data identifiers: reads
src/plugins/udstools/readdatabyidentifierwidget.cpp - UDS data reader → Mounted interface handles: uses
src/plugins/udstools/readdatabyidentifierwidget.cpp - Application entry → Plugin manager: starts
src/lindwurm/main.cpp - Plugin manager → Tool manager: initializes tools
- ECU discovery → Discovery scanner: dispatches