Method and system of detecting invalid function calls between segments in generating a computer program
AssigneeAmerican Megatrends, Inc.
InventorAnand Joshi
Life of this patent
Estimating the term…
Loading patent…
AssigneeAmerican Megatrends, Inc.
InventorAnand Joshi
Estimating the term…
A method and system are provided for detecting invalid function calls between segments during the generation of a computer program. A source file and a fixup source file are created for a program file. The source file defines segments in the program file. The fixup source file defines the segments defined in the source file to be a predetermined size. Next, the program file, the source file, and the fixup source file are assembled to create a program object, a source object, and a fixup object. A source library and a fixup library are created from the source object and the fixup object. The program object is linked with the fixup library to generate a dummy output file. During the generation of the dummy output file, a determination is made as to whether an invalid function call is made between the plurality of segments defined in the fixup library. If it is determined that an invalid function call is made between the segments defined in the fixup library, then an error is reported in the dummy output file. If it is determined that no invalid function calls are made between the segments in the dummy output file, then the dummy output file is ignored and the source library is linked with the program file to generate an actual output file.
A method of detecting invalid function calls in a program file, the program file including code for making function calls to a plurality of functions defined in the program file, the method comprising:
A system for detecting invalid function calls in a program file, the program file including code for making function calls to a plurality of functions defined in the program file, the system comprising:
Dependencies are inferred from the claim text.