×

Automation of software verification

  • US 10,664,377 B2
  • Filed: 07/13/2017
  • Issued: 05/26/2020
  • Est. Priority Date: 07/15/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • generating, by a hardware processor, one or more application program interface (API) call pairs based on a source code of a user module, wherein each of the one or more API call pairs comprises a first API call that invokes an associated API and a second API call that invokes the same associated API;

    generating, by the hardware processor, one or more fragments based on the one or more API call pairs, wherein each of the one or more fragments represents an execution sequence that includes at least one of the one or more API call pairs, the fragments are generated further based on at least one of a prefix set or a suffix set, the prefix set includes at least one prefix in the user module, and the suffix set includes at least one suffix in the user module, and wherein the prefix set comprises an allowed prefix set and a required prefix set, and the suffix set comprises an allowed suffix set and a required suffix set, and wherein the allowed prefix set is obtained based on a union of first API calls of the one or more fragments, the allowed suffix set is obtained based on a union of last API calls of the one or more fragments, the required prefix set is obtained based on an intersection of the first API calls of the one or more fragments, and the required suffix set is obtained based on an intersection of the last API calls of the one or more fragments; and

    determining, by the hardware processor, whether an assertion is violated by the one or more fragments.

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