Assembly Function Recognition in Embedded Systems as an Optimization Problem

Author:

Avitan Matan1,Ravve Elena V.2,Volkovich Zeev2

Affiliation:

1. Rafael, Advanced Defense Systems Ltd., Haifa 3102102, Israel

2. Department of Software Engineering, Braude College of Engineering, Karmiel 21982, Israel

Abstract

Many different aspects of software system development and verification rely on precise function identification in binary code. Recognition of the source Assembly functions in embedded systems is one of the fundamental challenges in binary program analysis. While numerous approaches assume that the functions are given a priori, correct identification of the functions in binaries remains a great issue. This contribution addresses the problem of uncertainty in binary code in identification of functions, which were optimized during compilation. This paper investigates the difference between debug and optimized functions via modeling of these functions. To do so, we introduce an extensible model-centred hands-on approach for examining similarities between binary functions. The main idea is to model each function using a set of predetermined, experimentally discovered features, and then find a suitable weight vector that could give impact factor to each such a feature. After finding the weight vector, the introduced models of such desired functions can be identified in binary software packages. It means that we reduce the similarity identification problem of the models to a classical version of optimization problems with one optimization criterion. Using our implementation, we found that the proposed approach works smoothly for functions, which contain at least ten Assembly instructions. Our tool guarantees success at a very high level.

Publisher

MDPI AG

Reference50 articles.

1. Development nature matters: An empirical study of code clones in JavaScript applications;Cheung;Empir. Softw. Eng.,2015

2. Why reinventing the wheels? An empirical study on library reuse and re-implementation;Xu;Empir. Softw. Eng.,2020

3. Deep code comment generation with hybrid lexical and syntactical information;Hu;Empir. Softw. Eng.,2020

4. Models and Modelling in Computer Science;Raschke;Logic, Computation and Rigorous Methods-Essays Dedicated to Egon Börger on the Occasion of His 75th Birthday,2021

5. Models: The fourth dimension of computer science;Thalheim;Softw. Syst. Model.,2022

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3