Hacked together a kernel parser