发明名称 Method and system of detecting invalid function calls between segments in generating a computer program
摘要 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.
申请公布号 US7398513(B2) 申请公布日期 2008.07.08
申请号 US20030431962 申请日期 2003.05.08
申请人 AMERICAN MEGATRENDS, INC. 发明人 JOSHI ANAND
分类号 G06F9/44;H04B1/74 主分类号 G06F9/44
代理机构 代理人
主权项
地址