Patents
US 10,013,331 B2#40920731 Most CitedActiveUnited States (USPTO)Utility

Correlating queries issued by applications with their source lines and analyzing applications for problem determination and where used analysis

2Forward Citations (#40920731 Global)
0.2/yrCitation Velocity (#29054932 Global)
0.99Citation PageRank (#42299387 Global)
30Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Provided are techniques for invoking with a processor executing on a computer a source code parser to obtain source information that includes a first location of an Application Programming Interface (API) call and parameters of the API call in source code of a client application, where the parameters the API call do not include query text for a query that is to be used to access a database; examining a stack trace to determine a second location of the API call in the stack trace; and deriving the query of the API call and a third location of the query in the source code by identifying the query in the stack trace at the location of the API call in the stack trace.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: setting, with a processor executing on a computer, one or more breakpoints in source code of a client application based on locations of Application Programming Interface (API) calls in the source code; while running the client application through a debugger, upon reaching each of the one or more breakpoints, identifying one or more debugger rules associated with a query at a breakpoint; in response to determining that conditions of the one or more debugger rules are satisfied, obtaining a stack trace before the query makes a call to a database; deriving query text of the

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,226,162 AAssist program for operating a debug program in conjunction with a user program199318
US 5,442,740 AMethod and apparatus for visual display of program performance trace data199552
US 5,778,230 AGoal directed object-oriented debugging system199883
US 6,341,288 B1Database system with methodology for accessing a database from portable devices2002117
US 2002199172 A1Dynamic instrumentation event trace system and methods—269
US 2003056192 A1Source code analysis system and method—79
US 2003079159 A1Mechanism for debugging a computer process—22
US 6,587,995 B1Enhanced programmable core model with integrated graphical debugging functionality2003144
US 2003233634 A1Open debugging environment—51
US 2004078689 A1Automatically identifying a program error in a computer program—40
US 2005262041 A1Systems and methods for plain old java object (POJO) persistence—17
US 2006190923 A1Custom API modeling for source code static analysis simulator—46
US 2006248514 A1Active execution tracing—14
US 2008065593 A1Software and method for performing database operations—8
US 2008104580 A1Method, Apparatus and Computer Program for Validating Source Code—16
US 7,392,246 B2Method for implementing access control for queries to a content management system20086
US 2008178155 A1Debugging using code analysis—25
US 2008222708 A1Implementing access control for queries to a content management system—8
US 7,430,549 B2Optimized SQL code generation200835
US 2008244531 A1Method and system for generating a hierarchical tree representing stack traces—68
US 2008320247 A1Processor and interface—64
US 2009178031 A1Method and System for presenting and analyzing software source code through intermediate representation—72
US 2009222429 A1Service identification in legacy source code using structured and unstructured analyses—62
US 2009287729 A1Source code coverage testing—82
US 2009320002 A1Method and system for testing and analyzing user interfaces—85
US 2010162212 A1Debugging pipeline—39
US 2010287214 A1Static Analysis Framework for Database Applications—31
US 2010332473 A1Correlating queries issued by applications with their source lines and analyzing applications for problem determination and where used analysis—48

Non-Patent Literature (5)

  • Final Office Action 1, dated Jan. 19, 2012, for U.S. Appl. No. 12/495,669, filed Jun. 30, 2009 by S.A. Brodsky et al. Total 13 pp. [57.179 (FOA1)].
  • Goldsmith, S., R. O'Callahan, and A. Aiken, "Relational Queries Over Program Traces", Proceedings of the 20th Annual ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications, 2005 ACM, pp. 385-402.
  • IBM Corp., "Developing Applications that Use the PureQuery API", [online], [Retrieved on Jun. 23, 2009]. Retrieved from the Internet at <URL: http://publib.boulder.ibm.com/infocenter/idm/v2r1/topic/com.ibm.datatools.javatool.runtime.doc/topics/cpdqruntop.html>, 4 pp.
  • Juillerat, N., "Enforcing Code Security in Database Web Applications Using Libraries and Object Models", Proceedings of the 2007 Symposium on Library-Centric Software Design, 2007 ACM, pp. 31-41.
  • Martin, M., B. Livshits, and M.S. Lam, "Finding Application Errors and Security Flaws Using PQL: a Program Query Language", Proceedings of the 20th Annual ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications, 2005 ACM, pp. 365-383.