The compiled code is all that is in the machine, often called machine code.
Machine code can be understood by people but it requires more than a passing familiarity with the instruction set of the CPU used in the machine in question and it takes a lot of time.
The source code could be compiled it to machine code, then compared with what is actually installed in the machine to see if they are the same. If they are not, then that source code wasn't used in that machine.
Without the source, you could compare the machine code between two machines to see if they are different.
A simple check is: Are they the same file size? If not, they were not created from the same source. If they are the same size, you can do a character (byte) by character comparison to see if they are the same.
The compiled code is all that is in the machine, often called machine code.
Machine code can be understood by people but it requires more than a passing familiarity with the instruction set of the CPU used in the machine in question and it takes a lot of time.
The source code could be compiled it to machine code, then compared with what is actually installed in the machine to see if they are the same. If they are not, then that source code wasn't used in that machine.
Without the source, you could compare the machine code between two machines to see if they are different.
A simple check is: Are they the same file size? If not, they were not created from the same source. If they are the same size, you can do a character (byte) by character comparison to see if they are the same.