Not so simple
Also note such things as branch prediction in modern CPUs, for example.
How can you then predict the exact sequence of instructions from the software alone? The exact sequence can surely only be determined for a defined combination of hardware, software and input data.
That seems to be make certainty exponentially more difficult to obtain.