How hashment/yaffs2-forensic-tool works
This is a standalone YAFFS2 forensic dumper and recovery tool. An investigator supplies a NAND image and format options through the CLI; the CLI configures the forensic engine, which analyzes YAFFS2 objects and supports metadata review, file-version reconstruction, and recovery of deleted or orphaned content. Results can be listed or restored to a filesystem. The engine’s unsampled internals are represented at the documented capability level; edges cite the README or the shown CLI and engine excerpts.
Main entry points: Yaffs2Forensic.py Forensic engine · yaffs2_parser.py CLI options
Components 9
User interface
- CLI options
yaffs2_parser.py
Image analysis
- Forensic engine
Yaffs2Forensic.py - Format detection
Yaffs2Forensic.py - Object analysis
Yaffs2Forensic.py
Forensic results
- History and recovery
Yaffs2Forensic.py - Metadata results
Yaffs2Forensic.py - Filesystem export
Yaffs2Forensic.py
Other components
- Investigator
- NAND image
Connections 9
- Investigator → CLI options: sets options
README.md - CLI options → Forensic engine: configures and invokes
yaffs2_parser.py - Forensic engine → NAND image: opens image
Yaffs2Forensic.py - Forensic engine → Format detection: detects format
README.md - Forensic engine → Object analysis: parses objects
README.md - Object analysis → History and recovery: reconstructs versions and recovers deleted or orphaned files
README.md - Object analysis → Metadata results: extracts metadata
README.md - CLI options → Filesystem export: requests object restoration
yaffs2_parser.py - History and recovery → Filesystem export: exports recovered files
README.md