Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] PDG semantic


  • Subject: [Frama-c-discuss] PDG semantic
  • From: rovedy at ig.com.br (Rovedy Aparecida Busquim e Silva)
  • Date: Fri, 30 Nov 2012 18:30:31 -0200

Hi,

I have investigated the PDG plugin with the example below. I Know little
about PDGs.

I would like to Know the semantic of the PDG nodes and edges (e.g. what
does it mean blue edges, dark edges, and dotted edges?
And about the color of the nodes? What are circle nodes, rectangle nodes,
... ). Is there some reference for reading?

Is it possible use the PDG to help the value analysis? Maybe with the
slevel?

I attached the graphs.

I would like to know if is possible to create a Control Flow Graph as
showed in the attached figure.  Exist another plugin for this or another
way to obtain the same information?

Best regards,
Rovedy

//-------------------------------------------------------------------------------------------------


void main()
{
int a=0,b=0,c=0;

 a=4;

if ( a > 5 )
{
   b = 3;
   c = a + 5;
   return ;
}
else
{
   b = 4;
   a = foo(a);
   c = a+5;
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121130/317fdb76/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphPDG.png
Type: image/png
Size: 60260 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121130/317fdb76/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: controlflow.png
Type: image/png
Size: 5370 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121130/317fdb76/attachment-0003.png>