Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Code obfuscation method, device, device and storage medium

A technology of code obfuscation and object code, which is applied in the field of code obfuscation methods, equipment and storage media, and devices. It can solve problems such as code naming conflicts, code naming conflicts, and meaninglessness, so as to solve code naming conflicts and ensure normal calls. Effect

Active Publication Date: 2022-07-12
广州方硅信息技术有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since code obfuscation will produce many short but meaningless code names, in the case of independent code obfuscation for each library module released separately, it often occurs that the code names obfuscated in multiple library modules conflict with each other. Phenomenon, when a third-party application calls a library module, the call may fail due to code naming conflicts, which seriously affects the normal use of the library module

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
  • Code obfuscation method, device, device and storage medium
  • Code obfuscation method, device, device and storage medium
  • Code obfuscation method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0062] In the Android system, the Gradle language can be used to build an application module (English: Application Module) and multiple library modules (English: Library Module) to obtain an application program, wherein the library module can be used by other library modules or applications. The module makes calls to implement the functionality of the library module.

[0063] In the process of building an application, the application module and each library module can be compiled separately to obtain multiple bytecode files (class files). The resulting multiple bytecode files are combined into a complete bytecode package (dex file).

[0064] After the application is built, the bytecode package can be published externally, so that users c...

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 code obfuscation method, device, device and storage medium, which belong to the technical field of computers. The method includes: obtaining a set of publishing library modules to be published, the set of publishing library modules including at least one publishing library module; obtaining a dependent library module on which each publishing library module depends, and obtaining a set of dependent library modules; according to the publishing library module The dependency relationship between the set and the library modules in the dependent library module set, and code obfuscation is performed on the published library module set and the library modules in the dependent library module set together to obtain an obfuscated library module set. The technical solutions provided by the embodiments of the present application can ensure the normal use of the library module.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a code obfuscation method, apparatus, device, and storage medium. Background technique [0002] In the Android system, an application program can usually be constructed by an application module and a plurality of library modules, wherein the application module can call the library module to realize the function of the library module. In many cases, a library module for an application needs to be published separately so that third-party applications can call the separately published library module. In the case of separately releasing the library module, it is necessary to obfuscate the code of the separately released library module to prevent malicious users from decompiling the separately released library module. Among them, code obfuscation refers to a technology of converting computer program code (herein referred to simply as code) into a form that is functio...

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 广州方硅信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products