Patents
US 8,505,000 B2#60525157 Most CitedActiveUnited States (USPTO)Utility

Compilation method without explicit symbol table for saving memory

1Forward Citations (#60525157 Global)
0.1/yrCitation Velocity (#49576792 Global)
0.76Citation PageRank (#60525157 Global)
25Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

There is described a method of compiling source code for a computer program into corresponding object code. The source code includes several declared variables. The method comprises, for each declared variable in the source code, including in the object code a declaration statement indicating an associated memory location for that variable and indicating the position in the object code of the next declaration statement. During compilation, the memory location for each declared variable can be retrieved from the object code by examining each declaration statement in turn, using the position information from each declaration statement to locate the next declaration statement. This is of particular advantage where the available volatile memory is limited, because there is no requirement for a look-up table of variables against memory locations.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of compiling source code for a computer program into object code, the method comprising: for each of a plurality of declared variables in the source code, including in the object code a declaration statement indicating an associated memory location for that variable and indicating the object code location of the next declaration statement; whereby, as the source code is being compiled into object code, the memory location for each of the plurality of declared variables can be retrieved from the object code by examining each declaration statement in turn, using the object code location

  2. Claim 2Depends on #1

    The method as claimed in claim 1 , wherein the declaration statement indicates a relative location of the next declaration statement.

Technical Overview & Description

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

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (25)

PatentTitleYearCitations
US 5,193,180 ASystem for modifying relocatable object code files to monitor accesses to dynamically allocated memory1993249
US 5,615,369 AAutomated detection and correction of uninitialized variables199736
US 5,694,539 AComputer process resource modelling method and apparatus199757
US 5,857,071 AComputer process resource modelling method and apparatus199926
US 5,968,113 AComputer process resource modelling method and apparatus199923
US 6,038,397 ASystem for allocating the memory area of second data which value need not be preserved to another data of some of the processes200020
US 6,079,031 AComputer process resource modelling method and apparatus200032
US 6,106,571 ARelocatable instrumentation tags for testing and debugging a computer program200085
US 6,154,876 AAnalysis of the effect of program execution of calling components with data variable checkpointing and resource allocation analysis2000127
US 6,260,191 B1User controlled relaxation of optimization constraints related to volatile memory references20017
US 2002035676 A1Apparatus and method for allocating memory space for program use and management purposes—14
US 2003041318 A1Compiling source code—30
US 6,634,021 B2User controlled relaxation of optimization constraints related to volatile memory references20036
US 2003221186 A1Descriptive variables while debugging—57
WO 2004/017575 A2Bluetooth serial adapters—6
US 6,880,154 B2Alias-free test for dynamic array structures200519
US 2005251621 A1Method for realizing autonomous load/store by using symbolic machine code—38
US 2006243787 A1Providing diagnostic information on the processing of variables in source code—19
WO 2007/000588 A1Interface device—1
US 7,213,238 B2Compiling source code200712
US 2008086721 A1System and article of manufacture for providing diagnostic information on the processing of variables in source code—5
US 7,357,332 B2Providing diagnostic information on the processing of variables in source code20084
US 7,421,680 B2Persisted specifications of method pre-and post-conditions for static checking200827
US 7,546,576 B2Software framework for web-based applications2009116
US 7,797,690 B2System, method and program product to optimize code during run time201010

Non-Patent Literature (4)

  • Frantisek Franek: "Memory as a Programming Concept in C and C++ (chapter 2)"; 2004, Cambridge University Press, p. 7-paragraph 1, p. 14-paragraph 1, Figures 2.1, 2.3 and 2.4.
  • Fraser C W et al: "A Code Generation Interface for Ansi C" Software Practice & Experience, Wiley & Songs, Bognor Regis, GB, vol. 21, No. 9, Sep. 1, 1991 pp. 963-988, 27 pages.
  • International Search Report from PCT Application No. PCT/GB2008/002535 (published as WO 2009/013498) dated Oct. 30, 2008; 2 pgs. The instant application is a national phase of PCT/GB2008/002535 (WO 2009/013498).
  • Nelson P A: "A comparison of PASCAL intermediate languages" SIGPLAN Notices Use, vol. 14, No. 8, Aug. 1979, pp. 208-213, 6 pages.