Closed emmanuel099 closed 4 years ago
How are we making/transforming graphs such that we have orphaned vertices?
For encoding transient execution behavior, I duplicate the CFG and add edges from the "normal" (orange) into the "transient" CFG (grey) and vice versa. This may generate orphaned vertices in the "transient" CFG, because some vertices may be unreachable from the CFG entry node.
Before (vertices not reachable by CFG entry are in the red area):
After removing unreachable vertices:
I thought this function may be useful for upstream as well.
Slightly alarmed. How are we making/transforming graphs such that we have orphaned vertices?