{"id":18609508,"url":"https://github.com/secure-software-engineering/swarm-cg","last_synced_at":"2026-01-28T19:33:38.382Z","repository":{"id":258803477,"uuid":"808512328","full_name":"secure-software-engineering/SWARM-CG","owner":"secure-software-engineering","description":"Swiss Army Knife of Call Graph Micro-Benchmark","archived":false,"fork":false,"pushed_at":"2024-10-23T21:50:51.000Z","size":749,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T10:28:54.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secure-software-engineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-31T08:17:17.000Z","updated_at":"2024-10-23T21:50:55.000Z","dependencies_parsed_at":"2024-10-25T23:04:13.510Z","dependency_job_id":null,"html_url":"https://github.com/secure-software-engineering/SWARM-CG","commit_stats":null,"previous_names":["secure-software-engineering/swarm-cg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/secure-software-engineering/SWARM-CG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FSWARM-CG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FSWARM-CG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FSWARM-CG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FSWARM-CG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secure-software-engineering","download_url":"https://codeload.github.com/secure-software-engineering/SWARM-CG/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FSWARM-CG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28850320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:06:18.572Z","updated_at":"2026-01-28T19:33:38.352Z","avatar_url":"https://github.com/secure-software-engineering.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SWARM-CG: Swiss Army Knife of Call Graph Micro-Benchmark\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"logo.png\" width=\"700\" align=\"center\"\u003e\n\u003c/p\u003e\n\nSWARM-CG (Swiss Army Knife of Call Graph Micro-Benchmark) aims to standardize the evaluation of call graph analysis tools by providing a rich set of call graph benchmarks. This repository contains code samples and associated ground truth across multiple languages, facilitating cross-language performance comparisons and discussions.\n\n## Features\n\n- **Multi-language support**: Benchmarks in various programming languages.\n- **Ground truth annotations**: Accurate call-graph information for each sample.\n- **Tool evaluation**: Framework for assessing static analysis tools.\n- **Community-driven**: Contributions from static analysis enthusiasts and experts.\n\n## Languages Supported\n\nOur repository includes benchmarks for the following languages:\n\n- Java\n- Python\n- JavaScript\n\n*More languages will be added soon.*\n\n\n## :whale: Running with Docker\n\n### 1️⃣ Clone the repo\n\n```bash\ngit clone https://github.com/ashwinprasadme/SWARM-CG/\n```\n\n### 2️⃣ Build Docker image\n\n```bash\ndocker build -t swarmcg .\n```\n\n### 3️⃣ Run SWARM-CG\n\n🕒 Takes about 30mins on first run to build Docker containers.\n\n📂 Results will be generated in the `results` folder within the root directory of the repository.\nEach results folder will have a timestamp, allowing you to easily track and compare different runs.\n\n🔧 run analysis on specific tools:\n\n```bash\ndocker run \\\n      -v /var/run/docker.sock:/var/run/docker.sock \\\n      -v ./results:/app/results \\\n      -v ./src:/app/src \\\n      swarmcg --language python --benchmark_name pycg --tool llms \n```\n\n🛠️ Available options: `pycg`, `ollama`, `llms`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecure-software-engineering%2Fswarm-cg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecure-software-engineering%2Fswarm-cg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecure-software-engineering%2Fswarm-cg/lists"}