Code analysis method and device, equipment and storage medium

The invention provides a code analysis method and device, equipment and a storage medium. Relates to the technical field of artificial intelligence. The method comprises the following steps: scanning an original code to obtain a plurality of exception descriptions in the original code; a code struct...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: JIN SONGBO
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 provides a code analysis method and device, equipment and a storage medium. Relates to the technical field of artificial intelligence. The method comprises the following steps: scanning an original code to obtain a plurality of exception descriptions in the original code; a code structure of the original code is determined, a plurality of call stacks and a plurality of call trees are generated according to the code structure and the exception descriptions, and each call tree comprises a plurality of exception codes corresponding to one exception description; performing identification processing on the plurality of call trees through a first large language model to obtain a plurality of call processes and a plurality of abnormal reasons; and generating a plurality of analysis results of the original code according to the plurality of exception descriptions, the plurality of call stacks, the plurality of call processes and the plurality of exception reasons. According to the scheme, the call tree