Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/SCAM.2004.7guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Context-Sensitivity Matters, But Context Does Not

Published: 15 September 2004 Publication History

Abstract

Whether context-sensitive program analysis is more effective than context-insensitive analysis is an ongoing discussion. There is evidence that context-sensitivity matters in complex analyses like pointer analysis or program slicing. One might think that the context itself matters, because empirical data shows that context-sensitive program slicing is more precise and under some circumstances even faster than context-insensitive program slicing. Based on some experiments, we will show that this is not the case. The experiment requires backward slices to return to call sites specified by an abstract call stack. Such call stacks can be seen as a poor man's dynamic slicing: For a concrete execution, the call stack is captured, and static slices are restricted to the captured stack. The experiment shows that there is no significant increase in precision of the restricted form of slicing compared to the unrestricted traditional slicing. The reason is that a large part of an average slice is due to called procedures.

Cited By

View all
  • (2018)Bug localization in test-driven developmentAdvances in Software Engineering10.1155/2011/4927572011(1-18)Online publication date: 11-Dec-2018
  • (2018)Calling-to-reference context translation via constraint-guided CFL-reachabilityACM SIGPLAN Notices10.1145/3296979.319237853:4(196-210)Online publication date: 11-Jun-2018
  • (2018)Calling-to-reference context translation via constraint-guided CFL-reachabilityProceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3192366.3192378(196-210)Online publication date: 11-Jun-2018
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
SCAM '04: Proceedings of the Source Code Analysis and Manipulation, Fourth IEEE International Workshop
September 2004
152 pages
ISBN:0769521444

Publisher

IEEE Computer Society

United States

Publication History

Published: 15 September 2004

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 16 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)Bug localization in test-driven developmentAdvances in Software Engineering10.1155/2011/4927572011(1-18)Online publication date: 11-Dec-2018
  • (2018)Calling-to-reference context translation via constraint-guided CFL-reachabilityACM SIGPLAN Notices10.1145/3296979.319237853:4(196-210)Online publication date: 11-Jun-2018
  • (2018)Calling-to-reference context translation via constraint-guided CFL-reachabilityProceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3192366.3192378(196-210)Online publication date: 11-Jun-2018
  • (2018)Lightweight control-flow instrumentation and postmortem analysis in support of debuggingAutomated Software Engineering10.1007/s10515-016-0190-124:4(865-904)Online publication date: 26-Dec-2018
  • (2014)Specialization SlicingACM Transactions on Programming Languages and Systems10.1145/256662036:2(1-67)Online publication date: 1-Jun-2014
  • (2013)Lightweight control-flow instrumentation and postmortem analysis in support of debuggingProceedings of the 28th IEEE/ACM International Conference on Automated Software Engineering10.1109/ASE.2013.6693096(378-388)Online publication date: 11-Nov-2013
  • (2007)Slicing concurrent Java programs using Indus and KaveriInternational Journal on Software Tools for Technology Transfer (STTT)10.5555/3220881.32209789:5-6(489-504)Online publication date: 1-Oct-2007
  • (2005)A brief survey of program slicingACM SIGSOFT Software Engineering Notes10.1145/1050849.105086530:2(1-36)Online publication date: 1-Mar-2005

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media