Text this: IMSC: Instruction set architecture monitor and secure cache for protecting processor systems from undocumented instructions