Code obfuscation method and device and computer readable storage medium

The invention discloses a code obfuscation method and device and a computer readable storage medium. The method comprises the following steps: determining a target code file, and generating a target character string based on a predetermined character generation strategy; and adding the target charac...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG BEIXIAN, LI RAN, LI JING, MA DONGMEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a code obfuscation method and device and a computer readable storage medium. The method comprises the following steps: determining a target code file, and generating a target character string based on a predetermined character generation strategy; and adding the target character string into an original code of the target code file in a code annotation manner to obtain a target obfuscated code. According to the method, the target character string is generated based on the predetermined character generation strategy, and the target character string for obfuscating the original code does not need to be added through manual adding of content needing to be obfuscated and adding of the target character string for obfuscating the original code in an annotation mode, so that the problem of error proneness caused by modification of the source code can be avoided, and the processing efficiency is improved. The technical problem that a method for quickly and conveniently carrying out code obfusca