SCRIPT ERROR PROCESSING METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM

The present application provides a script error processing method and apparatus, a device, and a storage medium. The method comprises: obtaining an error report row and column number when an error occurs during the operation of an executable code, wherein the executable code is generated from a sour...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XIE, Xueyan, TIAN, Juan
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present application provides a script error processing method and apparatus, a device, and a storage medium. The method comprises: obtaining an error report row and column number when an error occurs during the operation of an executable code, wherein the executable code is generated from a source-mapped obfuscated source code; obtaining an error type obtained by performing gradient diagnosis on the error; generating an original syntax tree on the basis of an abstract syntax tree and a hash table obtained by converting the obfuscated source code, wherein the hash table stores the correspondence between a function method name of an unobfuscated source code and a function method name of the obfuscated source code and the correspondence between a parameter name of the unobfuscated source code and a parameter name of the obfuscated source code; on the basis of the error type, the error report row and column number, and the original syntax tree, locating an error occurrence location in the unobfuscated source