首页>
外国专利>
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 of a mixed mode program capable of providing source level debugging information without applying a complicated algorithm. An apparatus for detecting a source code error position of a mixed mode program according to an example may include: a compiler unit configured to compile source code into a first mode, compile a first program into a second mode, and generate a second program; A mapping table generator configured to generate a first mapping table relating to the first program and a second mapping table relating to the second program; A simulation unit which performs a simulation on each of the first program and the second program; A low level data extracting unit configured to extract first low level data of the first program during simulation of the first program and second low level data of the second program during simulation of the second program; A comparison data generator configured to generate a verification target mapping table by mapping the first low level data to the first mapping table, and generate a reference mapping table by matching the second low level data to the second mapping table; And an error position detection unit for comparing the verification target mapping table with the reference mapping table to determine whether there are records with inconsistent data, and obtaining program position information regarding the records when there are records with inconsistent data. do.
展开▼