Patents
US 10,169,016 B2#34058391 Most CitedActiveUnited States (USPTO)Utility

Executing optimized local entry points

3Forward Citations (#34058391 Global)
0.4/yrCitation Velocity (#19135164 Global)
0.96Citation PageRank (#44683260 Global)
30Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Embodiments relate to using a local entry point with an indirect call function. More specifically, an indirect call function configuration comprises a first application module having a target function of the indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate an indirect function call. A compiler is provided to determine and indicate in the program code that the function pointer value resulting from a non-call reference of a function symbol is solely used to perform indirect calls in the same module, e.g. local-use-only. A linker or loader can read the indication the compiler made in the program code. The linker or loader use the local entry point associated with the target function if the target function is defined in the same module as the reference and is local-use-only.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer system comprising: a memory; a processor, communicatively coupled to the memory; an indirect function call configuration, the configuration to define a first application module with a target function of an indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate the indirect function call; and the processor executing program code from an application module loaded into memory, the loaded application selected from the group consisting of: the first application module,

Technical Overview & Description

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

References Cited — Backward Prior Art (30)

PatentTitleYearCitations
US 5,097,533 ASystem and method for interfacing computer application programs written in different languages to a software system1992160
US 5,303,392 AAccessing current symbol definitions in a dynamically configurable operating system199440
US 5,778,231 ACompiler system and method for resolving symbolic references to externally located program files199899
US 5,966,539 ALink time optimization with translation to intermediate program and following optimization techniques including program analysis code motion live variable set generation order analysis, dead code elimination and load invariant analysis1999133
US 6,173,444 B1Optimizing compilation of pointer variables in the presence of indirect function calls200193
US 2001047512 A1Method and system for linking multiple processors having shared memory—42
US 2002029357 A1Method and system of memory management using stack walking—122
US 6,427,234 B1System and method for performing selective dynamic compilation using run-time information2002384
US 2005289543 A1Method and apparatus for efficiently resolving symbolic references in a virtual machine—22
US 2008092151 A1Method and apparatus for handling dynamically linked function calls with respect to program code conversion—26
US 7,472,380 B1Processing system with component architecture platform support200826
CN 100,517,249 CMethod for capturing function for resulting in memory rewriting by wild pointer200920
US 2010192026 A1Implementations of program runtime checks—39
US 2011010690 A1System and Method of Automatically Transforming Serial Streaming Programs Into Parallel Streaming Programs—54
CN 102,012,991 AStatic analysis-based checking method of safety rules of C language—38
US 8,448,022 B1Fault recovery to a call stack position stored in thread local storage201330
US 8,468,552 B2Handling dynamically linked function calls with respect to program code conversion201322
US 8,583,939 B2Method and apparatus for securing indirect function calls by using program counter encoding201325
US 8,627,291 B2Identification of localizable function calls201422
US 9,021,511 B1Runtime management of TOC pointer save and restore commands201537
US 9,063,759 B2Optimizing subroutine calls based on architecture level of called subroutine201522
US 2015294113 A1Method and system for performing a memory safety check of a program written in an unmanaged programming language—47
US 2015309810 A1Global entry point and local entry point for callee function—21
US 2015309812 A1Global entry point and local entry point for callee function—29
US 9,218,168 B1Suppression of table of contents save actions201523
US 9,250,881 B1Selection of an entry point of a function having multiple entry points201633
US 2016092674 A1Aslr map obfuscation—49

Non-Patent Literature (5)

  • Bartlett; Assembly Language for Power Architecture, Part 4: Function Calls and the PowerPC 64-Bit ABI, Feb. 28, 2007, http://www.ibm.com/developerworks/library/l-powasm4/.
  • Debray et al., "Compiler Techniques for Code Compaction," Transactions on Programming Languages and Systems, vol. 22, No. 2, Mar. 2000, pp. 378-415.
  • Ho et al., Optimizing the Performance of Dynamically-Linked Programs, Silicon Graphics, Inc., USENIX, 1995.
  • Jose et al., Cause Clue Clauses: Error Localization using Maximum Satisfiability, University of California, Los Angeles, 2011, pp. 1-10.
  • Lin et al., Improve the Performance of Function Calls with Open Power ABI, Anatomy of Function Calls with OpenPower ABI Supplement, Jul. 10, 2015, ibm.com/developerWorks/.