Skip to content

Conversation

@EagleoutIce
Copy link
Member

@EagleoutIce EagleoutIce commented Dec 30, 2025

  • does call query
  • dep bumps
  • fixes to cg generation
  • fixes string indice highlight
  • fixes analyzer reset of cg

@EagleoutIce EagleoutIce linked an issue Dec 30, 2025 that may be closed by this pull request
@EagleoutIce EagleoutIce requested a review from Copilot December 30, 2025 22:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request introduces a new "Does Call" query feature that enables checking whether a function calls another function matching specified constraints. The PR includes:

  • Implementation of the new does-call query with support for name-based and id-based constraints with logical operators (and, or)
  • Refactoring of call graph generation to improve accuracy of call relationships
  • Comprehensive test coverage for the new query functionality
  • Dependency updates including esbuild, release-it, and various development tools
  • Auto-generated documentation updates reflecting timing changes

Reviewed changes

Copilot reviewed 29 out of 33 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/queries/catalog/does-call-query/does-call-query-format.ts New query format definition with constraint types and CLI parser
src/queries/catalog/does-call-query/does-call-query-executor.ts Query executor implementing constraint matching and call graph traversal
test/functionality/dataflow/query/does-call-query.test.ts Comprehensive tests for the new query including recursion, aliasing, and logical operators
src/dataflow/graph/call-graph.ts Significant refactoring to improve call graph accuracy with better handling of untargeted calls and aliases
src/dataflow/internal/process/functions/call/unnamed-call-handling.ts Changed edge type from Calls to Reads for unnamed function calls
src/dataflow/internal/linker.ts Added DefinedByOnCall to link read bits
package.json Updated dependencies including esbuild, license-checker, and release-it
Multiple test files Adjusted expectations for call graph edges based on refactored logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@EagleoutIce EagleoutIce merged commit 6188b65 into main Dec 30, 2025
19 checks passed
@EagleoutIce EagleoutIce deleted the 2134-query-does-call branch December 30, 2025 23:06
@EagleoutIce
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Query] 'does call..'

2 participants