Software Compilation Using FPGA Hardware: Register Allocation

Yiming Tan, Aditya Diwakar, Ja Jagielo, V. Mooney
{"title":"Software Compilation Using FPGA Hardware: Register Allocation","authors":"Yiming Tan, Aditya Diwakar, Ja Jagielo, V. Mooney","doi":"10.1109/MECO58584.2023.10155001","DOIUrl":null,"url":null,"abstract":"Malicious attackers are constantly attacking software compilers and attempting to exploit various security vulnerabili-ties. By executing carefully chosen machine instructions already present in the program, an attacker can perform harmful actions arbitrarily. In this paper, we propose hardware/software codesign techniques to perform software compilation steps in hardware, specifically the register allocation step on a Field Programmable Gate Array (FPGA). Our experiment incorporates two key features: 1) Advanced RISC Machine (ARM) instruction set architecture (ISA)-based register allocation algorithms to calculate variable liveness as well as map virtual registers to physical registers and 2) the feasibility of executing the register allocation algorithms on a Cyclone V FPGA. Our experimental results show the timing efficiency and resource efficiency - while diminishing security risks - when performing register allocation of the gcd program on the FPGA.","PeriodicalId":187825,"journal":{"name":"2023 12th Mediterranean Conference on Embedded Computing (MECO)","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 12th Mediterranean Conference on Embedded Computing (MECO)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MECO58584.2023.10155001","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Malicious attackers are constantly attacking software compilers and attempting to exploit various security vulnerabili-ties. By executing carefully chosen machine instructions already present in the program, an attacker can perform harmful actions arbitrarily. In this paper, we propose hardware/software codesign techniques to perform software compilation steps in hardware, specifically the register allocation step on a Field Programmable Gate Array (FPGA). Our experiment incorporates two key features: 1) Advanced RISC Machine (ARM) instruction set architecture (ISA)-based register allocation algorithms to calculate variable liveness as well as map virtual registers to physical registers and 2) the feasibility of executing the register allocation algorithms on a Cyclone V FPGA. Our experimental results show the timing efficiency and resource efficiency - while diminishing security risks - when performing register allocation of the gcd program on the FPGA.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于FPGA硬件的软件编译:寄存器分配
恶意攻击者不断攻击软件编译器并试图利用各种安全漏洞。通过执行程序中已经存在的精心选择的机器指令,攻击者可以任意地执行有害的操作。在本文中,我们提出了硬件/软件协同设计技术来执行硬件中的软件编译步骤,特别是在现场可编程门阵列(FPGA)上的寄存器分配步骤。我们的实验包含两个关键特征:1)基于高级RISC机器(ARM)指令集架构(ISA)的寄存器分配算法,用于计算可变活度以及将虚拟寄存器映射到物理寄存器;2)在Cyclone V FPGA上执行寄存器分配算法的可行性。我们的实验结果表明,在FPGA上执行gcd程序的寄存器分配时,时序效率和资源效率-同时降低了安全风险。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Analysis of Blockchain Platforms for Generation and Verification of Diplomas Minimizing the Total Completion Time of Jobs for a Permutation Flow-Shop System Double Buffered Angular Speed Measurement Method for Self-Calibration of Magnetoresistive Sensors Quantum Resilient Public Key Cryptography in Internet of Things Crop yield forecasting with climate data using PCA and Machine Learning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1