Project

General

Profile

Actions

Bug #330

closed

Coverage check is flawed for lattice-based regions!

Added by Pavel Shved over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
08/03/2010
Due date:
12/02/2010
% Done:

0%

Estimated time:
Detected in build:
pre-ldv
Platform:
Published in build:
5712bcdca3dcb323726f91d2a5d3d080e0a4e93b

Description

Currently coverage check is implemented like this.

"Region X is covered if join of all regions in the same location is greater than X"

That is not correct. Assume regions [ a > 1 ; b > 10 ] and [ a > 10 ; b > 1 ]. Join of them will be not less than [ a > 1 ; b > 1 ]. It is greater than region [ a = 5 ; b = 5 ]. So if this region was encountered, it would be considered covered. But this region is not covered by any of the regions above! It is not contained in any of the given regions, while join contains it.

This behavior leads to incorrect analysis. It should be fixed.


Files

latt2.c (591 Bytes) latt2.c small example of a driver thta causes bug Pavel Shved, 09/21/2010 06:09 PM
latt2.c (628 Bytes) latt2.c latt2.c lines shifted Vadim Mutilin, 11/11/2010 08:00 PM
stateful.c (927 Bytes) stateful.c example which should be unsafe with lattice Vadim Mutilin, 12/08/2010 07:50 PM
total.jpg (98.4 KB) total.jpg total Vadim Mutilin, 12/10/2010 12:15 PM
cmp_default_with_merge_at_bdd.jpg (147 KB) cmp_default_with_merge_at_bdd.jpg cmp_default_with_merge_at_bdd Vadim Mutilin, 12/10/2010 12:15 PM
def_with_bdd_on_2gb_34.png (20.9 KB) def_with_bdd_on_2gb_34.png Vadim Mutilin, 12/16/2010 07:36 PM
default_with_bdd_on_1gb.png (17.7 KB) default_with_bdd_on_1gb.png Vadim Mutilin, 12/16/2010 07:36 PM
def_1gb_with_def_2gb.png (17 KB) def_1gb_with_def_2gb.png Vadim Mutilin, 12/16/2010 07:36 PM
bdd_1gb_with_bdd_2gb.png (17.6 KB) bdd_1gb_with_bdd_2gb.png Vadim Mutilin, 12/16/2010 07:36 PM
def_with_bdd_on_2gb.png (17.7 KB) def_with_bdd_on_2gb.png Vadim Mutilin, 12/16/2010 07:36 PM
def_1gb_with_bdd_2gb.png (20.5 KB) def_1gb_with_bdd_2gb.png Vadim Mutilin, 12/16/2010 07:36 PM
kernel_times.png (106 KB) kernel_times.png kernel times Vadim Mutilin, 12/21/2010 12:01 PM

Related issues 2 (1 open1 closed)

Related to Linux Driver Verification - Bug #335: BLAST doesn't see the error in drivers/net/irda/ali-ircc.cClosed08/03/2010

Actions
Blocks Linux Driver Verification - Bug #405: Unsafe drivers reported as safe on kb0032Open08/30/2010

Actions
Actions

Also available in: Atom PDF