ARM Cortex-M0+机器码文件分析方法  被引量:3

Analysis method of ARM cortex-M0+ machine code file

在线阅读下载全文

作  者:蔡伯峰[1,2] 蒋建武[1] 王宜怀[1] CAI Bofeng;JIANG Jianwu;WANG Yihuai(School of Computer Science and Technology,Soochow University,Suzhou 215006,China;College of Information and Technology,Taizhou Vocational and Technical College,Taizhou 225300,China)

机构地区:[1]苏州大学计算机科学与技术学院,江苏苏州215006 [2]泰州职业技术学院信息技术学院,江苏泰州225300

出  处:《现代电子技术》2017年第14期44-48,51,共6页Modern Electronics Technique

基  金:国家自然科学基金资助项目(61070169);江苏省高等职业院校国内高级访问学者计划资助项目(2015FX078)

摘  要:MCU深层次应用开发需要开发人员深入了解机器码在MCU中的存储和执行机制,但机器码自身可读性差、相互关系不清晰等特点决定了对其阅读、查找、分析难度较大。针对这一情况,以采用ARM Cortex-M0+内核的KL25 MCU为蓝本,根据工程编译链接过程和链接脚本文件(.ld),分析机器码文件的生成机制和组织结构。在此基础上针对机器码文件中的中断向量表、初始化代码、函数、常变量、FLASH配置域等主要内容,结合机器码系列文件,给出了简明快捷实用的分析方法,为嵌入式开发人员优化及动态更新程序和数据、设计机器码下载软件等提供支撑,对其他内核机器码文件的分析有借鉴意义。MCU deep-level application development requires its developers to understand storage and enforcement mechanisms of machine codes in MCU,but the machine code itself has poor readability and unclear structure,thus it is difficult to bedirectly read,searched and analyzed.In response to this situation,using the ARM Cortex-M0+KL25MCU as a model,and according to engineering compiling linking process and linker script files(.ld)of MCU application project,the generative mechanism and structure of machine code file are analyzed.On this basis,a concise,efficient and practical analysis method is givenin allusion to the interrupt vector table,initialization code,functions,constants,variables and Flash configuration domain.Thisis helpful for the embedded developers to update dynamically and optimize programs and data,design machine code downloadsoftware,and analyze machine code files of other kernels.

关 键 词:ARM Cortex-M0+ 机器码文件 KL25 链接脚本 

分 类 号:TN918.2-34[电子电信—通信与信息系统] TP311[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象