Method for preventing source code from decompiling

A source code and decompilation technology, applied in the fields of instruments, program/content distribution protection, electrical digital data processing, etc., can solve the problems of inability to protect software program source code, no static analysis technology, etc., and achieve good decompilation and protection. safety effect

Inactive Publication Date: 2010-08-18
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the current general-purpose computer system, there is no preventive technology for static analysis technology; Crackers can easily decompile and analyze, resulting in the inability of existing software protection measures to effectively protect the source code of software programs

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
  • Method for preventing source code from decompiling
  • Method for preventing source code from decompiling
  • Method for preventing source code from decompiling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Referring to the accompanying drawings, a specific example is used to describe the process of realizing this architecture for the method of the present invention.

[0022] As described in the summary of the invention, the system architecture includes: a code reading submodule, a code parsing submodule, a virtual obfuscation submodule, a data access submodule, and an obfuscation code generation module;

[0023] in the attached figure 1 In, it describes the process of decompiling and protecting a source code after passing through this method. The software program reads the source code in the program and obfuscates the code. Perform obfuscation, otherwise code obfuscation will not be performed. After the obfuscation is completed, end the obfuscation and organize the obfuscated functions and attributes into a new source code file.

[0024] So far, the entire process of preventing decompilation based on source code obfuscation has been fully implemented. The difference betw...

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 provides a method for preventing source code from decompiling, which is characterized in that a computer system is provided with a module capable of preventing the source code from decompiling and comprises a code reading submodule, a code analysis submodule, a virtual mingling submodule, a data access submodule and a mingling code generating module, wherein the code reading submodule reads all codes in a file set into a one-dimensional character string digit group; and all codes are analyzed to obtain information of namespace and class. The code analysis submodule performs the following processes on the codes in the file: removing null string, a front and rear blank space and a Tab symbol, carrying out carriage return and line feed, removing debugging information, removing notes and combining inter-line sentences; and ensuring that the code is easy to process by the virtual mingling submodule by the pretreatment that the code reads submodule. The virtual mingling submodule collects data assembly name, attribute and method, which are used as independent mingling units; the mingled assembly name, attribute and method composite class; and the class is combined into the namespace, and the namespace is combined into the composite file.

Description

technical field [0001] The invention relates to computer software source code protection technology, in particular to a method for preventing source code from being decompiled, through which the difficulty of software being decompiled is effectively protected. Background technique [0002] With the rapid development of economy and technology, software has penetrated into all walks of life as an auxiliary tool. Software programs are the crystallization of the wisdom of designers and software programmers, and the embodiment of the company's intellectual property rights. It is also part of the core competitiveness of enterprises. Therefore, it is of great practical significance to protect the copyright of software programs and prevent software programs from being pirated or illegally authorized to be used. [0003] Traditional software program protection measures include: serial number protection, use time limit, software packing, etc.; the specific implementation is: setting...

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 Applications(China)
IPC IPC(8): G06F21/24G06F21/12
Inventor 刘正伟
Owner LANGCHAO ELECTRONIC INFORMATION IND 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