Control Flow Graph

Binkowski, Cassio cassioiks at gmail.com
Sun May 5 23:38:45 UTC 2013


Hi Chris,

I have tried this one. Could not make it on MacOS, says it's missing
gcc-plugin.h and I was not able to make it work in anyway.
Tried making it on RTEMS CentOS VM, got another error that I can't remember.

What do you suggest?

Thanks
Cassio


On Sun, May 5, 2013 at 8:31 PM, Chris Johns <chrisj at rtems.org> wrote:

> Binkowski, Cassio wrote:
>
>> Anyone?
>>
>>
> It has been the weekend where I am so answers may take a few days.
>
>
>> On Sun, May 5, 2013 at 3:10 PM, Binkowski, Cassio <cassioiks at gmail.com
>> <mailto:cassioiks at gmail.com>> wrote:
>>
>>     Hi everyone
>>
>>     Has anyone ever had to generate a control flow graph for your RTEMS
>>     application? I'm currently in need of it and would like to know if
>>     there is any automated tool for doing this. Do you know any?
>>
>>     I have I have found a couple but either the link is already broken
>>     or it does not compile on Mac OS.
>>
>
> Have a look at the Python plugin for gcc...
>
> https://fedorahosted.org/**gcc-python-plugin/<https://fedorahosted.org/gcc-python-plugin/>
>
> There is a callgraph example in the doco. Maybe that is useful...
>
> https://gcc-python-plugin.**readthedocs.org/en/latest/**index.html<https://gcc-python-plugin.readthedocs.org/en/latest/index.html>
>
> If this works, a write up in our wiki would be nice.
>
> Chris
>
>
>>     I have also found a few GCC directives for generating CFG and Gimple
>>     files, but I could not find any parser for graphic generation.
>>
>>     Please let me know in case you have any clues.
>>
>>     Thanks.
>>     Cassio
>>
>>
>> ______________________________**_________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/**listinfo/rtems-users<http://www.rtems.org/mailman/listinfo/rtems-users>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130505/11d3b444/attachment.html>


More information about the users mailing list