{
  "api_version": "1.0.0",
  "slug": "linux-cal-1752-calendar-switch-rea-demo",
  "url": "https://reversedwithai.com/p/linux-cal-1752-calendar-switch-rea-demo",
  "markdown_url": "https://reversedwithai.com/p/linux-cal-1752-calendar-switch-rea-demo.md",
  "json_url": "https://reversedwithai.com/p/linux-cal-1752-calendar-switch-rea-demo.json",
  "title": "Traced where the Linux cal binary keeps the 1752 calendar switch, using REA on the stripped code",
  "tagline": "Eleven missing days found in a stripped binary.",
  "summary": "One plain English question to the agent found the hardcoded 1752-09-02 switch date in about a minute and a half, on video, with the trace checked by hand.",
  "target": {
    "name": "Ubuntu cal (stripped binary)",
    "type": "legacy",
    "type_label": "Legacy software"
  },
  "platform": "Linux x86-64, static analysis",
  "models": [],
  "tools": [
    "REA",
    "Ghidra",
    "OpenCode"
  ],
  "outcome": "research",
  "outcome_label": "Research",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "no",
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Fahd Mirza",
    "url": "https://x.com/fahdmirza"
  },
  "sources": {
    "repository": null,
    "writeup": "https://x.com/i/status/2110453427209916612",
    "discussions": [
      "https://x.com/i/status/2110453427209916612"
    ],
    "all": [
      "https://x.com/i/status/2110453427209916612",
      "https://x.com/i/status/2110453427209916612"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/linux-cal-1752-calendar-switch-rea-demo.webp",
    "credit": "Image: Fahd Mirza (YouTube thumbnail)"
  },
  "commit_history": null,
  "added_at": "2026-10-19T07:55:53.611484+00:00",
  "updated_at": "2026-10-19T07:55:53.611484+00:00",
  "sources_reviewed_at": "2026-10-19T07:55:53.611484+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "Fahd Mirza used REA with OpenCode and Ghidra on the stripped Ubuntu cal binary to find where the calendar switch to Gregorian time lives. Linux cal skips 11 days in September 1752, and the question was where the program knows that.\n\n### How it was done\n\nREA is an MCP server that plugs into AI coding agents; the setup ran on Ubuntu with Ghidra. The target is a stripped binary with no function names, in the same no-source-code situation as most shipping software. One plain English question drove the trace, and the agent reported the hardcoded 1752 date along with the evidence for each claim and flagged what had not been traced.\n\n### Results\n\nThe switch date was located in about 1.5 minutes in the recorded demo. The result was then tested by hand from the terminal: switching the country or using the Julian calendar brings the missing days back, which matches the trace. The full hands-on video is on YouTube, and the reminder to analyse only software you are allowed to examine is in the post.",
  "ai_use_excerpts": null
}
