Extensible Shape Analysis by Designing with the

Extensible Shape Analysis by Designing with the
1 / 1
Extensible Shape Analysis by Designing with the - slide 1 of 20 Extensible Shape Analysis by Designing with the - slide 2 of 20 Extensible Shape Analysis by Designing with the - slide 3 of 20 Extensible Shape Analysis by Designing with the - slide 4 of 20 Extensible Shape Analysis by Designing with the - slide 5 of 20 Extensible Shape Analysis by Designing with the - slide 6 of 20 Extensible Shape Analysis by Designing with the - slide 7 of 20 Extensible Shape Analysis by Designing with the - slide 8 of 20 Extensible Shape Analysis by Designing with the - slide 9 of 20 Extensible Shape Analysis by Designing with the - slide 10 of 20 Extensible Shape Analysis by Designing with the - slide 11 of 20 Extensible Shape Analysis by Designing with the - slide 12 of 20 Extensible Shape Analysis by Designing with the - slide 13 of 20 Extensible Shape Analysis by Designing with the - slide 14 of 20 Extensible Shape Analysis by Designing with the - slide 15 of 20 Extensible Shape Analysis by Designing with the - slide 16 of 20 Extensible Shape Analysis by Designing with the - slide 17 of 20 Extensible Shape Analysis by Designing with the - slide 18 of 20 Extensible Shape Analysis by Designing with the - slide 19 of 20 Extensible Shape Analysis by Designing with the - slide 20 of 20
Extensible Shape Analysis by Designing with the User in Mind Bor-Yuh Evan Chang, Xavier Rival, and George Necula University of California, Berkeley OSQ Retreat May 16, 2008 Motivation Analyses find many kinds of bugs For example, Reading

Related Topics

Download this presentation From Below

"Extensible Shape Analysis by Designing with the" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Extensible Shape Analysis by Designing with the User in Mind Bor-Yuh Evan Chang, Xavier Rival, and George Necula
University of California, Berkeley

OSQ Retreat
May 16, 2008<br>
02
Motivation Analyses find many kinds of bugs
For example,
Reading from a closed file:
Reacquiring a locked lock:

But often struggle when objects are put into data structures   Bor-Yuh Evan Chang - Extensible Shape Analysis by Designing with the User in Mind Shape Analysis is Data Structure Analysis<br>
03
… code …
// x now points to an unlocked lock in a linked list





acquire(x);
… code … ideal analysis state analysis state What’s hard about data structures? Bor-Yuh Evan Chang - Extensible Shape Analysis by Designing with the User in Mind or or or … For decidability, must abstract (e.g., merge objects) Abstraction too coarse or not precise enough (e.g., lost x is always unlocked) mislabels good code as buggy <br>