| OLD | NEW |
| (Empty) |
| 1 @hex: | |
| 2 # test 1: a first very simple test with an illegal inst. | |
| 3 55 | |
| 4 89 e5 | |
| 5 83 ec 08 | |
| 6 e8 81 00 00 00 | |
| 7 e8 d3 00 00 00 | |
| 8 e8 f3 04 00 00 | |
| 9 c9 | |
| 10 c3 | |
| 11 00 00 f4 | |
| 12 | |
| 13 @nval: | |
| 14 VALIDATOR: 6: JUMP TARGET out of range | |
| 15 VALIDATOR: b: JUMP TARGET out of range | |
| 16 VALIDATOR: 10: JUMP TARGET out of range | |
| 17 VALIDATOR: 16: ret instruction (not allowed) | |
| 18 VALIDATOR: 16: Illegal instruction | |
| 19 *** <input> IS UNSAFE *** | |
| 20 @nvals: | |
| 21 VALIDATOR: 6: JUMP TARGET out of range | |
| 22 VALIDATOR: b: JUMP TARGET out of range | |
| 23 VALIDATOR: 10: JUMP TARGET out of range | |
| 24 VALIDATOR: 16: ret instruction (not allowed) | |
| 25 VALIDATOR: 16: Illegal instruction | |
| 26 *** <input> IS UNSAFE *** | |
| 27 | |
| 28 Opcode Histogram; | |
| 29 1 0x00 1 0x55 1 0x83 1 0x89 | |
| 30 1 0xc3 1 0xc9 3 0xe8 1 0xf4 | |
| 31 Analysis Summary: | |
| 32 10 Checked instructions | |
| 33 3 checked jump targets | |
| 34 0 calls/jumps need dynamic checking (0.00%) | |
| 35 | |
| 36 Problems: | |
| 37 1 illegal instructions | |
| 38 3 bad jump targets | |
| 39 1 illegal unprotected indirect jumps (including ret) | |
| 40 0 instruction alignment defects | |
| 41 0 segmentation errors | |
| 42 0 bad prefix | |
| 43 0 bad instruction length | |
| 44 0 internal errors | |
| 45 @dis: | |
| 46 00000000: 55 push %ebp | |
| 47 00000001: 89 e5 mov %ebp, %esp | |
| 48 00000003: 83 ec 08 sub %esp, 0x8 | |
| 49 00000006: e8 81 00 00 00 call 0x8c | |
| 50 0000000b: e8 d3 00 00 00 call 0xe3 | |
| 51 00000010: e8 f3 04 00 00 call 0x508 | |
| 52 00000015: c9 leave | |
| 53 00000016: c3 ret | |
| 54 00000017: 00 00 add %ds:[%eax], %al | |
| 55 00000019: f4 hlt | |
| 56 @vdis: | |
| 57 0: 55 push %ebp | |
| 58 1: 89 e5 mov %esp, %esp | |
| 59 3: 83 ec 08 sub %ebp, 0x8 | |
| 60 6: e8 81 00 00 00 call 0x8c | |
| 61 b: e8 d3 00 00 00 call 0xe3 | |
| 62 10: e8 f3 04 00 00 call 0x508 | |
| 63 15: c9 leave | |
| 64 16: c3 ret | |
| 65 17: 00 00 add [%eax], %eax | |
| 66 19: f4 hlt | |
| 67 @rdfa_output: | |
| 68 6: [0] direct jump out of range | |
| 69 b: [0] direct jump out of range | |
| 70 10: [0] direct jump out of range | |
| 71 16: [0] unrecognized instruction | |
| 72 return code: 1 | |
| OLD | NEW |