Patent · US Expired

System for automatically generating tests to ensure binary compatibility between software components produced by a source-to-source computer language translator

US6425118B1 · kind B1 · utility

43Cited by
14References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJul 17, 1998
Grant dateJul 23, 2002
Priority date
Expiry dateJul 17, 2018

Classification

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

Abstract

A system and method that implement a strategy for automatically generating self-checking tests of source-to-source translation. The tests make certain that software components produced by a source-to-source computer language translator continue to be binary-compatible with all other software components with which they previously interacted correctly, including components that remain in the original programming language. To that end, the correctness of procedure interfaces in a target computer program is also verified. With this strategy, correct translation of text preprocessor mechanisms such as macros, conditionally compiled regions of code, and source file inclusion can be achieved. The target program is the result of translating a source program written in a different language from the target program. The system creates a set of procedure calls to each procedure in the source program. The system also creates a set of callable procedures with the same interface specification as in the source program. However, the callable procedures created by the system to serve to perform tests on variables and other data that is passed to each procedures' interface specification. The system-g…

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