首页> 外国专利> 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.
机译:公开了一种用于检测混合模式程序的源代码错误位置的设备和方法,该设备和方法能够在不应用复杂算法的情况下提供源级调试信息。根据一个示例的用于检测混合模式程序的源代码错误位置的设备可以包括:编译器单元,被配置为将源代码编译为第一模式,将第一程序编译为第二模式,并生成第二程序;以及映射表生成器,用于生成与所述第一程序有关的第一映射表和与所述第二程序有关的第二映射表;模拟单元,其对第一程序和第二程序中的每一个执行模拟;低电平数据提取单元,用于在第一程序的仿真过程中提取第一程序的第一低电平数据,在第二程序的仿真过程中提取第二程序的第二低电平数据;比较数据生成器,用于通过将第一低级数据映射到第一映射表来生成验证目标映射表,并通过将第二低级数据与第二映射表进行匹配来生成参考映射表;错误位置检测单元用于将验证目标映射表与参考映射表进行比较,以确定是否存在数据不一致的记录,并在存在数据不一致的记录时获取与该记录有关的程序位置信息。做。

著录项

  • 公开/公告号KR102013582B1

    专利类型

  • 公开/公告日2019-08-23

    原文格式PDF

  • 申请/专利权人 삼성전자 주식회사;

    申请/专利号KR20120099609

  • 发明设计人 심희준;안민욱;정진세;한연조;

    申请日2012-09-07

  • 分类号G06F11/36;G06F11/28;

  • 国家 KR

  • 入库时间 2022-08-21 11:47:55

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号