kver.c is a C script (use tcc for interpreted C) which i wrote for printing the version of a linux kernel image without having to boot said image.