Supercharge Your Innovation With Domain-Expert AI Agents!

State, symbol execution and single point logic-based source code enhancement method and apparatus

A symbolic execution and source code technology, applied in the computer field, can solve problems such as low security of application programs, and achieve the effect of improving anti-reverse analysis, improving anti-reverse analysis ability, and improving anti-reverse cracking ability.

Active Publication Date: 2018-08-24
BEIJING BANGCLE TECH CO LTD
View PDF4 Cites 3 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 state, symbolic execution and single-point logic, 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
  • State, symbol execution and single point logic-based source code enhancement method and apparatus
  • State, symbol execution and single point logic-based source code enhancement method and apparatus
  • State, symbol execution and single point logic-based source code enhancement method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] 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.

[0033] In order to improve the ability to prevent reverse analysis of source code, the embodiment of this application provides a source code reinforcement method based on state, symbolic execution and single-point logic. The execution subject of this method can be, but not limited to, computer, tablet computer, personal computer ( A Personal Computer ...

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

The invention discloses a state, symbol execution and single point logic-based source code enhancement method and apparatus. The method comprises the steps of splitting an original source code into multiple code blocks based on jumping logic of the original source code of an application during compilation or running, and setting different states for the code blocks; based on the states of the codeblocks and the jumping logic in the code blocks, determining a code block jumping state machine; realizing the jumping logic in the code blocks through the code block jumping state machine to obtainan enhanced first source code; determining target variables needed to be protected in the first source code; inserting at least one intermediate variable in the first source code, wherein the intermediate variables are used for accessing the target variables; replacing part of the target variables in the first source code with any intermediate variable to obtain an enhanced second source code; andperforming fuzzy processing on conditional variables in a function of the second source code by using opaque predicates to obtain an enhanced third source code. The anti-reverse analysis capability of the source code can be improved.

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 state, symbolic execution and single-point logic. 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...

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
IPC IPC(8): G06F21/12G06F21/14
CPCG06F21/125G06F21/14
Inventor 阚志刚陈彪王文洋尉爽生李世杰卢佐华
Owner BEIJING BANGCLE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More