Files
Graham Sutherland 6925bdcb29 Added ATAIdentifyDump and StructDumpCodegen tools to the repo.
ATAIdentifyDump dumps ATA IDENTIFY data from PhysicalDisk0.
StructDumpCodegen is a LINQpad script that quickly generates C++ code
for dumping structs.
2019-04-12 00:55:04 +01:00
..

Struct Dump Codegen

This is a LINQpad script to turn a struct definition into C++ code that prints out its contents. So far it supports USHORT, ULONG, and UCHAR.

This was written specifically for IDENTIFY_DEVICE_DATA in order to speed up writing ATAIdentifyDump.

This can probably be used for similar structs too, so it might be useful elsewhere.