Source code reinforcement method and device based on code execution sequence

A code execution, source code technology, applied in computer security devices, program/content distribution protection, instruments, etc., can solve the problem of source code anti-reverse analysis ability needs to be improved, and achieve the effect of improving the anti-reverse analysis ability

Active Publication Date: 2021-11-12
BEIJING BANGCLE TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, existing source code reinforcement methods such as control flow flattening still have the risk of being cracked, and the ability to prevent reverse analysis of source code needs to be improved

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 reinforcement method and device based on code execution sequence
  • Source code reinforcement method and device based on code execution sequence
  • Source code reinforcement method and device based on code execution sequence

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0024] 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 and device based on the code execution sequence, which will be described respectively below.

[0025] It should be noted that the execution subject implementing the source code harden...

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 present application discloses a source code reinforcement method and device based on the code execution sequence, which can split the original source code into multiple code blocks based on the jump logic of the original source code of the application program when compiling or running; For the jump logic of the source code when compiling or running, a jump table representing the execution order of the code blocks is established, and the corresponding relationship between the code block mark and the address of the code block is stored in the jump table; wherein, the address is When compiling or running the source code, the address of the code block in the memory, the code block mark is used to access the address of the corresponding code block; the jump logic between the code blocks of the original source code is passed through the jump table Code blocks in markup implementations to generate hardened source code. Since the jump logic between the code blocks of the original source code is realized through the code block markers in the jump table, the execution sequence of the original source code can be hidden, thereby improving the anti-reverse analysis capability of the source code.

Description

technical field [0001] The present application relates to the technical field of software security, in particular to a source code reinforcement method and device based on code execution sequence. Background technique [0002] Nowadays, with the rapid development of technologies such as the mobile Internet, the Internet of Things, and the Internet of Vehicles, the number of terminals is increasing, and more and more applications are installed in the terminals, which brings great convenience to people's work and life . Some important information will be generated during the running of the application, which arouses the great interest of the attackers, which makes the important information have the risk of being leaked. [0003] At present, attackers often use static analysis tools such as disassembly and decompilation to reverse-analyze and crack the source code of the application to obtain the execution logic of the application, thereby illegally stealing and illegally tamp...

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/12G06F21/14G06F21/56
CPCG06F21/125G06F21/14G06F21/563G06F2221/2107
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