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

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Mar 28, 2022

Goblint's analysis for all of them is unsound because the unknown register_netdev doesn't spawn all the operation functions since they've been written through an unknown pointer.

@sim642 sim642 added goblint Goblint-specific problem new benchmark New benchmark to analyze labels Mar 28, 2022
@sim642 sim642 requested a review from vesalvojdani March 28, 2022 14:32
@sim642
Copy link
Member Author

sim642 commented Mar 29, 2022

There are now stubs for some allocation functions, which at least make the analysis sound and don't leave important functions uncalled. Nevertheless, even with symbolic locks we find almost everything to be racing because these net drivers heavily use data and mutexes stored deep in dynamically allocated structs. Our char drivers are much easier because they use global arrays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goblint Goblint-specific problem new benchmark New benchmark to analyze
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant