Analysis of legacy code is often focussed on extracting either metrics or
relations, e.g. call relations or structure relations. For object-oriented programs, e.g.
Java or C++ code, such relations are commonly represented as UML diagrams: e.g.,
such tools as Columbus  and Cpp2XMI  are capable of extracting from the C++
code UML class, and UML class, sequence and activity diagrams, respectively.
New challenges in UML diagram extraction arise when a) additional UML diagrams
and b) non-object-oriented programs are considered. In this paper we present
an ongoing work on extracting state machines from the legacy C code, motivated by
the popularity of state machine models in embedded software . To validate the approach
we consider an approximately ten-years old embedded system provided by the
industrial partner. The system lacks up-to-date documentation and is reportedly hard to
|Title of host publication||7th Belgian-Netherlands Software Evolution Workshop (Benevol 2008, Eindhoven, The Netherlands, December 11-12, 2008, Informal pre-proceedings)|
|Place of Publication||Eindhoven|
|Publisher||Technische Universiteit Eindhoven|
|Publication status||Published - 2008|
|Name||Computer Science Reports|