Commit e75d518
committed
fix AflppRedQueen mutator's u64 I2S replacement
When the RQ mutator sees that a 8 byte comparison operand is equal to 8
bytes from the input, then it treats that as an I2S correspondence and
pushes a mutation that replaces those input bytes with a big-endian
encoding of the second comparison operand, `repl` (this process is done
on both the original/byte-swapped versions of the relevant values, to
handle either byte order)
This commit fixes a bit shifting bug (probably typo) that broke the
replacement and made RQ unable to solve the comparison. Instead, we'll
use copy_from_slice1 parent b00894e commit e75d518
1 file changed
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
1079 | | - | |
1080 | | - | |
| 1079 | + | |
1081 | 1080 | | |
1082 | 1081 | | |
1083 | 1082 | | |
| |||
1091 | 1090 | | |
1092 | 1091 | | |
1093 | 1092 | | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
| 1093 | + | |
1098 | 1094 | | |
1099 | | - | |
1100 | 1095 | | |
1101 | 1096 | | |
1102 | 1097 | | |
| |||
1109 | 1104 | | |
1110 | 1105 | | |
1111 | 1106 | | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
| 1107 | + | |
1122 | 1108 | | |
1123 | 1109 | | |
1124 | 1110 | | |
| |||
0 commit comments