×

Techniques for automatically identifying input files used to generate output files in a software build process

  • US 9,442,717 B2
  • Filed: 07/15/2014
  • Issued: 09/13/2016
  • Est. Priority Date: 07/15/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • executing, by a computer system, one or more build commands for generating output files for a software product, the software product being associated with a build tree comprising input files;

    concurrently with the executing of the one or more build commands;

    intercepting, by the computer system, operating system calls invoked by the one or more build commands; and

    for each intercepted operating system call;

    determining whether the intercepted operating system call is relevant to process creation, file access, or file creation; and

    if the intercepted operating system call is relevant to process creation, file access, or file creation, collecting, by the computer system, information pertaining to the intercepted operating system call, wherein collecting information pertaining to the intercepted operating system call comprises;

    logging information regarding one or more input files that are accessed or one or more output files that are created by the one or more build commands using the intercepted operating system call; and

    creating, by the computer system, a dependency graph based on the collected information, the dependency graph identifying a subset of input files in the build tree that are actually used by the one or more build commands to generate the output files.

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