Identify stateful transactions: If there is an edge across instances
of a transaction in the DDG then the transaction is stateful [2]. For
example, in Fig. 7, there is an edge between instances i and i + 1
as fb in the (i + 1)th instance reads autobaud value updated from
fl in the ith instance. Therefore, SERIAL0 is stateful.