A code conversion method and device based on an application installation package file

The invention discloses a code conversion method and device based on an application installation package file. The method comprises the following steps: decompiling an application installation packagefile to obtain an abstract syntax tree; Processing the content in the node of the abstract syntax tr...

Full description

Saved in:
Bibliographic Details
Main Authors HUA BAOJIAN, WANG DEJIA, LIU QINGCHUAN, GE QIFENG
Format Patent
LanguageChinese
English
Published 09.04.2019
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a code conversion method and device based on an application installation package file. The method comprises the following steps: decompiling an application installation packagefile to obtain an abstract syntax tree; Processing the content in the node of the abstract syntax tree according to a preset conversion rule to obtain a conversion code corresponding to the to-be-protected code; Encrypting the conversion code according to a preset encryption rule to obtain an encrypted conversion code; Carrying out code replacement processing on the program code corresponding tothe to-be-protected code to obtain a replaced program code; And packaging and generating the application installation package file subjected to code conversion according to the encryption conversion code and the replaced program code. According to the method, the to-be-protected code in the application installation package file is converted into the code which is difficult to decompile, and the code obtained through conver
Bibliography:Application Number: CN201811426377