ANALYSIS FUNCTION ADDITION DEVICE, ANALYSIS FUNCTION ADDITION METHOD, AND ANALYSIS FUNCTION ADDITION PROGRAM

An analysis function addition device (10) comprises a virtual machine analysis unit (121) that analyzes the VM of a script engine, an instruction set architecture analysis unit (122) that analyzes an instruction set architecture, which is a system of instructions of the VM, to collect VM instruction...

Full description

Saved in:
Bibliographic Details
Main Authors KAWAKOYA, Yuhei, USUI, Toshinori, IWAMURA, Makoto
Format Patent
LanguageEnglish
French
Japanese
Published 18.04.2024
Subjects
Online AccessGet full text

Cover

More Information
Summary:An analysis function addition device (10) comprises a virtual machine analysis unit (121) that analyzes the VM of a script engine, an instruction set architecture analysis unit (122) that analyzes an instruction set architecture, which is a system of instructions of the VM, to collect VM instructions and determine the content of the collected VM instructions, and a calculation unit (123) that uses the architecture information acquired by the virtual machine analysis unit (121) and the instruction set architecture analysis unit (122) to construct a first control flow graph representing an entire path executed exhaustively through multipath execution, and a second control flow graph representing paths executed during execution of a test subject, and uses the first control flow graph and the second control flow graph to calculate a code coverage of a script executed on the script engine. Un dispositif d'ajout de fonction d'analyse (10) comprend une unité d'analyse de machine virtuelle (121) qui analyse la VM d'un moteur de script, une unité d'analyse d'architecture d'ensemble d'instructions (122) qui analyse une architecture d'ensemble d'instructions, qui est un système d'instructions de la VM, pour collecter des instructions de VM et déterminer le contenu des instructions de VM collectées, et une unité de calcul (123) qui utilise les informations d'architecture acquises par l'unité d'analyse de machine virtuelle (121) et l'unité d'analyse d'architecture d'ensemble d'instructions (122) pour construire un premier graphe de flux de commande représentant un chemin entier exécuté de manière exhaustive par une exécution à chemins multiples, et un second graphe de flux de commande représentant des chemins exécutés pendant l'exécution d'un sujet de test, et utilise le premier graphe de flux de commande et le second graphe de flux de commande pour calculer une couverture de code d'un script exécuté sur le moteur de script. 解析機能付与装置(10)は、スクリプトエンジンのVMを解析する仮想機械解析部(121)と、VMの命令の体系である命令セットアーキテクチャを解析して、VM命令を収集し、収集したVM命令の命令内容を判定する命令セットアーキテクチャ解析部(122)と、仮想機械解析部(121)及び命令セットアーキテクチャ解析部(122)によって取得されたアーキテクチャ情報を基に、マルチパス実行で網羅的に実行された全体の経路を示す第1の制御フローグラフと、テスト対象の実行で実行された経路を示す第2の制御フローグラフとを構築し、第1の制御フローグラフと第2の制御フローグラフとを基に、スクリプトエンジン上で実行されるスクリプトのコードカバレッジを算出する算出部(123)と、を有する。
Bibliography:Application Number: WO2022JP37944