Calling-to-reference context translation via constraint-guided CFL-reachability Academic Article uri icon


  • A calling context is an important piece of information used widely to help developers understand program executions (e.g., for debugging). While calling contexts offer useful control information, information regarding data involved in a bug (e.g., what data structure holds a leaking object), in many cases, can bring developers closer to the bug's root cause. Such data information, often exhibited as heap reference paths, has already been needed by many tools. The only way for a dynamic analysis to record complete reference paths is to perform heap dumping, which incurs huge runtime overhead and renders the analysis impractical. This paper presents a novel static analysis that can precisely infer, from a calling context of a method that contains a use (e.g., read or write) of an object, the heap reference paths leading to the object at the time the use occurs. Since calling context recording is much less expensive, our technique provides benefits for all dynamic techniques that need heap information, significantly reducing their overhead.

published proceedings

  • ACM SIGPLAN Notices

author list (cited authors)

  • Cai, C., Zhang, Q., Zuo, Z., Nguyen, K., Xu, G., & Su, Z.

citation count

  • 1

complete list of authors

  • Cai, Cheng||Zhang, Qirun||Zuo, Zhiqiang||Nguyen, Khanh||Xu, Guoqing||Su, Zhendong

publication date

  • December 2018