Comments (7)
The flag --assume-assert
is designed to help in this exact case. Doesn't it?
from ebpf-verifier.
@Alan-Jowett did you experiment with that flag?
from ebpf-verifier.
Thanks for the feedback. What does this flag do? Should it be on by default when performing the analysis? I will try it out.
from ebpf-verifier.
The flag forces the invariants to match the assertions, even if they did not. So errors are not repeated and not compounded.
It used to be the default. I don't remember the reasoning behind disabling it, but in part it's because expected failures in tests stress the code less (since many invariants drop to bottom immediately).
Please let me know if the flag helps.
from ebpf-verifier.
That flag is awesome!
From 507 errors -> 1 error, and it's the actual relevant error that is causing the problem. This is even better than my approach. Is there any harm in making this the default in eBPF-for-Window's calls to the verifier?
I will go ahead and close this PR unless you see value in it.
from ebpf-verifier.
I think it should be on by default during debugging, and off by default in tests.
from ebpf-verifier.
Thanks!
from ebpf-verifier.
Related Issues (20)
- Verifier stucks while verifying the loop program
- Docker build not working (missing things + compiler errors)?
- Unsafe XDP program passes verification on Windows HOT 4
- Stack memory tracking improvements
- MOVSX shouldn't operate on immediate
- Add support for subprograms (call_local) HOT 1
- "adjust_head" statistic is not cross-platform safe
- Add support for calling a helper function by BTF ID
- Why not implement the wrapped_interval domain to support machine integer analysis? HOT 2
- UndefinedBehaviorSanitizer: radix_substr shift exponent 64 is too large for 64-bit type
- Error when running scripts/experiment.sh HOT 3
- bitset_domain_t::all_num assert that lb < ub
- EBPF_ARGUMENT_TYPE_PTR_TO_MAP_VALUE should permit values from other maps
- bpf_map_lookup_elem assertion is wrong for BPF_MAP_TYPE_HASH_OF_MAPS of BPF_MAP_TYPE_PROG_ARRAY HOT 1
- FuzzerDebug configuration not setting correct flags
- Stream operator for ValidMapKeyValue always says target is stack location
- Compiler version for Ubuntu build
- Feature Request: Add Read-Only CTX Descriptor.
- assert(!thread_local_options.assume_assertions || is_bottom()) hit when fuzzing with assume_assertions on HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ebpf-verifier.