Patent · US Active

Checking source code validity at time of code update

US11481200B1 · kind B1 · utility

2Cited by
6References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 11, 2021
Grant dateOct 25, 2022
Priority date
Expiry dateOct 11, 2041

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/51
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A computer-implemented method includes receiving, by a processor, an updated version of a computer program that includes several source code changes. A compiler preprocesses the source code changes for a target computing platform. The preprocessing includes identifying a compile time condition associated with one or more computer instructions enclosed by a macro, determining a current value of the compile time condition at the time of compiling, and determining corresponding object code based on the current value. Further, a macro information record for the macro is generated that includes the compile time condition, the current value, and an identification of the computer instructions. Further, a linker preprocesses the source code changes. This preprocessing includes determining that the object code is not included in an executable file, and updating the macro information record to indicate that the macro is not included in the executable file.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.