• NOTE the code below has not been checked, it is symantec rather than syntactic.

    I think you meant 'semantic', unless your solution is proposing an unorthodox anti-virus methodology 🙂