Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilmmr/svROS
Verification of Observational Determinism in ROS2-based systems using Alloy.
https://github.com/ilmmr/svROS
alloy-analyzer ros2 sros2
Last synced: 3 months ago
JSON representation
Verification of Observational Determinism in ROS2-based systems using Alloy.
- Host: GitHub
- URL: https://github.com/ilmmr/svROS
- Owner: ilmmr
- License: mit
- Created: 2021-10-20T10:36:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T00:28:36.000Z (about 2 years ago)
- Last Synced: 2024-10-02T13:05:52.063Z (3 months ago)
- Topics: alloy-analyzer, ros2, sros2
- Language: Python
- Homepage:
- Size: 78 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SECURITY VERIFICATION IN ROS - *svROS*
Verification of security in robotic systems is one of the most difficult tasks from the standpoint of software development, as it might lead to a variety of loose ends. However, it has been shown how security hyperproperties, in particular Observational Determinism, can be verified by resorting to the use of formal methods.
Using formal frameworks for verification, such as Alloy, requires a significant level of expertise, which a common ROS developer does not possess. In addition, no state-of-art tool contemplates techniques to formally verify security in ROS2, which naturally motivates the study considered within the scope of this dissertation.
Therefore, a verification tool was developed, named Security Verification in ROS (svROS), which focuses on abstracting formal verification approaches, to provide a less-formal, easier to use, solution to verify OD in ROS2 system applications. To check the correctness of a ROS application behaviour in respect to OD, it is necessary to specify how the system behaves atomically in each node. For this, the tool incorporates a specification language that is more user-friendly than Alloy and, it enables the specification of intra-node operations, in respect to the publish-subscribe paradigm.
svROS supports the following capabilities:
* Source code fetching from ROS2 application packages.
* Reverse engineering methods to infer an architecture topology from the extracted code.
* Generation of configuration file templates, to allow a ROS developer to easily configure its application network.
* Methods to translate the system configuration into a model in Alloy, to later perform the verification of OD.
* A domain specific language to specify the intra-node behaviour of a ROS application, and methods to translate such specifications into Alloy.You can find the full documentation [here](https://luis1ribeiro.github.io/svROS/).
### HAROS - The High-Assurance ROS Framework
A lot of work done here was based on using already existent procedures from [HAROS](https://github.com/git-afsantos/haros) to ROS2. HAROS is a notable framework for quality assurance of ROS-based code, mostly based on static analysis, which makes use of various plugins to extend its functionality.
---
## INSTALL AND USEsvROS functionalities was compacted into a single [python package](https://pypi.org/project/svROS/) and can be easily installed using the python package installer *pip*.
```
pip install svROS
```
After installing, see the [Quick Reference](./svROS/) to the see the tool's commands and usage instructions.Enjoy! (ง ͡❛ ͜ʖ ͡❛)ง