Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux net driver benchmarks from Locksmith papers #24

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ juliet/summary_table.html
incremental_data/
original/
increment/

.goblint*/
result/
29 changes: 29 additions & 0 deletions index/conf/locksmith-linux.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"pre": {
"cppflags": [
"-DGOBLINT_NO_PTHREAD_ONCE"
]
},
"ana": {
"activated": [
"expRelation",
"base",
"threadid",
"threadflag",
"threadreturn",
"escape",
"mutex",
"access",
"mallocWrapper"
],
"thread": {
"domain": "plain"
}
},
"dbg": {
"debug": true,
"verbose": true,
"print_dead_code": true
},
"printstats": true
}
6 changes: 6 additions & 0 deletions index/defs/locksmith-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
baseconf: index/conf/locksmith-linux.json
compare: false
incremental: false

Default:
SymbLocks: --set ana.activated[+] var_eq --set ana.activated[+] symb_locks
29 changes: 29 additions & 0 deletions index/sets/locksmith-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
plip:
info: plip
path: linux/drivers/net/plip/plip.c
param: --enable kernel ../stub.c

slip:
info: slip
path: linux/drivers/net/slip/slip.c
param: --enable kernel ../stub.c

eql:
info: eql
path: linux/drivers/net/eql.c
param: --enable kernel stub.c --set pre.cppflags[+] '-DKBUILD_MODNAME="eql"'

sis900:
info: sis900
path: linux/drivers/net/ethernet/sis/sis900.c
param: --enable kernel ../../stub.c --set pre.cppflags[+] '-DKBUILD_MODNAME="sis900"'

hp100:
info: hp100
path: linux/drivers/net/ethernet/hp/hp100.c
param: --enable kernel ../../stub.c --set pre.cppflags[+] '-DKBUILD_MODNAME="hp100"'

sundance:
info: sundance
path: linux/drivers/net/ethernet/dlink/sundance.c
param: --enable kernel ../../stub.c --set pre.cppflags[+] '-DKBUILD_MODNAME="sundance"'
Loading