{
  "added_at": "2026-11-08",
  "category": "reconstruction-cases",
  "class": "software",
  "description_en": "uniq-reconstruction rebuilds GNU coreutils 9.7 uniq in C from black-box observations of a stripped ELF executable. The author records 51 probes covering flags, grouping, delimiters and error behavior, then implements argument parsing and stream processing. The author reports that the candidate passed all 43 comparison tests for output, exit code, stderr and file effects.",
  "description_zh": "uniq-reconstruction 根据对无符号 ELF 可执行文件的黑盒观察，用 C 重建 GNU coreutils 9.7 的 uniq。作者记录了覆盖选项、分组、分隔符和错误行为的 51 项探测，并实现参数解析与流处理；作者报告候选程序在输出、退出码、错误输出及文件副作用的 43 项对照测试中全部通过。",
  "entry_url": "https://awesomerea.org/resources/uniq-reconstruction-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/uniq-reconstruction-case/",
  "evidence_url": "https://github.com/daedalus/uniq-reconstruction/blob/a1f1c181f3e3dd2c55fb590f9f9956a31d2ca47e/README.md",
  "group": "cases",
  "id": "uniq-reconstruction-case",
  "json_url": "https://awesomerea.org/resources/uniq-reconstruction-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/uniq-reconstruction-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/uniq-reconstruction-case/index.md",
  "name": "uniq-reconstruction: rebuilding GNU uniq from behavioral probes",
  "name_zh": "uniq-reconstruction：通过行为探测重建 GNU uniq",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "GNU coreutils 9.7 uniq is the reference program used in the documented probes.",
    "gcc is used to build the C candidate; pytest runs the documented comparison tests.",
    "The author reports 43 of 43 tests passing.",
    "No licence file in the repository."
  ],
  "requirements_zh": [
    "文档中的探测以 GNU coreutils 9.7 的 uniq 为参考程序。",
    "C 候选程序使用 gcc 构建，文档中的对照测试使用 pytest。",
    "作者报告 43 项测试全部通过。",
    "仓库中没有许可证文件。"
  ],
  "targets": [
    "binary"
  ],
  "url": "https://github.com/daedalus/uniq-reconstruction",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
