Closed jacosro closed 3 years ago
The old solution depended on the control flow edges creating a tree (no loops), but the inclusion of unconditional jumps breaks that assumption. The new creation of levels could be the following: all instructions that are contained (as in, they are inside of it) and controlled by another one are in the same level. If an instruction is on a given level, it cannot be part of another level. The inclusion should be performed from lower to higher id
.
As the graph gets more and more complex, there is no need or easy solution to this problem.
Caused by #16
The PDG loses the structure when it is visually represented