-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Scope
Add CallGraphFromTo transitive call reachability query for all 8 CallGraph-supporting languages (cpp, csharp, go, java, javascript, python, ruby, swift).
Files
server/ql/*/tools/src/CallGraphFromTo/CallGraphFromTo.ql— query implementation (8 files)server/ql/*/tools/src/CallGraphFromTo/CallGraphFromTo.md— documentation (8 files)server/ql/*/tools/test/CallGraphFromTo/— tests + expected output (24 files)server/ql/go/tools/src/PrintAST/PrintAST.ql— fix for Go PrintASTserver/ql/java/tools/src/PrintCFG/PrintCFG.ql— fix for Java PrintCFGserver/src/lib/cli-tool-registry.ts— external predicate handling for CallGraphFromTo
Independence
✅ The .ql queries, .md docs, and test files are fully independent. The external predicate wiring in cli-tool-registry.ts also touches server code but is a small, focused change.
Notes
- Uses
calls*transitive closure with bothsourceFunctionandtargetFunctionexternal predicates - All 8 languages compile and pass unit tests
- External predicate handling also fixed to work with direct
querypaths (not justqueryName)
Parent: #163
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request