计算机仿真2024,Vol.41Issue(8) :276-280.

嵌入式处理器自定义指令迭代识别方法仿真

Simulation of Iterative Recognition Method for Custom Instructions in Embedded Processors

王前莉 李颖
计算机仿真2024,Vol.41Issue(8) :276-280.

嵌入式处理器自定义指令迭代识别方法仿真

Simulation of Iterative Recognition Method for Custom Instructions in Embedded Processors

王前莉 1李颖2
扫码查看

作者信息

  • 1. 宜春学院数学与计算机科学学院,江西 宜春 336000;南昌大学,江西 南昌 330031
  • 2. 宜春学院数学与计算机科学学院,江西 宜春 336000
  • 折叠

摘要

嵌入式系统中的硬件资源是有限的,并且自定义指令和原始指令之间可能存在冲突,导致指令代码识别精准度降低、运行功耗较高.为此,提出嵌入式处理器自定义指令迭代低功耗识别方法.对嵌入式处理器的指令代码展开可视化处理,将指令图像输入卷积神经网络中,检测指令代码中存在的恶意代码,采用开源编译器将代码转变为控制数据流图,枚举并选择子图,通过代码转换完成嵌入式处理器自定义指令识别.仿真结果表明,所提方法的恶意代码检测精度高、代码识别准确率高,始终保持在 70%以上,平均能耗仅为89J.

Abstract

The hardware resources in embedded systems are limited,and there may be conflicts between custom instructions and original instructions,resulting in reduced accuracy of instruction code recognition and higher running power consumption.To address this problem,this paper put forward a low-power iterative recognition method for cus-tom instructions in embedded processors.Firstly,the instruction codes of the embedded processor were visualized,and then the instruction images were input into a convolutional neural network for detecting malicious codes in the instruc-tion.After that,an open-source compiler was used to transform the code into a control data flow graph.Meanwhile,subgraphs were enumerated and selected.Finally,the recognition for custom instruction of the embedded processor was completed through code transformation.Simulation results show that the proposed method has advantages such as high detection accuracy and high recognition accuracy for malicious codes,and the accuracy rate is consistently above 70% .The average energy consumption is only 89J.

关键词

嵌入式处理器/恶意代码检测/自定义指令/控制数据流图/指令识别

Key words

Embedded processor/Malicious code detection/Custom instructions/Control data flow graph/In-struction recognition

引用本文复制引用

出版年

2024
计算机仿真
中国航天科工集团公司第十七研究所

计算机仿真

CSTPCD
影响因子:0.518
ISSN:1006-9348
段落导航相关论文