首页>
外国专利>
APPARATUS AND METHOD FOR DETECTING ERROR AND DETERMINING CORRESPONDING POSITION IN SOURCE CODE OF MIXED MODE APPLICATION PROGRAM SOURCE CODE THEREOF
APPARATUS AND METHOD FOR DETECTING ERROR AND DETERMINING CORRESPONDING POSITION IN SOURCE CODE OF MIXED MODE APPLICATION PROGRAM SOURCE CODE THEREOF
展开▼
机译:混合模式应用程序源代码的源代码中的错误检测和确定对应位置的装置和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed are an apparatus and method for detecting a source code error location in a mixed-mode program, capable of providing source level debugging information without applying complex algorithm. An apparatus for detecting a source code error location in a mixed-mode program according to an embodiment comprises: a compiler unit which generates a first program by compiling a source code in a first mode, and generates a second program by compiling the source code in a second mode; a mapping table generation unit which generates a first mapping table for the first program, and a second mapping table for the second program; a simulation unit which simulates the first program and simulates the second program; a low-level data extraction unit which extracts first low-level data on the first program during the simulation of the first program, and extracts second low-level data on the second program during the simulation of the second program; a comparison data generation unit which maps the first low-level data onto the first mapping table to generate a verification target mapping table, and maps the second low-level data onto the second mapping table to generate a reference mapping table; and an error location detection unit which compares the verification target mapping table with the reference mapping table to determine whether there is an inconsistent record of data, and if so, obtains program location information relating to the record. [Reference numerals] (AA) Start; (BB) End; (S100) Compile step; (S110) Simulation and low level data extraction step; (S120) Comparison data generation step; (S130) Error location detection step
展开▼