Research Article

An Approach of Vulnerability Testing for Third-Party Component Based on Condition and Parameter Mutation

Algorithm 1

PCMA.
Stipulation: && …&& && …&& ,
&& …&& , , is the mutant set of pre-conditions
Input:
Output: T
(01) MSA ;
(02) ;
(03) for( ; ; ++i)
(04) {
(05)   ;
(06)  for(each in )
(07)  for(each in MSA( )
(08)  if (!IsExclusive(x && y)
(09)      x && y ;
(10)     ;
(11)  }
(12) return ;