Closed jacosro closed 4 years ago
New changes:
METHOD_CALL_RETURN
node type and assigned to output
node of the method calladdDataDependencyArc
method in SDG
class to add a data dependency arc with no information about the variableoutput
node of the call, check first if method return type is voidReturnArc
ReturnArc
s are now as follows:
ReturnStmt
nodes -> output
node (inside method declaration) [DataDependencyArc
]output
node (inside method declaration) -> output
node (method call) [ParameterInOutArc
]output
node (method call) -> method call node [DataDependencyArc
]
Changes
NodeType
:METHOD_CALL_RETURN
->METHOD_OUTPUT
output
node is added, and areturn
arc is added from every node with aReturnStmt
to itreturn
node tooutput