Use cases for CodeQL for QL #5160
-
Are there any plans to support CodeQL scanning CodeQL? There are a few cases which I have noticed or been made aware of where existing queries are flawed or could be simplified:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
This is not a bad idea, and in fact we do have an internal prototype for applying CodeQL to the QL language itself. It is not quite polished enough to let loose on the world yet, and it's uncertain when it will be. Currently we're focusing our efforts on adding support for more mainstream languages in dire need of CodeQL-class security analyses. I'll leave this discussion open to see what other ideas the community has. |
Beta Was this translation helpful? Give feedback.
-
An additional use case: running the ReDOS checker over QL code would have caught #5613 before it crashed an analysis in the wild. |
Beta Was this translation helpful? Give feedback.
-
The QL for QL code is going to be merged soon it seems 🎉 |
Beta Was this translation helpful? Give feedback.
-
You have some nice ideas there, and QL-for-QL in a thing now, so now those ideas could become reality.
Yes, good idea! I tried to throw up a prototype, and it detects 490 results that from a quick look seem reasonable.
Also a good idea!
I tried out some prototypes, but I was unable to find anything interesting.
We already have that query in QL-for-QL. |
Beta Was this translation helpful? Give feedback.
You have some nice ideas there, and QL-for-QL in a thing now, so now those ideas could become reality.
Feel free to take my quick prototypes from below and make some PRs, otherwise I might do it later.
Yes, good idea! I tried to throw up a prototype, and it detects 490 results that from a quick look seem reasonable.
Also a good idea!
A quick prototype finds 122 results.
I tried out some prototypes, but I was unable to find anything interesting.
I might just be doing it wrong, so inputs on this one are very welcome.
We already h…