Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Release a macOS disk image (.dmg) for Apple silicon

Đã đóng
#198 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@SizzleUnrlsd đang làm issue này rồi.

Từ ngày 16/10/2026.

  • #199 của @SizzleUnrlsd — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

build enhancement

Releases ship Linux archives only. On macOS, the README sends users to a build from source, with Homebrew's LLVM 20. A ctrace built that way loads LLVM, Clang, Z3 and zstd from Homebrew by absolute path (otool -L build/ctrace), and OpenSSL and Brotli too, which cpp-httplib links whenever it finds them: it cannot be copied to another Mac.

To do

  • A "Build macOS binary (arm64)" job in release-binaries.yml, run on every pull request like the Linux ones, that produces coretrace-<version>-macos-arm64.dmg and its .sha256, with the Python analyzer.
  • The image holds one folder laid out as the Linux archive. The Homebrew libraries ctrace loads ship in lib/, and every Mach-O file loads them relative to itself: the macOS counterpart of the patchelf step.
  • Licenses as on Linux: an inventory of what the image ships, the license and version of each Homebrew formula collected from its keg, and a packaging that fails on an unlisted library.
  • Before the upload, the image is mounted, its folder copied out and run with Homebrew moved away: the Python analyzer, a C analysis and a concurrency analysis.
  • On a tag, the image is attached to the release with its provenance attestation.
  • The README says how to install it, and how to remove the Gatekeeper mark.

Out of scope

  • Signing with a Developer ID, and notarization. CoreTrace has no Apple Developer account. The image is signed ad hoc, which Apple silicon requires; macOS refuses to run a ctrace that a browser downloaded until the quarantine mark is removed. Once an account exists: import the certificate into a temporary keychain, sign each Mach-O file with codesign --options runtime --timestamp, then run xcrun notarytool submit --wait and xcrun stapler staple on the image.
  • Intel Macs. They need an x86_64 runner and Homebrew libraries built for it.
  • The runtime analyzer. It is released for Linux only.

Acceptance

  • The job passes on pull requests, and the image it builds runs from any folder, without Homebrew.
  • check-licenses.sh passes on the image with the macOS inventory.
  • A release attaches the .dmg, its .sha256 and its attestation.
Ngôn ngữ chính
C++
Star
5
Fork
4
Merge trung bình
1 giờ 57 phút
Pull request đã merge (30 ngày)
88

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CoreTrace/coretrace

Tất cả issue của CoreTrace/coretrace

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.