I’m working on a personal project that I’ll be adding to my site under the Tools menu that will allow for lookup of Bugcodes. I did some preliminary searching for a CSV file of Bugcodes but I didn’t find any with ease so I decided to just parse bugcodes.h and make one myself.
This is the command I used, on Linux hehe:
grep ^#define bugcodes.h | sed -e 's/#define //g' -e 's/((ULONG)//g' -e 's/L)$//g' | awk '{print $1","$2}'| sort -rn | uniq
Now I have a CSV file that I can import into my database I’m creating. It looks something like the following.
XNS_INTERNAL_ERROR,0x00000057 WORKER_THREAD_RETURNED_WITH_BAD_PAGING_IO_PRIORITY,0x00000129 WORKER_THREAD_RETURNED_WITH_BAD_IO_PRIORITY,0x00000128 WORKER_THREAD_RETURNED_AT_BAD_IRQL,0x000000E1 WORKER_INVALID,0x000000E4
The CSV of Bugcodes is available here: https://techish.net/bugcodes/bugcodes.csv