Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about preprocessing Devign dataset. #16

Open
Bowen-n opened this issue Nov 18, 2021 · 3 comments
Open

Question about preprocessing Devign dataset. #16

Bowen-n opened this issue Nov 18, 2021 · 3 comments

Comments

@Bowen-n
Copy link

Bowen-n commented Nov 18, 2021

How do you convert the devign dataset into code property graph described in the devign paper?

@Bowen-n
Copy link
Author

Bowen-n commented Nov 18, 2021

Specifically, as I know, joern-parse can convert .c files into cpg.bin, and joern-export can convert cpg.bin into .dot graph files. Is this the procedure you parse the devign ataset?

@NikolasBielski
Copy link

You can use joern-parse and joern-export for cpg14 in your project directory. You will still need a convertor from the .dot to pytorch.Data classes for input into any GNN.

@wanglianmei
Copy link

作者解决这个问题了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants