Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cortex-m-rtfm-klee
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
KLEE
cortex-m-rtfm-klee
Commits
2cdab350
Commit
2cdab350
authored
5 years ago
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Remove docker, use native KLEE
parent
bcb75e41
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
gdb.py
+1
-10
1 addition, 10 deletions
gdb.py
klee_stm_gdb.py
+2
-10
2 additions, 10 deletions
klee_stm_gdb.py
with
3 additions
and
20 deletions
gdb.py
+
1
−
10
View file @
2cdab350
...
...
@@ -352,9 +352,6 @@ def ktest_iterate():
print
(
rustoutputfolder
+
"
not found. Need to run
\n
"
)
print
(
"
xargo build --example
"
+
example_name
+
"
--features
"
+
"
klee_mode --target x86_64-unknown-linux-gnu
"
)
print
(
"
\n
and docker run --rm --user (id -u):(id -g)
"
+
"
-v $PWD
"
+
"
/
"
+
klee_out_folder
+
"
:/mnt
"
+
"
-w /mnt -it afoht/llvm-klee-4 /bin/bash
"
)
if
autobuild
:
xargo_run
(
"
klee
"
)
klee_run
()
...
...
@@ -459,13 +456,7 @@ def klee_run():
print
(
PWD
+
"
/
"
+
klee_out_folder
)
print
(
bc_file
)
klee_cmd
=
(
"
docker run --rm --user
"
+
user_id
[:
-
1
]
+
"
:
"
+
group_id
[:
-
1
]
+
"
-v
'"
+
PWD
+
"
/
"
+
klee_out_folder
+
"'
:
'
/mnt
'"
+
"
-w /mnt -it afoht/llvm-klee-4
"
+
"
/bin/bash -c
'
klee %s
'"
%
bc_file
)
klee_cmd
=
(
"
klee %s
"
%
bc_file
)
if
debug
:
print
(
klee_cmd
)
call
(
klee_cmd
,
shell
=
True
)
...
...
This diff is collapsed.
Click to expand it.
klee_stm_gdb.py
+
2
−
10
View file @
2cdab350
...
...
@@ -420,9 +420,6 @@ def ktest_iterate():
print
(
rustoutputfolder
+
"
not found. Need to run
\n
"
)
print
(
"
xargo build --example
"
+
example_name
+
"
--features
"
+
"
klee_mode --target x86_64-unknown-linux-gnu
"
)
print
(
"
\n
and docker run --rm --user (id -u):(id -g)
"
+
"
-v $PWD
"
+
"
/
"
+
klee_out_folder
+
"
:/mnt
"
+
"
-w /mnt -it afoht/llvm-klee-4 /bin/bash
"
)
if
autobuild
:
xargo_run
(
"
klee
"
)
klee_run
()
...
...
@@ -524,13 +521,8 @@ def klee_run():
print
(
PWD
+
"
/
"
+
klee_out_folder
)
print
(
bc_file
)
klee_cmd
=
(
"
docker run --rm --user
"
+
user_id
[:
-
1
]
+
"
:
"
+
group_id
[:
-
1
]
+
"
-v
'"
+
PWD
+
"
/
"
+
klee_out_folder
+
"'
:
'
/mnt
'"
+
"
-w /mnt -it afoht/llvm-klee-4
"
+
"
/bin/bash -c
'
klee %s
'"
%
bc_file
)
klee_cmd
=
(
"
klee %s
"
%
bc_file
)
if
debug
:
print
(
klee_cmd
)
call
(
klee_cmd
,
shell
=
True
)
...
...
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