Diversified Compilation Method Based on LLVM

When diversifying projects composed of multiple C/C++ source files, most of the existing software diversification tools adopt the same diversification method for all functions in a single C/C++ source file, which leads to a single diversification method for each function or source file and a lack of...

詳細記述

書誌詳細
出版年:Jisuanji gongcheng
第一著者: CHEN Yingchao, WANG Junchao, PANG Jianmin, YUE Feng
フォーマット: 論文
言語:英語
出版事項: Editorial Office of Computer Engineering 2025-07-01
主題:
オンライン・アクセス:https://www.ecice06.com/fileup/1000-3428/PDF/jsjgc-51-7-275.pdf
_version_ 1848672476026896384
author CHEN Yingchao, WANG Junchao, PANG Jianmin, YUE Feng
author_facet CHEN Yingchao, WANG Junchao, PANG Jianmin, YUE Feng
author_sort CHEN Yingchao, WANG Junchao, PANG Jianmin, YUE Feng
collection DOAJ
container_title Jisuanji gongcheng
description When diversifying projects composed of multiple C/C++ source files, most of the existing software diversification tools adopt the same diversification method for all functions in a single C/C++ source file, which leads to a single diversification method for each function or source file and a lack of targeted diversification methods. To address this issue, a diversified compilation method combining grouping obfuscation and code awareness based on a Low-Level Virtual Machine (LLVM) intermediate representation is proposed. First, this study designs a preselection library of confusion techniques based on different perspectives, which includes various grouping schemes for confusion techniques. During compilation, code analysis and processing are performed on each traversed function to determine its confusion characteristics. Targeted diversification grouping strategies are selected, and diversification techniques within the group are randomly selected to avoid confusion. This achieves a significantly different diversification scheme for each function, making the generated heterogeneous execution set more diverse and providing basic software support for mimetic and mobile target defense technologies. To verify the method′s effectiveness, a standard test set and typical cases are selected to verify both security and performance. The results indicate that the proposed method can ensure security while having almost no impact on the performance, thus verifying the proposed method′s effectiveness and feasibility in practical applications.
format Article
id doaj-art-d3085fcd9a844bada4bbbbdc336c7b4f
institution Directory of Open Access Journals
issn 1000-3428
language English
publishDate 2025-07-01
publisher Editorial Office of Computer Engineering
record_format Article
spelling doaj-art-d3085fcd9a844bada4bbbbdc336c7b4f2025-10-27T05:54:30ZengEditorial Office of Computer EngineeringJisuanji gongcheng1000-34282025-07-0151727528310.19678/j.issn.1000-3428.0068314Diversified Compilation Method Based on LLVMCHEN Yingchao, WANG Junchao, PANG Jianmin, YUE Feng0School of Cyberspace Security, Information Engineering University, Zhengzhou 450001, Henan, ChinaWhen diversifying projects composed of multiple C/C++ source files, most of the existing software diversification tools adopt the same diversification method for all functions in a single C/C++ source file, which leads to a single diversification method for each function or source file and a lack of targeted diversification methods. To address this issue, a diversified compilation method combining grouping obfuscation and code awareness based on a Low-Level Virtual Machine (LLVM) intermediate representation is proposed. First, this study designs a preselection library of confusion techniques based on different perspectives, which includes various grouping schemes for confusion techniques. During compilation, code analysis and processing are performed on each traversed function to determine its confusion characteristics. Targeted diversification grouping strategies are selected, and diversification techniques within the group are randomly selected to avoid confusion. This achieves a significantly different diversification scheme for each function, making the generated heterogeneous execution set more diverse and providing basic software support for mimetic and mobile target defense technologies. To verify the method′s effectiveness, a standard test set and typical cases are selected to verify both security and performance. The results indicate that the proposed method can ensure security while having almost no impact on the performance, thus verifying the proposed method′s effectiveness and feasibility in practical applications.https://www.ecice06.com/fileup/1000-3428/PDF/jsjgc-51-7-275.pdfdiversified compilation|code obfuscation|software protection|software diversification|active defense
spellingShingle CHEN Yingchao, WANG Junchao, PANG Jianmin, YUE Feng
Diversified Compilation Method Based on LLVM
diversified compilation|code obfuscation|software protection|software diversification|active defense
title Diversified Compilation Method Based on LLVM
title_full Diversified Compilation Method Based on LLVM
title_fullStr Diversified Compilation Method Based on LLVM
title_full_unstemmed Diversified Compilation Method Based on LLVM
title_short Diversified Compilation Method Based on LLVM
title_sort diversified compilation method based on llvm
topic diversified compilation|code obfuscation|software protection|software diversification|active defense
url https://www.ecice06.com/fileup/1000-3428/PDF/jsjgc-51-7-275.pdf
work_keys_str_mv AT chenyingchaowangjunchaopangjianminyuefeng diversifiedcompilationmethodbasedonllvm