vbpf / ebpf-samples

Sample ebpf programs to analyze
91 stars 12 forks source link

Add more samples that should fail verification #6

Closed dthaler closed 3 years ago

dthaler commented 3 years ago

1) Try reading past the end of a return map value 2) Try passing ctx to a helper that expects a different ctx type

Signed-off-by: Dave Thaler dthaler@ntdev.microsoft.com

dthaler commented 3 years ago

@elazarg please merge. It looks like you merged the ebpf-verifier tests that depend on these files, without merging these files first.

elazarg commented 3 years ago

Oops.