asm2cfg
asm2cfg copied to clipboard
Mark dominator edges in CFG
Knowing that one block dominates another may be useful for reading the CFG. Such edges can be highlighted with different color or thickness.
hi, I have slightly modified this project https://github.com/x213212/asm2cfg so that it can read riscv asm to draw the control flow graph, and the latter added the tarjan algorithm according to your suggestion so that it can find the loops in asm
I added SVG viewer to easily see the different ASMs in the browser. https://github.com/x213212/asm2cfg/blob/main/compare.html
Yeah this looks very promising. Can you make a PR about these so I can review them?