System and/or method for computing interprocedural dominators
Abstract
According to an aspect of some embodiments of the present invention there is provided a computerized method of analyzing code of a software program for dominance relationships between a plurality of functions of the software program, the method comprising: receiving source code of a software program, the source code having a plurality of functions; identifying a plurality of intraprocedural dominator graphs each for another of the plurality of functions; combining the plurality of intraprocedural dominator graphs to create an interprocedural dominance graph with edges that logically connect between nodes of the plurality of functions; identifying a plurality of interprocedural dominance relations between nodes in different functions of the plurality of functions using the interprocedural dominance graph; and analyzing the software program according to the plurality of interprocedural dominance relations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computerized method of optimizing code of a software program by analyzing dominance relationships between a plurality of functions of the software program, the method comprising: receiving, at a computer including at least one processor and memory, a source code of a software program, the source code having a plurality of functions; identifying a plurality of intraprocedural dominator graphs each for another of the plurality of functions of the source code; combining, by the at least one processor, the plurality of intraprocedural dominator graphs to create a combined interprocedural dominan
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Abdi, A., et al., "A Parallel On-Demand Algorithm for Computing Interprocedural Dominators" 2014 IEEE International Working Conference on Source Code Analysis and Manipulation [online], 2014 [retrieved Oct. 2, 2016], Retrieved from Internet: <URL: http://ieeexplore.ieee.org/document/6975657/?arnumbe
- Agrawal, H., "Efficient Coverage Testing Using Global Dominator Graphs," Proceedings of the 1999 ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering [online], 1999 [retrieved Oct. 2, 2016], Retrieved from Internet: <URL:http://dl.acm.org/citation.cfm?id=316166>, pp. 1
- Cooper et al., "A Simple, Fast Dominance Algorithm", Department of Computer Science, Rice University, Houston, Texas, USA.
- De Sutter et al., "A Practical Interprocedural Dominance Algorithm", ACM Transactions on Programming Languages and Systems (TOPLAS), vol. 29 Issue 4, Aug. 2007, Article No. 19.
- Georgiadis Loukas, "Finding Dominators in Intraprocedural Flow graphs", University of Ioannina, 2012. Can be found at : http://theory.di.uoa.gr/acac12/content/presentations/Georgiadis-inter-dom-acac2012.pdf.