Code protection method based on intermediate language

The invention provides a code protection method based on an intermediate language. The code protection method comprises the following steps: compiling a source code of a function to be protected into a first intermediate language; translating the first intermediate language into a virtualized instru...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SHU JUNLIANG, XIAO XUANGAN, LI JUANRU, ZHANG YUANYUAN, YANG WENBO, ZHOU WENJUN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a code protection method based on an intermediate language. The code protection method comprises the following steps: compiling a source code of a function to be protected into a first intermediate language; translating the first intermediate language into a virtualized instruction code; modifying a calling mode of the to-be-protected function into a mode of executing the virtualized instruction code by adopting an interpreter; compiling an interpreter function of the interpreter, and compiling the interpreter function into a second intermediate language; merging the virtualization instruction code and the second intermediate language to obtain a third intermediate language; and confusing the third intermediate language. According to the code virtualization scheme based on the intermediate language, software codes are protected through the powerful strength of code virtualization, and the reverse engineering workload of attackers is greatly increased; compared with the existing mode tha