fuzzyc2cpg
fuzzyc2cpg copied to clipboard
A fuzzy parser for C/C++ that creates semantic code property graphs
Hey, Which IDE is used for development? I have tried to use `IntelliJ` with scala plugin but it didn't help as I am getting following errors while trying to build:...
### Description The CPG contains function names with escape sequences, eg. `CHAT_PROTOCOL(server)->\\n\\t\\t\\tquery_create`. It seems to be a parsing error of: ``` query = CHAT_PROTOCOL(server)-> query_create(server->tag, nick, TRUE); ``` See: https://github.com/irssi/irssi/blob/master/src/fe-common/core/fe-queries.c#L53-L54...
The following warning is produced when running fuzzyc2cpg on the project `input` folder: `Using deprecated CPG format with METHOD_INST nodes.` Update the CPG generator to use the latest CPG format.
The linker creates `INHERITS_FROM` edges here: https://github.com/ShiftLeftSecurity/codepropertygraph/blob/10e16ba5d3cd9ed3896c70997fa9f0fd209b6f08/semanticcpg/src/main/scala/io/shiftleft/semanticcpg/passes/linking/linker/Linker.scala#L84 This seems to not work for the fuzzy C frontend. I created a failing test to highlight the issue: https://github.com/ShiftLeftSecurity/codepropertygraph/compare/fabs/inher My guess would...
The following piece of code is parsed as water: ```c int arr[5] = { [0] = 12, [1] = 34, }; ``` The grammar does not currently support designated initialisers....