Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. CSAIL Digital Archive
  4. CSAIL Technical Reports (July 1, 2003 - present)
  5. Selecting Refining and Evaluating Properties for Program Analysis

Selecting Refining and Evaluating Properties for Program Analysis

Thumbnail Image
Download
Name

MIT-CSAIL-TR-2003-005.ps

Size

20.66 MB

Format

PostScript

Checksum (MD5)

ca30f4709130b9c370f9e5b7905ed00e

Thumbnail Image
Download
Name

MIT-CSAIL-TR-2003-005.pdf

Size

837.96 KB

Format

Adobe PDF

Checksum (MD5)

117ecb45e4c710880e855db324cd54d0

Author(s)
Dodoo, Nii
•
Lin, Lee
•
Ernst, Michael D.
Date Issued
July 21, 2003
Series/Report no.
Massachusetts Institute of Technology Computer Science and Artificial Intelligence Laboratory
Abstract
This research proposes and evaluates techniques for selectingpredicates for conditional program properties—thatis, implications such as p ) q whose consequent must betrue whenever the predicate is true. Conditional propertiesare prevalent in recursive data structures, which behave differentlyin their base and recursive cases, in programs thatcontain branches, in programs that fail only on some inputs,and in many other situations. The experimental context ofthe research is dynamic detection of likely program invariants,but the ideas are applicable to other domains.Trying every possible predicate for conditional propertiesis computationally infeasible and yields too many undesirableproperties. This paper compares four policies forselecting predicates: procedure return analysis, code conditionals,clustering, and random selection. It also showshow to improve predicates via iterated analysis. An experimentalevaluation demonstrates that the techniques improveperformance on two tasks: statically proving the absence ofrun-time errors with a theorem-prover, and separating faultyfrom correct executions of erroneous programs.
Persistent DSpace Link
http://hdl.handle.net/1721.1/30402
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.