progex icon indicating copy to clipboard operation
progex copied to clipboard

Linking AST, CFG, and PDG

Open omah69 opened this issue 5 years ago • 5 comments

Hello,

Before all, congratulations for your source code and your presentation, it is very very clean and structured. I executed and generated the DOT files. That's excellent !! I saw that it's possible to generate separately files AST / CFG / PDG... but how to make a merge of the 3? It's possible for me to complete your source code in this goal ? I would like to reproduce a single global graph merged like the Code property Graph defined in this document http://user.informatik.uni-goettingen.de/~krieck/docs/2014-ieeesp.pdf

Thank you in advance for your help

omah69 avatar Aug 24 '19 06:08 omah69

I am pretty familiar with the Code Property Graph (CPG) by Fabian Yamaguchi. At the current moment, there is no link between AST and other Graphs. Although CFG and DDG (Data-dependency of PDG) are already connected. Although I'm planning on implementing this in the near future (in the next 2 to 3 months).

But if you really need it right now, you can help do this sooner. For this, you need to be fairly familiar with programming with Java and ANTLRv4. If you are experienced in these areas, tell me about it and I can give you some hints on how to implement this.

ghaffarian avatar Aug 24 '19 09:08 ghaffarian

Thank you for your quick answer, I have an experience of many years in Java, but in ANTLR only a small experience. But no problem, I learn quickly and I am extremely motivated, so I can program with it. I can implement what is needed to perform merging very quickly because I need to have result as soon as possible. So it will be very nice and helpful if you provide me the explanations quickly.

Thank you in advance.

omah69 avatar Aug 24 '19 12:08 omah69

I have to do a more through analysis of the code and the possible solutions for this feature. Meanwhile, you can do some study and learn more about how to program ANTLR applications. This conversion will continue through email.

ghaffarian avatar Aug 25 '19 05:08 ghaffarian

Ok we cant do that. I can program ANTLR right now. Don't worry about that. You can give me your email please ?

omah69 avatar Aug 25 '19 14:08 omah69

Hi, any updates on these plans?

copernico avatar Apr 13 '21 15:04 copernico