vbpf / ebpf-verifier

eBPF verifier based on abstract interpretation
MIT License
375 stars 39 forks source link

Fix BTF line info for sections with multiple programs #642

Closed dthaler closed 3 months ago

dthaler commented 3 months ago

PR #638 didn't correctly fix the code that fills in BTF info (e.g., source line) per instruction, when multiple programs appear in a section. This PR corrects that oversight.

coveralls commented 3 months ago

Coverage Status

coverage: 90.431% (+0.04%) from 90.39% when pulling ea3587e32ec4231cfe670160c440e1b40887c49b on dthaler:fix-bpf into 01d26e5c359e380fe7f3f0561ac9e877bc1f9ba3 on vbpf:main.