A method of scanning a computer file for virus infection attempts to
identify whether the file contains program code and if it does, it then
attempts to identify the compiler used to generate the code and performs
a frequency distribution analysis of instructions found in the code to
see whether it corresponds with an expected distribution for a program
created with that compiler; if it does not, then the file is flagged as
possibly having a viral infection.