Does CodeQL support edits on a call graph?

127 views Asked by At

I'm new to CodeQL and am reading this tutorial about how to query a Java call graph. It looks like CodeQL only supports read operations on the call graph.

If I hope to edit the call graph (e.g., add or delete an edge that represents method A calls method B) before querying, what can I do with CodeQL?

BTW, I'm familiar with Soot, which can read or edit a call graph with APIs. I am wondering if CodeQL also supports these features.

1

There are 1 answers

0
Marcono1234 On

No, CodeQL does not support editing the source or class files from which a CodeQL database was created. The CodeQL database is completely standalone (which allows you to download an already created database and analyze it locally).