Patent · US Active

Checking source code validity at time of code update

US11675575B2 · kind B2 · utility

2Cited by
8References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 13, 2022
Grant dateJun 13, 2023
Priority date
Expiry dateSep 13, 2042

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.