Attesor: AI-Powered Reverse Engineering of Rosetta 2 for Linux VM

Attesor is a GitHub repository containing a reverse-engineering project focused on Apple's Rosetta 2 binary translation system. The project aims to understand and document how Rosetta 2 enables x86_64 applications to run on ARM64 Apple Silicon hardware, with potential implications for Linux virtualization.
Project Background
The project documents Apple's architecture transitions: 1994 (Motorola 68000 to PowerPC), 2006 (PowerPC to Intel x86_64), and 2020 (Intel x86_64 to Apple Silicon ARM64). Rosetta 2 is Apple's third-generation binary translation solution, following the original Rosetta (2006-2011) that enabled PowerPC applications on Intel Macs.
Rosetta 2 Architecture
According to the source material, Rosetta 2 operates as a translation layer between x86_64 user applications and the ARM64 macOS kernel. The architecture includes:
- Translator (AOT/JIT): Handles both ahead-of-time and just-in-time translation
- Runtime Library: Provides runtime support functions
- System Call Translation: Converts x86_64 syscalls to ARM64 equivalents
Key Technologies
- Ahead-of-Time (AOT) Translation: Translates x86_64 binaries to ARM64 at install time, storing translated code in a cache
- Just-in-Time (JIT) Translation: Translates code blocks on-demand during execution, handling dynamically loaded code
- Instruction Set Translation: Maps x86_64 to ARM64 instructions, SSE/AVX to NEON vector instructions, and x86_64 flags to ARM64 condition codes
- System Call Translation: Manages different calling conventions and register state across syscall boundaries
Implementation Details
Rosetta 2 is located at /Library/Apple/usr/libexec/oah/ (where "oah" stands for "Old Architecture Hardware"), containing:
rosetta- Main translator binaryrosettad- Rosetta daemonlibrosetta.*- Runtime libraries
On Apple Silicon Macs, Rosetta 2 is not installed by default. Installation is triggered either by the first launch prompt of an Intel application or via the command line with softwareupdate --install-rosetta.
Project Structure
The repository contains multiple files including:
ExportDecomp.javaandexport_decomp.pyfor export and decompilationrosetta_decomp.candrosettad_decomp.cfor decompiled componentsrosetta_function_map.hand various refactored C filesrosetta.TODO.mddocumenting remaining work
The project represents an ongoing effort to document Rosetta 2's internals, which could inform development of similar translation layers for Linux virtualization environments.
📖 Read the full source: HN AI Agents
👀 See Also

ClawsifyAI Agent Handles Email, Research, and Brainstorming Tasks
A developer tested ClawsifyAI, an AI agent-style claw bot, for a week and found it handled emails, research, repetitive work, and brainstorming. The agent provides clear feedback, practical solutions, and sometimes better ideas than originally planned.

Sentinel: Self-Hosted Agent Platform for Claude Code Subscribers
Sentinel is a free, open-source agent platform that runs directly on your existing Claude Code OAuth token without API overhead. It provides a clean operator UI with real-time browser automation via built-in VNC and includes features like Git gating, session trace logs, and structured hierarchical memory.

TranscriptionSuite v1.1.2 adds WhisperX, NeMo, and VibeVoice models
TranscriptionSuite v1.1.2 now offers three transcription pipelines: WhisperX with PyAnnote diarization, NeMo models (Parakeet & Canary) with PyAnnote diarization, and VibeVoice models with built-in diarization. The update includes a model manager, parallel processing, shortcut controls, and a 24kHz recording pipeline for VibeVoice.

LocalSynapse MCP Server Enables Claude to Search Local Documents Offline
LocalSynapse is an MCP server that indexes and searches inside local documents (Word, Excel, PowerPoint, PDF) using hybrid BM25 + AI semantic search. Everything runs locally with no cloud or API keys required.