Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
d7020e_srp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
d7020e
d7020e_srp
Commits
815dee97
Commit
815dee97
authored
7 years ago
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Added notes on how to install the docker container for KLEE support
parent
a4a067d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+62
-2
62 additions, 2 deletions
README.md
with
62 additions
and
2 deletions
README.md
+
62
−
2
View file @
815dee97
# SRP lab in d7020e
RTFM-4-SURE SRP analysis example
---
================================
Install the following docker container
```
docker pull afoht/rtfm4sure
```
Create the container
This will create a folder in the current working directory named
klee_docker.
In this shared folder the tools and the sources will reside.
How to create a new docker from latest image
```
docker run -it --name=rtfm4sure -v $PWD/klee_docker:/root/shared_dir afoht/rtfm4sure:latest /bin/bash
```
Now get the actual program (from your regular computer, not the container):
```
sudo chown $USER klee_docker
cd klee_docker
git clone https://gitlab.henriktjader.com/d7020e/d7020e_srp.git
cd d7020e_srp
git checkout klee
```
With the container running, ensure that the docker can reach port 3333 on the host.
(Double check no firewalls block access)
Start OpenOCD on the host, connect it to your microcontroller.
```
openocd -f st_nucleo_f4_itm.cfg
```
The st_nucleo_f4_itm.cfg file is located in the git repo inside the docker (use two different terminals for convenience):
Finally, inside the docker shell:
```
cd /root/shared_dir/d7020e_srp
```
To run the suite of tools:
```
make bench
```
After a successful run the output folder contains a database and scripts for parsing this database.
SRP lab in d7020e
---------------
## Install
## Install
Open terminal
Open terminal
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment