Software code protection method and device based on LLVM framework and storage medium

Through the LLVM framework, the code virtualization, conversion and obfuscation of applications of mobile terminal devices has been solved, and the security risks of applications are easily analyzed in reverse, which improves the difficulty of code cracking, and enhances the security of mobile terminals.

CN119004412APending Publication Date: 2024-11-22BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310567512.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Applications in mobile terminal devices are easily reversely analyzed, resulting in serious security risks. Attackers can understand the running logic of program functions and attack.

Method used

Using the software code protection method based on the LLVM framework, convert the source code of the software to be protected into intermediate code, convert the memory release mark as a compatible function, and extract the intermediate data instructions from the intermediate code to create the interpreter function code, and insert it into the source code. Obfuscate the calling code, and increase the complexity of the code through code virtualization to increase the difficulty of cracking.

Benefits of technology

The LLVM framework's code virtualization obfuscation of protection software is used to increase the complexity of the code language, improve the difficulty of code cracking, realize software code protection, and enhance the security of mobile terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004412A_ABST
    Figure CN119004412A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a software code protection method and device based on an LLVM framework, and a storage medium, the method comprises the following steps: converting a source code of to-be-protected software into an intermediate code based on the LLVM framework, converting a memory release mark in the intermediate code into a compatible function, extracting an intermediate data instruction from the converted intermediate code, creating an interpreter function code based on the intermediate data instruction, and inserting the interpreter function code into the source code of the to-be-protected software to generate an obfuscation calling code of the to-be-protected software; due to the fact that code obfuscation is carried out on the source codes of the software to be protected through code virtualization of the LLVM framework, the complexity of code languages can be increased, the code cracking difficulty is improved, and software code protection can be achieved.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Cited By

  • Method and device for protecting against influence on a program with provision for preventing read-out of instructions

    EP4826580A1

  • Method and device for protecting against influences of a program with measures for preventing instructions from being read

    WO2026219774A1