github / github/codeql-cli-binaries

Make pretty-printing of graphs available to codeql query run

Open
#17 0 comments 1 reaction 0 assignees View on GitHub
CLI
Dominant language
No language data
Stars
1k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

codeql test run has a nice pretty-printer for graph queries (i.e. for the PrintIR query for cpp).
It would be great to have the option to run queries using codeql query run and then get the output pretty-printed.
The results of PrintIR.ql are otherwise not that helpful.

Contributor guide

Open the contributing guide

Research direction

Start by comparing how `codeql test run` pretty-prints graph-query results with the output from `codeql query run`, using the C++ `PrintIR.ql` example mentioned in the issue. Done means `codeql query run` offers an option that produces the same useful pretty-printed output for graph queries.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.