×

Generating semantic flow graphs representing computer programs

  • US 10,628,282 B2
  • Filed: 06/28/2018
  • Issued: 04/21/2020
  • Est. Priority Date: 06/28/2018
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • generating, using a processor, a raw flow graph based on execution of a program, the raw flow graph comprises a plurality of boxes and a plurality of wires; and

    generating a semantic flow graph based on the raw flow graph and based on an ontology in a subject matter-domain associated with the program, wherein the generating the semantic flow graph includes, for each box in the raw flow graph;

    identifying a respective concrete function represented by the box in the raw flow graph, wherein the respective concrete function is a function called during the execution of the program;

    searching the ontology for the respective concrete function; and

    based at least in part on determining that the respective concrete function is found in the ontology;

    identifying a respective semantic concept corresponding to the respective concrete function according to the ontology; and

    replacing the box in the raw flow graph with one or more objects representing the respective semantic concept,wherein the semantic flow graph illustrates one or more semantic concepts of the program.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×