AppThreat / atom

Atom is a novel intermediate representation for applications and a standalone tool that is powered by chen.
https://appthreat.com
Apache License 2.0
43 stars 2 forks source link

Merge javasrc2cpg and jimple2cpg #8

Open prabhu opened 1 year ago

prabhu commented 1 year ago

Let's merge the two frontends to have a single cpg with both the source and classes from the jars. In addition, retain the META-INF/MANIFEST.MF file as a config file so that the jar's group, name, and version can be reconstructed to identify the source along with the file name.

Here is some messy logic showing this parsing in action - https://github.com/CycloneDX/cdxgen/blob/master/utils.js#L4516