Dynamic architecture extraction

  • Authors:
  • Cormac Flanagan;Stephen N. Freund

  • Affiliations:
  • Dept. of Computer Science, University of California at Santa Cruz, Santa Cruz, CA;Dept. of Computer Science, Williams College, Williamstown, MA

  • Venue:
  • FATES'06/RV'06 Proceedings of the First combined international conference on Formal Approaches to Software Testing and Runtime Verification
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Object models capture key properties of object-oriented architectures, and they can highlight relationships between types, occurrences of sharing, and object encapsulation. We present a dynamic analysis to extract object models from legacy code bases. Our analysis reconstructs each intermediate heap from a log of object allocations and field writes, applies a sequence of abstraction-based operations to each heap, and combines the results into a single object model that conservatively approximates all observed heaps from the program's execution. The resulting object models reflect many interesting and useful architectural properties.