There may be software to test the degradation of the signals in the processor which happen normally over time, and which are accelerated when overclocking, but I doubt that there is any actual software to say "Hey, this processor has been overclocked" unless the CPU itself stores that information...