A Coverage and Slicing Dependencies Analysis for Seeking Software Security Defects
Table 1
Definitions of different statements data dependencies.
Statement type
Definition of left and right values
Examples of statements
Left and right linked lists
Assignment statement
Definition declaration
Left value is the linked list defining variables, and right value is null.
Int , ;
->
->
Direct assignment
Left value is the linked list defining variables, and right value is null.
= 10;
Indirect assignment
Left value is the assigned variable, and right value is the assigned value.
= + ;
->
Control statement
While
Left value and right value are the same in these statements, which are variables involved in(). Left and right values of these statements are included in the left and right linked lists of all statements in the control domains.