test_genhooks works and creates a functional hooks.c file for the kernel module. After creating the C file, don't forget to change the EOL convention from CR+LF to LF and change the character encoding to UTF-8