endor-fetch-and-search-call-graph

Fetch and search decoded call graph artifacts for symbol reachability.

4|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/endorlabs/endorlabs-sdk --skill endor-fetch-and-search-call-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: endor-fetch-and-search-call-graph
Source: https://github.com/endorlabs/endorlabs-sdk/tree/main/agent-knowledge/skills/endor-fetch-and-search-call-graph
Command: npx skills add https://github.com/endorlabs/endorlabs-sdk --skill endor-fetch-and-search-call-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you retrieve and search decoded call graph artifacts so you can answer whether one symbol calls another, or whether a multi-hop path exists between two callables in a customer project.

Core Features & Use Cases

  • Call graph export and decode: Fetch project call graph artifacts, decode zstd payloads, and produce searchable JSON for callables and edges.
  • Direct-edge and path search: Check direct relationships or run safe breadth-first searches when wrapper methods hide the real dependency chain.
  • Use cases: Verify whether application code reaches a specific library API, trace symbol-to-symbol dependencies, and distinguish static graph facts from finding or CVE reachability analysis.

Quick Start

Ask the Skill to fetch the project call graph, decode the artifacts, and search for the path between your source symbol and target symbol.

Frequently Asked Questions about endor-fetch-and-search-call-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a static call path exists between two symbols in a project?

Static symbol reachability determines whether a specific callable in your code can invoke another through direct edges or multi-hop paths. It uses decoded call graph artifacts and method-id joins to trace dependencies across wrapper methods.

How do I decode zstd call graph artifacts for static analysis?

You can decode zstd call graph artifacts by fetching the project's exported graph bundles and decompressing the payloads into searchable callable and edge JSON. This decoded JSON is required to perform accurate method-id joins and path searches.

Can I trace multi-hop dependencies when wrapper methods hide the real call chain?

Yes, you can trace multi-hop dependencies hidden by wrapper methods by running safe breadth-first searches on the decoded call graph. This approach traverses multiple edges to reveal the actual static symbol-to-symbol dependency chain.

Does static call graph analysis require package-version scoped graph selection?

Yes, accurate static call graph analysis requires package-version scoped graph selection to ensure method-id joins and direct-edge checks reflect the true project dependencies. Scoping prevents mismatched callable and edge JSON from invalidating path search results.

What is the difference between static graph facts and CVE reachability analysis?

Static graph facts identify whether a callable reaches another through direct edges or multi-hop paths, while CVE reachability analysis determines if vulnerable code is actually exploitable. This Skill focuses on static graph facts rather than CVE reachability.

When should I not use static call graph path search for dependency tracing?

You should avoid static call graph path search when you need runtime call resolution or CVE exploitability analysis, as this Skill provides static graph facts using decoded JSON artifacts rather than dynamic execution or vulnerability analysis.