Java code confusion and recovery methods and apparatuses

A recovery method and java-like technology, applied in the field of computer security, can solve problems such as running errors

Inactive Publication Date: 2018-06-15
上海五行嘉信息技术有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the Java program uses these third-party frameworks and class libraries

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
  • Java code confusion and recovery methods and apparatuses
  • Java code confusion and recovery methods and apparatuses
  • Java code confusion and recovery methods and apparatuses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0034] According to an embodiment of the present invention, a Java code obfuscation method, recovery method and device thereof are provided.

[0035] Such as figure 1 As shown, the obfuscation method of the Java class file according to the embodiment of the present invention includes: step S101, defining the obfuscation rule, and storing the obfuscation rule in the obfuscation rule file, wherein the obfuscation rule defines which Java class files need to be obfuscated; step S103, obfuscate t...

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 Java code confusion and recovery methods and apparatuses. The Java code confusion method comprises the steps of defining a confusion rule, and storing the confusion rule in a confusion rule file; according to the confusion rule, confusing Java class files to obtain confused Java class files; and packaging the confused Java class files and the confusion rule file into a JARfile. By defining the confusion rule, which Java class files need to be confused is flexibly configured; in addition, the confused Java class files realize detail confusion, so that the confused Javaclass files are prevented from being decompiled; and the confused Java class files still meet Java class file format standards, so that the confused Java class files can participate in compilation anderrors during operation of other third-party frameworks and class libraries which a Java program depends on are not caused.

Description

technical field [0001] The invention relates to the field of computer security, in particular to a Java code obfuscation method, recovery method and device thereof. Background technique [0002] As the core assets of technology companies, source code should be strictly protected to prevent others from stealing it. Although most companies have a series of security measures to prevent source code leakage, Java programs have the risk of source code leakage due to their own characteristics. The Java compiler compiles the source code to generate a bytecode that the Java virtual machine can execute, and stores the bytecode in a Java class file in a specific file format and content layout. The Java decompilation tool can read the content of the Java class file, thereby decompiling the source code of the Java program. [0003] For technology companies that do system output or operate public cloud services, the Java program is deployed in the customer's computer environment, or a t...

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): G06F8/41G06F8/30G06F21/14
CPCG06F8/315G06F8/434G06F21/14
Inventor 高文涛蒋纪匀
Owner 上海五行嘉信息技术有限公司
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