Disk Image Analyzer
This is the WebAssembly version of the disk partition analyzer we built in Go. The same core logic that reads MBR and GPT partition tables, now compiled to WebAssembly and running directly in your browser.
Features
- ✅ MBR Partition Analysis - Parse Master Boot Record partition tables
- ✅ GPT Detection & Analysis - Read GUID Partition Table structures
- ✅ Browser-based - No installation required, runs entirely in WebAssembly
- ✅ Privacy First - Files never leave your browser
- ✅ Efficient - Only reads first 512KB for analysis
How It Works
The tool uses the same Go code from my previous article, compiled to WebAssembly:
- Reads the MBR - First 512 bytes to detect partition table type
- Validates signatures - Checks for 0xAA55 MBR signature and “EFI PART” GPT header
- Parses partition entries - Extracts partition information based on detected format
- Displays results - Shows partition details including size, type, and status
Only the first 512KB will be uploaded for analysis
Technical Details
- Language: Go compiled to WebAssembly
- File Size Limit: 512KB (sufficient for partition table analysis)
- Supported Formats: .img, .iso, .vhd, .vmdk disk images
- Browser Support: All modern browsers with WebAssembly support
Why WebAssembly?
By compiling our Go partition analyzer to WebAssembly, we get: - Performance - Near-native speed for binary data parsing - Security - Sandboxed execution in the browser - Portability - Same code runs everywhere without installation - Privacy - No server uploads required
This demonstrates how systems programming tools can be made accessible through modern web technologies while maintaining the performance characteristics of compiled code.