{"id":20716878,"url":"https://github.com/blacktop/darwin-webkit-build","last_synced_at":"2025-07-02T07:06:22.861Z","repository":{"id":224597361,"uuid":"763668063","full_name":"blacktop/darwin-webkit-build","owner":"blacktop","description":"WebKit/JSC CodeQL Databases","archived":false,"fork":false,"pushed_at":"2025-05-20T21:33:13.000Z","size":89,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-20T22:53:22.551Z","etag":null,"topics":["codeql","compile-commands-json","darwin","javascriptcore","jsc","webkit"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blacktop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-02-26T17:56:04.000Z","updated_at":"2025-05-20T21:32:45.000Z","dependencies_parsed_at":"2024-02-26T20:27:18.910Z","dependency_job_id":"084f4385-5179-4eb6-b2c0-5459a8e2580c","html_url":"https://github.com/blacktop/darwin-webkit-build","commit_stats":null,"previous_names":["blacktop/darwin-webkit-build"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/blacktop/darwin-webkit-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Fdarwin-webkit-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Fdarwin-webkit-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Fdarwin-webkit-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Fdarwin-webkit-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacktop","download_url":"https://codeload.github.com/blacktop/darwin-webkit-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Fdarwin-webkit-build/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263091026,"owners_count":23412343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["codeql","compile-commands-json","darwin","javascriptcore","jsc","webkit"],"created_at":"2024-11-17T03:07:03.709Z","updated_at":"2025-07-02T07:06:22.841Z","avatar_url":"https://github.com/blacktop.png","language":"Shell","readme":"# darwin-webkit-build\n\n[![WebKit (JSC) CodeQL](https://github.com/blacktop/darwin-webkit-build/actions/workflows/jsc.yml/badge.svg)](https://github.com/blacktop/darwin-webkit-build/actions/workflows/jsc.yml) ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/blacktop/darwin-webkit-build/total)\n [![LICENSE](https://img.shields.io/:license-mit-blue.svg)](https://doge.mit-license.org)\n\n\u003e WebKit/JSC CodeQL DBs and `compile_commands.json`\n\n\n## Supported OS Versions\n\n### macOS\n\n| Version | Compiles | CodeQL | Binary | Compile Commands JSON |\n| ------- | :------: | :----: | :----: | :-------------------: |\n| 14.3    |    ❌     |   ❌    |   ❌    | ❌ |\n\n### iOS\n\n| Version | Compiles | CodeQL | Binary | Compile Commands JSON |\n| ------- | :------: | :----: | :----: | :-------------------: |\n| 18.2    |    ✅    |   [JSC](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.2/jsc-codeql-18.2-release.zip)   |   ❌    | [JSON](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.2/jsc-compile_commands-18.2-release.zip) |\n| 18.3    |    ✅    |   [JSC](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.3/jsc-codeql-18.3-release.zip)   |   ❌    | [JSON](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.3/jsc-compile_commands-18.3-release.zip) |\n| 18.3.1  |    ✅    |   [JSC](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.3.1/jsc-codeql-18.3.1-release.zip)   |   ❌    | [JSON](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.3.1/jsc-compile_commands-18.3.1-release.zip) |\n| 18.3.2  |    ✅    |   [JSC](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.3.2/jsc-codeql-18.3.2-release.zip)   |   ❌    | [JSON](https://github.com/blacktop/darwin-webkit-build/releases/download/v18.3.2/jsc-compile_commands-18.3.2-release.zip) |\n\n### nightly\n\n| Version | Compiles | CodeQL | Binary | Compile Commands JSON |\n| ------- | :------: | :----: | :----: | :-------------------: |\n| `main`  |    ✅     |   [DB](https://github.com/blacktop/darwin-webkit-build/releases/download/nightly/webkit-codeql.zip)    |   ❌    | ❌ |\n\n\n## Getting Started\n\n### Dependencies\n\n- [homebrew](https://brew.sh)\n  - [codeql CLI](https://codeql.github.com/docs/codeql-cli/)\n  - [jq](https://stedolan.github.io/jq/)\n  - [gum](https://github.com/charmbracelet/gum)\n  - [cmake](https://cmake.org)\n  - [ninja](https://ninja-build.org)\n- XCode\n- python3\n\n\u003e [!NOTE]\n\u003e The `codeql.sh` script will install all these for you if you are connected to the internet.\n\n### Generate a CodeQL database\n\n```bash\n./codeql.sh\n```\n```bash\n\u003cSNIP\u003e\n[2023-03-03 22:33:20] [build-stdout]   🎉 WebKit Build Done!\nFinalizing database at darwin-webkit-build/webkit-codeql.\nRunning TRAP import for CodeQL database at darwin-webkit-build/webkit-codeql...\nTRAP import complete (1m46s).\nSuccessfully created database at darwin-webkit-build/webkit-codeql.\n[info] Deleting log files...\n[info] Zipping the CodeQL database...\n  🎉 CodeQL Database Create Done!\n```\n\nScript builds and zips up the CodeQL database\n\n```bash\n❯ ll webkit-codeql.zip\n-rw-r--r--@ 1 blacktop  staff   219M Mar  3 22:35 webkit-codeql.zip\n```\n\n### Generate a CodeQL database *(in a `local` **Tart** VM)*\n\nInstall deps: *[packer](https://developer.hashicorp.com/packer), [tart](https://tart.ru) and [cirrus](https://github.com/cirruslabs/cirrus-cli)*\n\n```bash\nmake deps\n```\n\nBuild VM image\n\n```bash\nmake build-vm\n```\n\nCreate CodeQL DB\n\n```bash\nOS_VERSION=18.3.1 make codeql-db-jsc\n```\n\n```bash\n \u003e Building CodeQL Database\n🕓 'Build' Task 08:22\n   ✅ pull virtual machine 0.0s\n✅ 'Build' Task 47:59\n 🎉 Done! 🎉\n🕒 'Build' Task 46:28\n✅ 'Build' Task 48:15\n```\n\n```bash\ntree artifacts/\n\nartifacts/\n└── Build\n    └── binary\n        ├── jsc-codeql-18.3.1-release.zip\n        ├── jsc-codeql-18.3.1-release.zip.sha256\n        └── jsc-compile_commands-18.3.1-release.zip\n\n3 directories, 1 file\n```\n\n## License\n\nMIT Copyright (c) 2024-2025 blacktop\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktop%2Fdarwin-webkit-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacktop%2Fdarwin-webkit-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktop%2Fdarwin-webkit-build/lists"}