The tool dumps "GPT Header" and "GPT Partition Header" on Windows.
It is written by pure C (C99).
It can also check SSD 4K alignment.
It can also be built on Ubuntu.
- Download TDM-GCC-64.
- Modify Build.bat for your installation path.
- Run Build.bat (Windows) or Build.sh (Ubuntu).
- If you run it on Windows 10, you must use CMD windows that has administrator privilege.
- You can use argv to dump another disk information -> "WinGPT.exe 1".