Periodic code rot protection