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

if this library can give me this type of CPG in any format? then it would be very helpful in my research project. #946

Closed
anushka192001 opened this issue Oct 22, 2022 · 5 comments

Comments

@anushka192001
Copy link

image

like each edge labelled with AST,PDG,CFG ?

i really this kind of format for my research project.

@oxisto
Copy link
Member

oxisto commented Oct 22, 2022

image

like each edge labelled with AST,PDG,CFG ?

i really this kind of format for my research project.

We are using a different format, however you could use the library from shiftleft, which uses the format described in the paper https://github.com/ShiftLeftSecurity/codepropertygraph

@josepaiva94
Copy link

@oxisto Could you please provide a similar figure for the format used here?

@oxisto
Copy link
Member

oxisto commented Jan 11, 2023

@oxisto Could you please provide a similar figure for the format used here?

We are currently in the process of "formalising" our format a little bit and adding more documentation. Unfortunately, this is far from finished, but you can have a look at the already existing specification documents here: https://github.com/Fraunhofer-AISEC/cpg/tree/main/cpg-core/specifications

All nodes are modelled as Kotlin (Java) classes and you can find their properties here

@KuechA
Copy link
Contributor

KuechA commented Jun 20, 2023

With #1171 , we will be able to automatically generate an overview of all nodes and their edges. The current result is already included in the documentation even if it's not complete yet

@konradweiss
Copy link
Collaborator

I will close this for now, as we have implemented an automated schema generation and have a additional description on out subgraphs:

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

5 participants