I don't think there is such a tool or paper.

I built such a tool for a compiler IR but I don't think it will fit your
needs as I show strange IR nodes with compiler related information (it
doesn't look like the original smalltalk code at all). The visualization is
done with Roassal.

I think if you get the Smalltalk AST with the semantic analysis done, you
can easily detect which messageNode will be inlined to control flow
operations, and therefore have a control flow graph. You can then display
it with Roassal. However, Roassal is bad at handling graph cycles so I'd
recommend that you show the control flow graph but back edges.

Good luck

Clément

2015-07-06 13:21 GMT+02:00 Nevena Milojkovic <[email protected]>:

> Hi all,
>
> Can anybody point me towards some tool/paper with the possibility to
> construct Control Flow Graph for Smalltalk?
>
> Cheers,
> Nevena
>
> ————————
> Nevena Milojkovic
> Research assistant
> Software Composition Group
> Institute of Computer Science and Applied Mathematics
> University of Bern
>
> email: [email protected]
> office phone: +41 (0)31 511 7639
> webpage: http://scg.unibe.ch/staff/Milojkovic
>
>
>
>
>
>
>

Reply via email to