This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Escape characters in function names #18
Comments
"The first one an parsing error"? |
You are right it sounds weird. I have updated the issue. |
This seems to crop up after running the Cpg2Scpg enhancements. Running irssi through
Running with the enhancements enabled, we get:
|
Ok, I believe this line is causing the issue: https://github.com/ShiftLeftSecurity/fuzzyc2cpg/blob/master/src/main/scala/io/shiftleft/fuzzyc2cpg/astnew/AstToCpgConverter.scala#L347 Is this something we'd want to remove? Everything else is also escaped CC @fabsx00 |
Can you try and see what happens? I think it may be removable. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:See: https://github.com/irssi/irssi/blob/master/src/fe-common/core/fe-queries.c#L53-L54
Reproduction steps
The text was updated successfully, but these errors were encountered: