J
J
jcmvbkbc2013-03-09 08:34:21
Debugging
jcmvbkbc, 2013-03-09 08:34:21

Tool for modeling code behavior?

I often have to analyze the behavior of someone else's C/assembler code. Usually, for this, I draw structures, variables, data link arrows, state diagrams, etc. on paper. It's quite similar to UML modeling, with an emphasis on object and interaction diagrams, and I used Rational Rose for that a long time ago. But Rosa is somehow heavy for this, and it costs money. The disadvantages of paper are also obvious - it is impossible to edit, no ^c^v, the place is not rubber.
Is there a better technology for modeling code behavior than UML?
What tools do you use to do this.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vitaly Arkhipov, 2013-03-09
@arvitaly

Graphviz, codedrawer, yes there are many of them - they are all different in taste and color. Google "c code visualizer".

M
m08pvv, 2013-03-09
@m08pvv

Well, if you have a very deep approach, then write a description of the code structure in a special language and work with it in LTSA - you can immediately check for any problems like deadlocks and so on.

V
Vitaly Arkhipov, 2013-03-09
@arvitaly

And yes, also LabView - though there seems to be support only for C ++.

I
icoz, 2013-03-10
@icoz

SciTools Understand

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question