Executables scanning refactoring