本文へスキップ
Kitbay
掲載依頼
スキル

decompress-binary

Apache-2.02026年11月11日 更新50,877GitHubスタースクリプトあり

A maintainer skill in the ClickHouse repository for getting the real program out of a self-extracting ClickHouse binary without running it, for example to read a core dump from an ARM CI machine on an x86 workstation.

スキルの内容

A maintainer skill in the ClickHouse repository for getting the real program out of a self-extracting ClickHouse binary without running it, for example to read a core dump from an ARM CI machine on an x86 workstation. It explains the packed layout: a small decompressor, zstd-compressed files, a file table and a 16-byte trailer. The agent downloads the binary for the exact commit from CI artifacts and checks the size, runs a bundled Python script to extract the inner ELF, confirms it has debug info and that its build ID matches the crash, then loads the core in gdb or lldb. It warns that truncated downloads are the usual failure and that sanitizer builds need several gigabytes.

できること

  • Download a ClickHouse binary from CI artifacts
  • Extract the inner ELF without running it
  • Match the build ID to a crash report
  • Load a core dump in gdb or lldb