White-box testing method for functional security software and related equipment

The invention provides a white-box test method for functional security software and related equipment. The white-box test method comprises the following steps: setting a plurality of initial test cases according to a value interval of a selection branch contained in a program flow chart of the funct...

Full description

Saved in:
Bibliographic Details
Main Authors HUANG WENJING, YOU GUIZHEN, WANG JIAN, HE XIAOMEI, HE YUNXUAN, LI SHUANG, QIN TAO, LIU ZIHAO, HE MINGXUAN, BAI XU
Format Patent
LanguageChinese
English
Published 23.05.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides a white-box test method for functional security software and related equipment. The white-box test method comprises the following steps: setting a plurality of initial test cases according to a value interval of a selection branch contained in a program flow chart of the functional security software, the plurality of initial test cases respectively corresponding to a plurality of positions in a coordinate system; respectively substituting the plurality of initial test cases into the selection branches for execution to obtain respective execution time of the plurality of initial test cases; in response to determining that the execution time of one initial test case in the plurality of initial test cases is greater than a preset time threshold value, taking the initial test case as a local optimization test case; based on a target position corresponding to the local optimization test case in a plurality of positions, taking the plurality of initial test cases as a particle swarm, and iter
Bibliography:Application Number: CN202111374610