Visualizing execution paths

  • Authors:
  • Martin E. Ebersole;Christopher A. Healy

  • Affiliations:
  • Furman University, Greenville, SC;Furman University, Greenville, SC

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Trying to understand assembly code can be a difficult or unpleasant task for many computer science students. Even if the code is well structured and documented, it is rather tedious to determine manually all the execution paths. Running the program multiple times may miss some possible paths that the user did not consider. Thus, for the purposes of pedagogy and testing, there is a need for a static tool that can analyze assembly code and emit information about all execution paths. This paper describes a software tool called Path Viz that allows a user to observe the complete path and block structure of a computer program. The tool reads assembly code and control-flow information in order to generate the set of paths. A graphical user interface appears to allow the user to query about any portion of the program. Path Viz operates efficiently since it does not actually run the input program. Furthermore, the implementation of Path Viz makes it amenable to porting to a different assembly language.