Patents
US 8,930,927 B2#18896485 Most CitedActiveUnited States (USPTO)Utility

Diagnosing aliasing violations in a partial program view

6Forward Citations (#18896485 Global)
0.6/yrCitation Velocity (#14672519 Global)
1.19Citation PageRank (#32682065 Global)
39Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A compiler generated static analysis of potential aliasing violations in a portion of code that is not in the current program view of the analysis. Source code in a current program view of the program code is processed to collect symbol definitions. The possible destinations of each symbol definition are computed. The set of symbol definitions in the current program view of the code that are accessible to the portion of the program code outside the current program view is evaluated. Each symbol definition is diagnosed based on the type of the symbol defined and the symbols which may be pointed-to by the symbol definitions.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 6.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for performing a static analysis of a source code program, the method comprising: identifying, by a data processing system in a current program view of a first source code module of the source code program compiled by a first compiler during a static compilation of the first source code module by the first compiler, a symbol with an assigned definition pointing to data of a first declared type located at a memory location, wherein the memory location is also referenced by another symbol in a second source code module of the source code program compiled by a second compiler outside the

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (39)

PatentTitleYearCitations
US 5,175,856 AComputer with integrated hierarchical representation (ihr) of program wherein ihr file is available for debugging and optimizing during target execution1992252
US 5,293,629 AMethod of analyzing computer source code1994108
US 5,581,762 ACompiling apparatus having a function to analyze overlaps of memory addresses of two or more data expressions and a compiling method199637
US 5,583,988 AMethod and apparatus for providing runtime checking features in a compiled programming development environment1996134
US 5,768,596 ASystem and method to efficiently represent aliases and indirect memory operations in static single assignment form during compilation199870
US 5,778,212 AInterprocedural analysis user interface199855
US 6,014,518 ATerminating polymorphic type inference program analysis200061
US 6,041,179 AObject oriented dispatch optimization200088
US 6,072,950 APointer analysis by type inference combined with a non-pointer analysis200032
US 6,131,189 ASystem and method to efficiently represent aliases and indirect memory operations in static single assignment form during compilation200018
US 6,202,202 B1Pointer analysis by type inference for programs with structured memory objects and potentially inconsistent memory object accesses200143
US 6,230,314 B1Method and device for program transformation using class hierarchy transformation based upon type constraint analysis200147
US 2002129343 A1Estimation of object lifetime using static analysis—56
US 6,487,713 B1Software development system that presents a logical view of project components, facilitates their selection, and signals missing links prior to compilation2002343
US 2003126590 A1System and method for dynamic data-type checking—105
US 2003167462 A1Method and system for bidirectional bitwise constant propogation by abstract interpretation—9
US 6,665,865 B1Equivalence class based synchronization optimization200354
US 2004010782 A1Statically speculative compilation and execution—37
US 2004015902 A1Method and apparatus for detecting violations of type rules in a computer program—15
US 6,718,542 B1Disambiguating memory references based upon user-specified programming constraints200417
US 2004205740 A1Method for collection of memory reference information and memory disambiguation—90
US 6,880,154 B2Alias-free test for dynamic array structures200519
US 2005183072 A1Software self-defense systems and methods—291
US 2005204348 A1Software self-defense systems and methods—103

Non-Patent Literature (5)

  • Amer Diwan et al. , "Using Types to Analyse and Optimize Object-Oriented Programs", ACM , 2001 , pp. 1-42.
  • Amer Diwan et al. , “Using Types to Analyse and Optimize Object-Oriented Programs”, ACM , 2001 , <http://scholarworks.umass.edu/cgi/viewcontent.cgi?article=1008&context=cs—faculty—pubs> pp. 1-42.
  • Avots et al., "Improving Software Security with a C Pointer Analysis," Proceedings of the 27th International Conference on Software Engineering (ICSE '05), May 2005, pp. 332-341.
  • Dhurjati et al., "Enforcing Alias Analysis for Weakly Typed Languages", Computer Science Dept., University of Illinois, Nov. 2005, pp. 1-23.
  • Diwan et al., "Type-Based Alias Analysis," Proceedings of the ACM SIGPLAN Conference on Programing Language Design and Implementation, Jun. 1998, pp. 106-117.