| OLD | NEW |
| (Empty) |
| 1 @hex: | |
| 2 # Sample stubout code, with multiple stubouts. | |
| 3 # | |
| 4 # add %ds:[%eax], %al | |
| 5 00 00 | |
| 6 # ret | |
| 7 c3 | |
| 8 # add %eax, %eax | |
| 9 01 c0 | |
| 10 # Too many prefix bytes | |
| 11 66 66 66 66 00 00 | |
| 12 # nop | |
| 13 90 | |
| 14 # lea %esi, %ds:[%esi+%esp*1] | |
| 15 8d 74 26 00 | |
| 16 # Too many prefix bytes | |
| 17 66 66 66 66 00 00 | |
| 18 @nval: | |
| 19 VALIDATOR: 2: ret instruction (not allowed) | |
| 20 VALIDATOR: 2: Illegal instruction | |
| 21 VALIDATOR: 5: Bad prefix usage | |
| 22 VALIDATOR: 10: Bad prefix usage | |
| 23 *** <input> IS UNSAFE *** | |
| 24 @dis: | |
| 25 00000000: 00 00 add %ds:[%eax], %al | |
| 26 00000002: c3 ret | |
| 27 00000003: 01 c0 add %eax, %eax | |
| 28 00000005: 66 66 66 66 00 00 add %ds:[%eax], %al | |
| 29 0000000b: 90 nop | |
| 30 0000000c: 8d 74 26 00 lea %esi, %ds:[%esi+%es
p*1] | |
| 31 00000010: 66 66 66 66 00 00 add %ds:[%eax], %al | |
| 32 @vdis: | |
| 33 0: 00 00 add [%eax], %eax | |
| 34 2: c3 ret | |
| 35 3: 01 c0 add %eax, %eax | |
| 36 5: 66 66 66 66 00 00 add [%eax], %eax | |
| 37 b: 90 nop | |
| 38 c: 8d 74 26 00 lea %esi, 0x0[%esi] | |
| 39 10: 66 66 66 66 00 00 add [%eax], %eax | |
| 40 @rdfa_output: | |
| 41 2: [0] unrecognized instruction | |
| 42 5: [1] unrecognized instruction | |
| 43 10: [2] unrecognized instruction | |
| 44 return code: 1 | |
| OLD | NEW |