首页> 外国专利> String logging in an embedded system

String logging in an embedded system

机译:嵌入式系统中的字符串记录

摘要

Methods for logging strings during execution of a program running on an embedded system without storing the strings in the memory of the embedded system include, during the build process, receiving source code for a program that comprises one or more log statements that identifies a string to be logged; generating object code based on the source code that comprises a special log section that includes the identified strings, and, for each log statement one or more instructions that cause a reference to the corresponding string to be stored in memory of the embedded system; generating execution code based on the object code wherein the special log section is marked as non-loadable and each reference is a location of the corresponding string in the special log section; and, loading the generated executable code into the memory of the embedded system such that the identified strings are not loaded into the memory of the embedded system.
机译:在嵌入式系统上运行的程序的执行过程中用于记录字符串而不将字符串存储在嵌入式系统的内存中的方法包括:在构建过程中,接收程序的源代码,该程序包括一个或多个标识字符串的日志语句。被记录基于源代码生成目标代码,该源代码包括特殊日志部分,该特殊日志部分包括所标识的字符串,并且对于每个日志语句,一个或多个指令将导致对相应字符串的引用存储在嵌入式系统的内存中;根据目标代码生成执行代码,其中,特殊日志段被标记为不可加载,并且每个引用是对应字符串在特殊日志段中的位置;将生成的可执行代码加载到嵌入式系统的存储器中,以使所标识的字符串不加载到嵌入式系统的存储器中。

著录项

  • 公开/公告号GB2552974B

    专利类型

  • 公开/公告日2020-11-04

    原文格式PDF

  • 申请/专利权人 IMAGINATION TECHNOLOGIES LIMITED;

    申请/专利号GB20160014035

  • 发明设计人 CHRISTOPHER PHILIP SMITH;

    申请日2016-08-16

  • 分类号G06F11/36;G06F8/40;

  • 国家 GB

  • 入库时间 2022-08-21 10:59:48

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号