How sanishpoudel/recover works
recover is a small command-line utility that scans a raw image-card file in 512-byte blocks and extracts JPEG images. The workflow validates the argument, opens and scans the input, detects JPEG headers, and writes numbered output files. All runtime behavior is implemented in recover.c; the graph separates its meaningful stages for clarity.
Main entry points: recover.c CLI entry
Components 6
Other components
- User
- CLI entry
recover.c - Raw card file
- Block scanner
recover.c - JPEG detector
recover.c - Numbered JPEGs
Connections 5
- User → CLI entry: runs
recover.c - CLI entry → Raw card file: opens
recover.c - CLI entry → Block scanner: scans blocks
recover.c - Block scanner → JPEG detector: checks headers
recover.c - JPEG detector → Numbered JPEGs: writes images
recover.c