A system and apparatus for inserting a watermark into a compiled computer
program selectively replaces specified optimizations by non-optimized
code to encode bit values of the watermark. The watermark is read by
decoding the executable code and assigning the decoded bit values,
determined by the presence or absence of optimized code, to bit positions
in a signature.