×

Custom API modeling for source code static analysis simulator

  • US 7,549,144 B2
  • Filed: 02/22/2005
  • Issued: 06/16/2009
  • Est. Priority Date: 02/22/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for analyzing invocation of an external function for which function source code implementation is not available, comprising the steps of:

  • (a) identifying at least one potential error resulting from improper invocation of the external function by source code calling the external function;

    (b) identifying at least one condition upon invocation of the external function that will result in the potential error;

    (c) creating a model of the external function for which source code is not available to test for the at least one condition that results in the potential error;

    (d) associating the model with a source code analyzer such that when the source code which calls the external function is analyzed by the source code analyzer, the model is applied to evaluate invocation of the external function;

    (e) generating an error message upon finding the at least one condition upon invocation of the external function;

    wherein the model is created using a plurality of primitives usable to test for the at least one condition that results in the potential error; and

    wherein the source code analyzer includes a model repository configured to store the model created, such that the source code analyzer can access the model upon evaluating source code and identifying a reference to the external function.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×