Abstract

We present property probes, a mechanism for helping a developer explore partial program analysis results in terms of the source program interactively while the program is edited. A node locator data structure is introduced that maps between source code spans and program representation nodes, and that helps identify probed nodes in a robust way, after modifications to the source code. We have developed a client–server based tool CODEPROBER supporting property probes, and argue that it is very helpful in debugging and understanding program analyses. We have evaluated our tool on several languages and analyses, including a full Java compiler and a tool for intraprocedural dataflow analysis. Our performance results show that the probe overhead is negligible even when analyzing large projects.

Original languageEnglish
Article number111980
JournalJournal of Systems and Software
Volume211
DOIs
Publication statusPublished - 2024 May

Subject classification (UKÄ)

  • Computer Science

Free keywords

  • CodeProber
  • Debugging
  • Program analysis
  • Property probes

Fingerprint

Dive into the research topics of 'Property probes: Live exploration of program analysis results'. Together they form a unique fingerprint.

Cite this