SYMROS performs compilation-based symbolic execution on ROS 2 nodes: it builds the target node with an instrumented compiler (SymCC) against instrumented C++ libraries, drives the node through its lifecycle / entry code, and explores its input space to construct test drivers, run symbolic execution, and perform bug-guided input space exploration.
| Path | Description |
|---|---|
SYMROS/ |
Main symbolic execution engine (driver symros.py, SymCC compiler, ros-nodds runtime, build scripts). |
workspace/ |
Test targets, each built into a concrete / symbolic / recovery workspace (conc_ws, sym_ws, chk_ws). |
external/ |
Third-party libraries supporting compilation-based symbolic execution (installed builds: gm = GraphicsMagick, geographiclib = GeographicLib). |
libcxx_clang_install/, libcxx_symros_install/ |
C++ standard libraries instrumented by SymCC. |
SYMROS/samples/ |
Pre-provided samples to reproduce the SYMROS evaluation results. |
- navigation2
- robot_localization
- slam_toolbox
-
Set up the environment (compiler, instrumented libc++, ROS runtime, system packages): see
SETUP.md. -
Build the three workspaces:
cd SYMROS ./scripts/conc_build.bash ../workspace/conc_ws ./scripts/sym_build.bash ../workspace/sym_ws ./scripts/chk_build.bash ../workspace/chk_ws
Each evaluated package ships a step-by-step procedure (configuration, construct
test driver, symbolic execution, bug-guided input space exploration) under
SYMROS/samples/<package>/README.md: