Source code hardening method and device based on finite state machine and symbolic execution

A finite state machine and symbolic execution technology, applied in the computer field, can solve the problem of low application program security, achieve the effect of improving the anti-reverse analysis ability and anti-reverse cracking ability

Active Publication Date: 2021-10-29
BEIJING BANGCLE TECH CO LTD
View PDF19 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a source code hardening device based on finite state machine and symbolic execution, which is used to solve the problem of low security of application programs in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Source code hardening method and device based on finite state machine and symbolic execution
  • Source code hardening method and device based on finite state machine and symbolic execution
  • Source code hardening method and device based on finite state machine and symbolic execution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0031] In order to improve the anti-reverse analysis capability of the source code, the embodiment of the present application provides a source code reinforcement method based on finite state machine and symbolic execution. , PC), server, etc. can be configured to execute at least one of the methods provided in the embodiments of the present applicati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

This application discloses a source code reinforcement method and device based on finite state machine and symbolic execution. The method includes: based on the jump logic of the original source code of the application program when compiling or running, converting the original source code according to the jump logic code The location is split into multiple code blocks, and different states are set for each code block; based on the state of the code block and the jump logic in the code block, the code block jump state machine is determined, and the code block jump state machine is used to represent The jump relationship between each state corresponding to each code block; the jump logic in the code block is realized through the code block jump state machine, and the first source code after reinforcement is obtained; the target to be protected in the first source code is determined variable; insert at least one intermediate variable in the first source code, and the intermediate variable is used to access the target variable; replace part of the target variable in the first source code with any intermediate variable to obtain the reinforced second source code. It can improve the anti-reverse analysis ability of the source code.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a source code hardening method and device based on finite state machines and symbolic execution. Background technique [0002] With the rapid development of technologies such as the mobile Internet, the Internet of Things, and the Internet of Vehicles, various applications have greatly facilitated people's lives. What follows is that various applications are easily cracked and tampered with, and thus face the risk of important information leakage. [0003] At present, attackers often use static analysis tools such as symbolic execution models to reverse-analyze and crack the source code of the application to obtain the execution logic of the application, thereby illegally stealing and illegally tampering with important information generated during the running of the application. [0004] In view of the above risks, existing technologies often obfuscate the source cod...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/14
CPCG06F21/14
Inventor 阚志刚陈彪王文洋李世杰尉爽生卢佐华
Owner BEIJING BANGCLE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products