• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vbpf / prevail / 28621240250

02 Jul 2026 09:00PM UTC coverage: 86.475%. Remained the same
28621240250

push

github

elazarg
Fix width argument in weak type-store havoc

ArrayDomain::store_type's weak (non-constant index) update called
num_bytes.havoc(lb, ub), but BitsetDomain::havoc's second parameter is a
width, not an upper bound. It therefore marked bytes [lb, lb+ub) non-numeric
instead of [lb, ub), over-clobbering numeric bytes (clamped to the stack
size). This is conservative and cannot accept an unsafe program, but it
loses precision and can cause spurious rejections.

Pass ub - lb as the width, matching the correct sibling calls.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Elazar Gershuni <elazarg@gmail.com>

9143 of 10573 relevant lines covered (86.47%)

6472055.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.34
/src/crab/array_domain.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc