Patch-finding routines used in evasi0n.