OLD | NEW |
1 /* native_client/src/trusted/validator_ragel/gen/validator_x86_32.c | 1 /* native_client/src/trusted/validator_ragel/gen/validator_x86_32.c |
2 * THIS FILE IS AUTO-GENERATED. DO NOT EDIT. | 2 * THIS FILE IS AUTO-GENERATED. DO NOT EDIT. |
3 * Compiled for ia32 mode. | 3 * Compiled for ia32 mode. |
4 */ | 4 */ |
5 | 5 |
6 #include <assert.h> | 6 #include <assert.h> |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdio.h> | 9 #include <stdio.h> |
10 #include <stdlib.h> | 10 #include <stdlib.h> |
11 #include <string.h> | 11 #include <string.h> |
12 | 12 |
13 #include "native_client/src/trusted/validator_ragel/unreviewed/validator_interna
l.h" | 13 #include "native_client/src/trusted/validator_ragel/validator_internal.h" |
14 | 14 |
15 /* Ignore this information: it's not used by security model in IA32 mode. */ | 15 /* Ignore this information: it's not used by security model in IA32 mode. */ |
16 #undef GET_VEX_PREFIX3 | 16 #undef GET_VEX_PREFIX3 |
17 #define GET_VEX_PREFIX3 0 | 17 #define GET_VEX_PREFIX3 0 |
18 #undef SET_VEX_PREFIX3 | 18 #undef SET_VEX_PREFIX3 |
19 #define SET_VEX_PREFIX3(P) | 19 #define SET_VEX_PREFIX3(P) |
20 | 20 |
21 | 21 |
22 | 22 |
23 | 23 |
24 | 24 |
25 static const int x86_32_validator_start = 247; | 25 static const int x86_32_validator_start = 247; |
26 static const int x86_32_validator_first_final = 247; | 26 static const int x86_32_validator_first_final = 247; |
27 static const int x86_32_validator_error = 0; | 27 static const int x86_32_validator_error = 0; |
28 | 28 |
29 static const int x86_32_validator_en_main = 247; | 29 static const int x86_32_validator_en_main = 247; |
30 | 30 |
31 | 31 |
32 | 32 |
33 | 33 |
34 Bool ValidateChunkIA32(const uint8_t *data, size_t size, | 34 Bool ValidateChunkIA32(const uint8_t *data, size_t size, |
35 enum validation_options options, | 35 enum validation_options options, |
36 const NaClCPUFeaturesX86 *cpu_features, | 36 const NaClCPUFeaturesX86 *cpu_features, |
37 validation_callback_func user_callback, | 37 ValidationCallbackFunc user_callback, |
38 void *callback_data) { | 38 void *callback_data) { |
39 bitmap_word valid_targets_small; | 39 bitmap_word valid_targets_small; |
40 bitmap_word jump_dests_small; | 40 bitmap_word jump_dests_small; |
41 bitmap_word *valid_targets; | 41 bitmap_word *valid_targets; |
42 bitmap_word *jump_dests; | 42 bitmap_word *jump_dests; |
43 const uint8_t *current_position; | 43 const uint8_t *current_position; |
44 const uint8_t *end_of_bundle; | 44 const uint8_t *end_of_bundle; |
45 int result = TRUE; | 45 int result = TRUE; |
46 | 46 |
47 CHECK(sizeof valid_targets_small == sizeof jump_dests_small); | 47 CHECK(sizeof valid_targets_small == sizeof jump_dests_small); |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 } | 638 } |
639 /* On successful match the instruction start must point to the next byte | 639 /* On successful match the instruction start must point to the next byte |
640 * to be able to report the new offset as the start of instruction | 640 * to be able to report the new offset as the start of instruction |
641 * causing error. */ | 641 * causing error. */ |
642 instruction_start = current_position + 1; | 642 instruction_start = current_position + 1; |
643 instruction_info_collected = 0; | 643 instruction_info_collected = 0; |
644 } | 644 } |
645 goto st247; | 645 goto st247; |
646 tr419: | 646 tr419: |
647 { | 647 { |
648 BitmapClearBit(valid_targets, (current_position - data) - 1); | 648 MakeJumpTargetInvalid((current_position - data) - 1, valid_targets); |
649 instruction_start -= 3; | 649 instruction_start -= 3; |
650 instruction_info_collected |= SPECIAL_INSTRUCTION; | 650 instruction_info_collected |= SPECIAL_INSTRUCTION; |
651 } | 651 } |
652 { | 652 { |
653 if (((current_position - data) & kBundleMask) != kBundleMask) | 653 if (((current_position - data) & kBundleMask) != kBundleMask) |
654 instruction_info_collected |= BAD_CALL_ALIGNMENT; | 654 instruction_info_collected |= BAD_CALL_ALIGNMENT; |
655 } | 655 } |
656 { | 656 { |
657 if ((instruction_info_collected & | 657 if ((instruction_info_collected & |
658 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || | 658 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || |
659 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { | 659 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { |
660 result &= user_callback(instruction_start, current_position, | 660 result &= user_callback(instruction_start, current_position, |
661 instruction_info_collected, callback_data); | 661 instruction_info_collected, callback_data); |
662 } | 662 } |
663 /* On successful match the instruction start must point to the next byte | 663 /* On successful match the instruction start must point to the next byte |
664 * to be able to report the new offset as the start of instruction | 664 * to be able to report the new offset as the start of instruction |
665 * causing error. */ | 665 * causing error. */ |
666 instruction_start = current_position + 1; | 666 instruction_start = current_position + 1; |
667 instruction_info_collected = 0; | 667 instruction_info_collected = 0; |
668 } | 668 } |
669 goto st247; | 669 goto st247; |
670 tr420: | 670 tr420: |
671 { | 671 { |
672 BitmapClearBit(valid_targets, (current_position - data) - 1); | 672 MakeJumpTargetInvalid((current_position - data) - 1, valid_targets); |
673 instruction_start -= 3; | 673 instruction_start -= 3; |
674 instruction_info_collected |= SPECIAL_INSTRUCTION; | 674 instruction_info_collected |= SPECIAL_INSTRUCTION; |
675 } | 675 } |
676 { | 676 { |
677 if ((instruction_info_collected & | 677 if ((instruction_info_collected & |
678 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || | 678 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || |
679 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { | 679 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { |
680 result &= user_callback(instruction_start, current_position, | 680 result &= user_callback(instruction_start, current_position, |
681 instruction_info_collected, callback_data); | 681 instruction_info_collected, callback_data); |
682 } | 682 } |
683 /* On successful match the instruction start must point to the next byte | 683 /* On successful match the instruction start must point to the next byte |
684 * to be able to report the new offset as the start of instruction | 684 * to be able to report the new offset as the start of instruction |
685 * causing error. */ | 685 * causing error. */ |
686 instruction_start = current_position + 1; | 686 instruction_start = current_position + 1; |
687 instruction_info_collected = 0; | 687 instruction_info_collected = 0; |
688 } | 688 } |
689 goto st247; | 689 goto st247; |
690 tr434: | 690 tr434: |
691 { | 691 { |
692 BitmapSetBit(valid_targets, current_position - data); | 692 MakeJumpTargetValid(current_position - data, valid_targets); |
693 } | 693 } |
694 { | 694 { |
695 if ((instruction_info_collected & | 695 if ((instruction_info_collected & |
696 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || | 696 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || |
697 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { | 697 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { |
698 result &= user_callback(instruction_start, current_position, | 698 result &= user_callback(instruction_start, current_position, |
699 instruction_info_collected, callback_data); | 699 instruction_info_collected, callback_data); |
700 } | 700 } |
701 /* On successful match the instruction start must point to the next byte | 701 /* On successful match the instruction start must point to the next byte |
702 * to be able to report the new offset as the start of instruction | 702 * to be able to report the new offset as the start of instruction |
703 * causing error. */ | 703 * causing error. */ |
704 instruction_start = current_position + 1; | 704 instruction_start = current_position + 1; |
705 instruction_info_collected = 0; | 705 instruction_info_collected = 0; |
706 } | 706 } |
707 goto st247; | 707 goto st247; |
708 tr443: | 708 tr443: |
709 { | 709 { |
710 BitmapSetBit(valid_targets, current_position - data); | 710 MakeJumpTargetValid(current_position - data, valid_targets); |
711 } | 711 } |
712 { SET_CPU_FEATURE(CPUFeature_x87); } | 712 { SET_CPU_FEATURE(CPUFeature_x87); } |
713 { | 713 { |
714 if ((instruction_info_collected & | 714 if ((instruction_info_collected & |
715 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || | 715 (VALIDATION_ERRORS_MASK | BAD_CALL_ALIGNMENT)) || |
716 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { | 716 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { |
717 result &= user_callback(instruction_start, current_position, | 717 result &= user_callback(instruction_start, current_position, |
718 instruction_info_collected, callback_data); | 718 instruction_info_collected, callback_data); |
719 } | 719 } |
720 /* On successful match the instruction start must point to the next byte | 720 /* On successful match the instruction start must point to the next byte |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 { SET_CPU_FEATURE(CPUFeature_SSE3); } | 979 { SET_CPU_FEATURE(CPUFeature_SSE3); } |
980 goto st1; | 980 goto st1; |
981 tr415: | 981 tr415: |
982 { | 982 { |
983 SET_REPZ_PREFIX(FALSE); | 983 SET_REPZ_PREFIX(FALSE); |
984 } | 984 } |
985 { SET_CPU_FEATURE(CPUFeature_SSE2); } | 985 { SET_CPU_FEATURE(CPUFeature_SSE2); } |
986 goto st1; | 986 goto st1; |
987 tr428: | 987 tr428: |
988 { | 988 { |
989 BitmapSetBit(valid_targets, current_position - data); | 989 MakeJumpTargetValid(current_position - data, valid_targets); |
990 } | 990 } |
991 goto st1; | 991 goto st1; |
992 st1: | 992 st1: |
993 if ( ++( current_position) == ( end_of_bundle) ) | 993 if ( ++( current_position) == ( end_of_bundle) ) |
994 goto _test_eof1; | 994 goto _test_eof1; |
995 case 1: | 995 case 1: |
996 switch( (*( current_position)) ) { | 996 switch( (*( current_position)) ) { |
997 case 4u: goto st2; | 997 case 4u: goto st2; |
998 case 5u: goto st3; | 998 case 5u: goto st3; |
999 case 12u: goto st2; | 999 case 12u: goto st2; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 { SET_CPU_FEATURE(CPUFeature_BMI1); } | 1121 { SET_CPU_FEATURE(CPUFeature_BMI1); } |
1122 goto st3; | 1122 goto st3; |
1123 tr306: | 1123 tr306: |
1124 { SET_CPU_FEATURE(CPUFeature_AVX); } | 1124 { SET_CPU_FEATURE(CPUFeature_AVX); } |
1125 goto st3; | 1125 goto st3; |
1126 tr383: | 1126 tr383: |
1127 { SET_CPU_FEATURE(CPUFeature_x87); } | 1127 { SET_CPU_FEATURE(CPUFeature_x87); } |
1128 goto st3; | 1128 goto st3; |
1129 tr444: | 1129 tr444: |
1130 { | 1130 { |
1131 BitmapSetBit(valid_targets, current_position - data); | 1131 MakeJumpTargetValid(current_position - data, valid_targets); |
1132 } | 1132 } |
1133 goto st3; | 1133 goto st3; |
1134 st3: | 1134 st3: |
1135 if ( ++( current_position) == ( end_of_bundle) ) | 1135 if ( ++( current_position) == ( end_of_bundle) ) |
1136 goto _test_eof3; | 1136 goto _test_eof3; |
1137 case 3: | 1137 case 3: |
1138 goto st4; | 1138 goto st4; |
1139 st4: | 1139 st4: |
1140 if ( ++( current_position) == ( end_of_bundle) ) | 1140 if ( ++( current_position) == ( end_of_bundle) ) |
1141 goto _test_eof4; | 1141 goto _test_eof4; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 { SET_CPU_FEATURE(CPUFeature_AVX); } | 1287 { SET_CPU_FEATURE(CPUFeature_AVX); } |
1288 goto st10; | 1288 goto st10; |
1289 tr408: | 1289 tr408: |
1290 { | 1290 { |
1291 SET_IMM2_TYPE(IMM8); | 1291 SET_IMM2_TYPE(IMM8); |
1292 SET_IMM2_PTR(current_position); | 1292 SET_IMM2_PTR(current_position); |
1293 } | 1293 } |
1294 goto st10; | 1294 goto st10; |
1295 tr429: | 1295 tr429: |
1296 { | 1296 { |
1297 BitmapSetBit(valid_targets, current_position - data); | 1297 MakeJumpTargetValid(current_position - data, valid_targets); |
1298 } | 1298 } |
1299 goto st10; | 1299 goto st10; |
1300 st10: | 1300 st10: |
1301 if ( ++( current_position) == ( end_of_bundle) ) | 1301 if ( ++( current_position) == ( end_of_bundle) ) |
1302 goto _test_eof10; | 1302 goto _test_eof10; |
1303 case 10: | 1303 case 10: |
1304 goto tr11; | 1304 goto tr11; |
1305 tr224: | 1305 tr224: |
1306 { | 1306 { |
1307 SET_DISP_TYPE(DISP32); | 1307 SET_DISP_TYPE(DISP32); |
1308 SET_DISP_PTR(current_position - 3); | 1308 SET_DISP_PTR(current_position - 3); |
1309 } | 1309 } |
1310 goto st11; | 1310 goto st11; |
1311 tr225: | 1311 tr225: |
1312 { | 1312 { |
1313 SET_DISP_TYPE(DISP8); | 1313 SET_DISP_TYPE(DISP8); |
1314 SET_DISP_PTR(current_position); | 1314 SET_DISP_PTR(current_position); |
1315 } | 1315 } |
1316 goto st11; | 1316 goto st11; |
1317 tr274: | 1317 tr274: |
1318 { SET_CPU_FEATURE(CPUFeature_LWP); } | 1318 { SET_CPU_FEATURE(CPUFeature_LWP); } |
1319 goto st11; | 1319 goto st11; |
1320 tr430: | 1320 tr430: |
1321 { | 1321 { |
1322 BitmapSetBit(valid_targets, current_position - data); | 1322 MakeJumpTargetValid(current_position - data, valid_targets); |
1323 } | 1323 } |
1324 goto st11; | 1324 goto st11; |
1325 st11: | 1325 st11: |
1326 if ( ++( current_position) == ( end_of_bundle) ) | 1326 if ( ++( current_position) == ( end_of_bundle) ) |
1327 goto _test_eof11; | 1327 goto _test_eof11; |
1328 case 11: | 1328 case 11: |
1329 goto st12; | 1329 goto st12; |
1330 st12: | 1330 st12: |
1331 if ( ++( current_position) == ( end_of_bundle) ) | 1331 if ( ++( current_position) == ( end_of_bundle) ) |
1332 goto _test_eof12; | 1332 goto _test_eof12; |
(...skipping 14 matching lines...) Expand all Loading... |
1347 result &= user_callback(instruction_start, current_position, | 1347 result &= user_callback(instruction_start, current_position, |
1348 UNRECOGNIZED_INSTRUCTION, callback_data); | 1348 UNRECOGNIZED_INSTRUCTION, callback_data); |
1349 continue; | 1349 continue; |
1350 } | 1350 } |
1351 goto st0; | 1351 goto st0; |
1352 st0: | 1352 st0: |
1353 ( current_state) = 0; | 1353 ( current_state) = 0; |
1354 goto _out; | 1354 goto _out; |
1355 tr431: | 1355 tr431: |
1356 { | 1356 { |
1357 BitmapSetBit(valid_targets, current_position - data); | 1357 MakeJumpTargetValid(current_position - data, valid_targets); |
1358 } | 1358 } |
1359 goto st15; | 1359 goto st15; |
1360 st15: | 1360 st15: |
1361 if ( ++( current_position) == ( end_of_bundle) ) | 1361 if ( ++( current_position) == ( end_of_bundle) ) |
1362 goto _test_eof15; | 1362 goto _test_eof15; |
1363 case 15: | 1363 case 15: |
1364 switch( (*( current_position)) ) { | 1364 switch( (*( current_position)) ) { |
1365 case 1u: goto st16; | 1365 case 1u: goto st16; |
1366 case 11u: goto tr0; | 1366 case 11u: goto tr0; |
1367 case 13u: goto st17; | 1367 case 13u: goto st17; |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1758 { SET_CPU_FEATURE(CPUFeature_SSE4A); } | 1758 { SET_CPU_FEATURE(CPUFeature_SSE4A); } |
1759 goto st29; | 1759 goto st29; |
1760 tr414: | 1760 tr414: |
1761 { | 1761 { |
1762 SET_REPZ_PREFIX(FALSE); | 1762 SET_REPZ_PREFIX(FALSE); |
1763 } | 1763 } |
1764 { SET_CPU_FEATURE(CPUFeature_SSE4A); } | 1764 { SET_CPU_FEATURE(CPUFeature_SSE4A); } |
1765 goto st29; | 1765 goto st29; |
1766 tr441: | 1766 tr441: |
1767 { | 1767 { |
1768 BitmapSetBit(valid_targets, current_position - data); | 1768 MakeJumpTargetValid(current_position - data, valid_targets); |
1769 } | 1769 } |
1770 goto st29; | 1770 goto st29; |
1771 st29: | 1771 st29: |
1772 if ( ++( current_position) == ( end_of_bundle) ) | 1772 if ( ++( current_position) == ( end_of_bundle) ) |
1773 goto _test_eof29; | 1773 goto _test_eof29; |
1774 case 29: | 1774 case 29: |
1775 switch( (*( current_position)) ) { | 1775 switch( (*( current_position)) ) { |
1776 case 4u: goto st2; | 1776 case 4u: goto st2; |
| 1777 case 5u: goto st3; |
1777 case 12u: goto st2; | 1778 case 12u: goto st2; |
| 1779 case 13u: goto st3; |
1778 case 20u: goto st2; | 1780 case 20u: goto st2; |
| 1781 case 21u: goto st3; |
1779 case 28u: goto st2; | 1782 case 28u: goto st2; |
| 1783 case 29u: goto st3; |
1780 case 36u: goto st2; | 1784 case 36u: goto st2; |
| 1785 case 37u: goto st3; |
1781 case 44u: goto st2; | 1786 case 44u: goto st2; |
| 1787 case 45u: goto st3; |
1782 case 52u: goto st2; | 1788 case 52u: goto st2; |
| 1789 case 53u: goto st3; |
1783 case 60u: goto st2; | 1790 case 60u: goto st2; |
| 1791 case 61u: goto st3; |
1784 case 68u: goto st8; | 1792 case 68u: goto st8; |
1785 case 76u: goto st8; | 1793 case 76u: goto st8; |
1786 case 84u: goto st8; | 1794 case 84u: goto st8; |
1787 case 92u: goto st8; | 1795 case 92u: goto st8; |
1788 case 100u: goto st8; | 1796 case 100u: goto st8; |
1789 case 108u: goto st8; | 1797 case 108u: goto st8; |
1790 case 116u: goto st8; | 1798 case 116u: goto st8; |
1791 case 124u: goto st8; | 1799 case 124u: goto st8; |
1792 case 132u: goto st9; | 1800 case 132u: goto st9; |
1793 case 140u: goto st9; | 1801 case 140u: goto st9; |
1794 case 148u: goto st9; | 1802 case 148u: goto st9; |
1795 case 156u: goto st9; | 1803 case 156u: goto st9; |
1796 case 164u: goto st9; | 1804 case 164u: goto st9; |
1797 case 172u: goto st9; | 1805 case 172u: goto st9; |
1798 case 180u: goto st9; | 1806 case 180u: goto st9; |
1799 case 188u: goto st9; | 1807 case 188u: goto st9; |
1800 } | 1808 } |
1801 » if ( (*( current_position)) < 38u ) { | 1809 » if ( (*( current_position)) < 64u ) { |
1802 » » if ( (*( current_position)) < 14u ) { | 1810 » » if ( (*( current_position)) <= 63u ) |
1803 » » » if ( (*( current_position)) > 3u ) { | |
1804 » » » » if ( 6u <= (*( current_position)) && (*( current
_position)) <= 11u ) | |
1805 » » » » » goto tr0; | |
1806 » » » } else | |
1807 » » » » goto tr0; | |
1808 » » } else if ( (*( current_position)) > 19u ) { | |
1809 » » » if ( (*( current_position)) > 27u ) { | |
1810 » » » » if ( 30u <= (*( current_position)) && (*( curren
t_position)) <= 35u ) | |
1811 » » » » » goto tr0; | |
1812 » » » } else if ( (*( current_position)) >= 22u ) | |
1813 » » » » goto tr0; | |
1814 » » } else | |
1815 goto tr0; | 1811 goto tr0; |
1816 » } else if ( (*( current_position)) > 43u ) { | 1812 » } else if ( (*( current_position)) > 127u ) { |
1817 » » if ( (*( current_position)) < 62u ) { | 1813 » » if ( 128u <= (*( current_position)) && (*( current_position)) <=
191u ) |
1818 » » » if ( (*( current_position)) > 51u ) { | 1814 » » » goto st3; |
1819 » » » » if ( 54u <= (*( current_position)) && (*( curren
t_position)) <= 59u ) | |
1820 » » » » » goto tr0; | |
1821 » » » } else if ( (*( current_position)) >= 46u ) | |
1822 » » » » goto tr0; | |
1823 » » } else if ( (*( current_position)) > 63u ) { | |
1824 » » » if ( (*( current_position)) > 127u ) { | |
1825 » » » » if ( 192u <= (*( current_position)) ) | |
1826 » » » » » goto tr16; | |
1827 » » » } else if ( (*( current_position)) >= 64u ) | |
1828 » » » » goto st7; | |
1829 » » } else | |
1830 » » » goto tr0; | |
1831 } else | 1815 } else |
1832 » » goto tr0; | 1816 » » goto st7; |
1833 » goto st3; | 1817 » goto tr16; |
1834 st30: | 1818 st30: |
1835 if ( ++( current_position) == ( end_of_bundle) ) | 1819 if ( ++( current_position) == ( end_of_bundle) ) |
1836 goto _test_eof30; | 1820 goto _test_eof30; |
1837 case 30: | 1821 case 30: |
1838 switch( (*( current_position)) ) { | 1822 switch( (*( current_position)) ) { |
1839 case 4u: goto tr72; | 1823 case 4u: goto tr72; |
1840 case 5u: goto tr73; | 1824 case 5u: goto tr73; |
1841 case 12u: goto tr72; | 1825 case 12u: goto tr72; |
1842 case 13u: goto tr73; | 1826 case 13u: goto tr73; |
1843 case 20u: goto tr72; | 1827 case 20u: goto tr72; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1979 { SET_CPU_FEATURE(CPUFeature_SSE); } | 1963 { SET_CPU_FEATURE(CPUFeature_SSE); } |
1980 goto st34; | 1964 goto st34; |
1981 tr416: | 1965 tr416: |
1982 { | 1966 { |
1983 SET_REPZ_PREFIX(FALSE); | 1967 SET_REPZ_PREFIX(FALSE); |
1984 } | 1968 } |
1985 { SET_CPU_FEATURE(CPUFeature_SSE2); } | 1969 { SET_CPU_FEATURE(CPUFeature_SSE2); } |
1986 goto st34; | 1970 goto st34; |
1987 tr438: | 1971 tr438: |
1988 { | 1972 { |
1989 BitmapSetBit(valid_targets, current_position - data); | 1973 MakeJumpTargetValid(current_position - data, valid_targets); |
1990 } | 1974 } |
1991 goto st34; | 1975 goto st34; |
1992 st34: | 1976 st34: |
1993 if ( ++( current_position) == ( end_of_bundle) ) | 1977 if ( ++( current_position) == ( end_of_bundle) ) |
1994 goto _test_eof34; | 1978 goto _test_eof34; |
1995 case 34: | 1979 case 34: |
1996 switch( (*( current_position)) ) { | 1980 switch( (*( current_position)) ) { |
1997 case 4u: goto st35; | 1981 case 4u: goto st35; |
1998 case 5u: goto st36; | 1982 case 5u: goto st36; |
1999 case 12u: goto st35; | 1983 case 12u: goto st35; |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2264 goto _test_eof45; | 2248 goto _test_eof45; |
2265 case 45: | 2249 case 45: |
2266 if ( (*( current_position)) > 215u ) { | 2250 if ( (*( current_position)) > 215u ) { |
2267 if ( 240u <= (*( current_position)) && (*( current_position)) <=
247u ) | 2251 if ( 240u <= (*( current_position)) && (*( current_position)) <=
247u ) |
2268 goto tr91; | 2252 goto tr91; |
2269 } else if ( (*( current_position)) >= 208u ) | 2253 } else if ( (*( current_position)) >= 208u ) |
2270 goto tr91; | 2254 goto tr91; |
2271 goto tr16; | 2255 goto tr16; |
2272 tr460: | 2256 tr460: |
2273 { | 2257 { |
2274 BitmapSetBit(valid_targets, current_position - data); | 2258 MakeJumpTargetValid(current_position - data, valid_targets); |
2275 } | 2259 } |
2276 goto st46; | 2260 goto st46; |
2277 st46: | 2261 st46: |
2278 if ( ++( current_position) == ( end_of_bundle) ) | 2262 if ( ++( current_position) == ( end_of_bundle) ) |
2279 goto _test_eof46; | 2263 goto _test_eof46; |
2280 case 46: | 2264 case 46: |
2281 goto st47; | 2265 goto st47; |
2282 st47: | 2266 st47: |
2283 if ( ++( current_position) == ( end_of_bundle) ) | 2267 if ( ++( current_position) == ( end_of_bundle) ) |
2284 goto _test_eof47; | 2268 goto _test_eof47; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2448 if ( 8u <= (*( current_position)) && (*( current_position)) <= 1
5u ) | 2432 if ( 8u <= (*( current_position)) && (*( current_position)) <= 1
5u ) |
2449 goto tr115; | 2433 goto tr115; |
2450 } else if ( (*( current_position)) > 79u ) { | 2434 } else if ( (*( current_position)) > 79u ) { |
2451 if ( 136u <= (*( current_position)) && (*( current_position)) <=
143u ) | 2435 if ( 136u <= (*( current_position)) && (*( current_position)) <=
143u ) |
2452 goto tr117; | 2436 goto tr117; |
2453 } else | 2437 } else |
2454 goto tr118; | 2438 goto tr118; |
2455 goto tr16; | 2439 goto tr16; |
2456 tr432: | 2440 tr432: |
2457 { | 2441 { |
2458 BitmapSetBit(valid_targets, current_position - data); | 2442 MakeJumpTargetValid(current_position - data, valid_targets); |
2459 } | 2443 } |
2460 { | 2444 { |
2461 SET_BRANCH_NOT_TAKEN(TRUE); | 2445 SET_BRANCH_NOT_TAKEN(TRUE); |
2462 } | 2446 } |
2463 goto st54; | 2447 goto st54; |
2464 tr433: | 2448 tr433: |
2465 { | 2449 { |
2466 BitmapSetBit(valid_targets, current_position - data); | 2450 MakeJumpTargetValid(current_position - data, valid_targets); |
2467 } | 2451 } |
2468 { | 2452 { |
2469 SET_BRANCH_TAKEN(TRUE); | 2453 SET_BRANCH_TAKEN(TRUE); |
2470 } | 2454 } |
2471 goto st54; | 2455 goto st54; |
2472 st54: | 2456 st54: |
2473 if ( ++( current_position) == ( end_of_bundle) ) | 2457 if ( ++( current_position) == ( end_of_bundle) ) |
2474 goto _test_eof54; | 2458 goto _test_eof54; |
2475 case 54: | 2459 case 54: |
2476 if ( (*( current_position)) == 15u ) | 2460 if ( (*( current_position)) == 15u ) |
2477 goto st55; | 2461 goto st55; |
2478 if ( 112u <= (*( current_position)) && (*( current_position)) <= 127u ) | 2462 if ( 112u <= (*( current_position)) && (*( current_position)) <= 127u ) |
2479 goto st56; | 2463 goto st56; |
2480 goto tr16; | 2464 goto tr16; |
2481 st55: | 2465 st55: |
2482 if ( ++( current_position) == ( end_of_bundle) ) | 2466 if ( ++( current_position) == ( end_of_bundle) ) |
2483 goto _test_eof55; | 2467 goto _test_eof55; |
2484 case 55: | 2468 case 55: |
2485 if ( 128u <= (*( current_position)) && (*( current_position)) <= 143u ) | 2469 if ( 128u <= (*( current_position)) && (*( current_position)) <= 143u ) |
2486 goto st46; | 2470 goto st46; |
2487 goto tr16; | 2471 goto tr16; |
2488 tr439: | 2472 tr439: |
2489 { | 2473 { |
2490 BitmapSetBit(valid_targets, current_position - data); | 2474 MakeJumpTargetValid(current_position - data, valid_targets); |
2491 } | 2475 } |
2492 goto st56; | 2476 goto st56; |
2493 st56: | 2477 st56: |
2494 if ( ++( current_position) == ( end_of_bundle) ) | 2478 if ( ++( current_position) == ( end_of_bundle) ) |
2495 goto _test_eof56; | 2479 goto _test_eof56; |
2496 case 56: | 2480 case 56: |
2497 goto tr123; | 2481 goto tr123; |
2498 tr435: | 2482 tr435: |
2499 { | 2483 { |
2500 BitmapSetBit(valid_targets, current_position - data); | 2484 MakeJumpTargetValid(current_position - data, valid_targets); |
2501 } | 2485 } |
2502 goto st57; | 2486 goto st57; |
2503 st57: | 2487 st57: |
2504 if ( ++( current_position) == ( end_of_bundle) ) | 2488 if ( ++( current_position) == ( end_of_bundle) ) |
2505 goto _test_eof57; | 2489 goto _test_eof57; |
2506 case 57: | 2490 case 57: |
2507 switch( (*( current_position)) ) { | 2491 switch( (*( current_position)) ) { |
2508 case 139u: goto st58; | 2492 case 139u: goto st58; |
2509 case 161u: goto st59; | 2493 case 161u: goto st59; |
2510 } | 2494 } |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2549 goto tr16; | 2533 goto tr16; |
2550 st62: | 2534 st62: |
2551 if ( ++( current_position) == ( end_of_bundle) ) | 2535 if ( ++( current_position) == ( end_of_bundle) ) |
2552 goto _test_eof62; | 2536 goto _test_eof62; |
2553 case 62: | 2537 case 62: |
2554 if ( (*( current_position)) == 0u ) | 2538 if ( (*( current_position)) == 0u ) |
2555 goto tr0; | 2539 goto tr0; |
2556 goto tr16; | 2540 goto tr16; |
2557 tr436: | 2541 tr436: |
2558 { | 2542 { |
2559 BitmapSetBit(valid_targets, current_position - data); | 2543 MakeJumpTargetValid(current_position - data, valid_targets); |
2560 } | 2544 } |
2561 { | 2545 { |
2562 SET_DATA16_PREFIX(TRUE); | 2546 SET_DATA16_PREFIX(TRUE); |
2563 } | 2547 } |
2564 goto st63; | 2548 goto st63; |
2565 st63: | 2549 st63: |
2566 if ( ++( current_position) == ( end_of_bundle) ) | 2550 if ( ++( current_position) == ( end_of_bundle) ) |
2567 goto _test_eof63; | 2551 goto _test_eof63; |
2568 case 63: | 2552 case 63: |
2569 switch( (*( current_position)) ) { | 2553 switch( (*( current_position)) ) { |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3115 goto _test_eof94; | 3099 goto _test_eof94; |
3116 case 94: | 3100 case 94: |
3117 goto st93; | 3101 goto st93; |
3118 st95: | 3102 st95: |
3119 if ( ++( current_position) == ( end_of_bundle) ) | 3103 if ( ++( current_position) == ( end_of_bundle) ) |
3120 goto _test_eof95; | 3104 goto _test_eof95; |
3121 case 95: | 3105 case 95: |
3122 goto st89; | 3106 goto st89; |
3123 tr445: | 3107 tr445: |
3124 { | 3108 { |
3125 BitmapSetBit(valid_targets, current_position - data); | 3109 MakeJumpTargetValid(current_position - data, valid_targets); |
3126 } | 3110 } |
3127 goto st96; | 3111 goto st96; |
3128 st96: | 3112 st96: |
3129 if ( ++( current_position) == ( end_of_bundle) ) | 3113 if ( ++( current_position) == ( end_of_bundle) ) |
3130 goto _test_eof96; | 3114 goto _test_eof96; |
3131 case 96: | 3115 case 96: |
3132 switch( (*( current_position)) ) { | 3116 switch( (*( current_position)) ) { |
3133 case 4u: goto st35; | 3117 case 4u: goto st35; |
3134 case 5u: goto st36; | 3118 case 5u: goto st36; |
3135 case 12u: goto st35; | 3119 case 12u: goto st35; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3200 if ( (*( current_position)) > 135u ) { | 3184 if ( (*( current_position)) > 135u ) { |
3201 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 199u ) | 3185 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 199u ) |
3202 goto st64; | 3186 goto st64; |
3203 } else if ( (*( current_position)) >= 128u ) | 3187 } else if ( (*( current_position)) >= 128u ) |
3204 goto st89; | 3188 goto st89; |
3205 } else | 3189 } else |
3206 goto st93; | 3190 goto st93; |
3207 goto tr16; | 3191 goto tr16; |
3208 tr450: | 3192 tr450: |
3209 { | 3193 { |
3210 BitmapSetBit(valid_targets, current_position - data); | 3194 MakeJumpTargetValid(current_position - data, valid_targets); |
3211 } | 3195 } |
3212 goto st98; | 3196 goto st98; |
3213 st98: | 3197 st98: |
3214 if ( ++( current_position) == ( end_of_bundle) ) | 3198 if ( ++( current_position) == ( end_of_bundle) ) |
3215 goto _test_eof98; | 3199 goto _test_eof98; |
3216 case 98: | 3200 case 98: |
3217 switch( (*( current_position)) ) { | 3201 switch( (*( current_position)) ) { |
3218 case 4u: goto st2; | 3202 case 4u: goto st2; |
3219 case 5u: goto st3; | 3203 case 5u: goto st3; |
3220 case 12u: goto st2; | 3204 case 12u: goto st2; |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3557 goto tr16; | 3541 goto tr16; |
3558 } else if ( (*( current_position)) >= 192u ) | 3542 } else if ( (*( current_position)) >= 192u ) |
3559 goto st64; | 3543 goto st64; |
3560 } else | 3544 } else |
3561 goto st3; | 3545 goto st3; |
3562 } else | 3546 } else |
3563 goto st7; | 3547 goto st7; |
3564 goto tr0; | 3548 goto tr0; |
3565 tr467: | 3549 tr467: |
3566 { | 3550 { |
3567 BitmapSetBit(valid_targets, current_position - data); | 3551 MakeJumpTargetValid(current_position - data, valid_targets); |
3568 } | 3552 } |
3569 goto st110; | 3553 goto st110; |
3570 st110: | 3554 st110: |
3571 if ( ++( current_position) == ( end_of_bundle) ) | 3555 if ( ++( current_position) == ( end_of_bundle) ) |
3572 goto _test_eof110; | 3556 goto _test_eof110; |
3573 case 110: | 3557 case 110: |
3574 switch( (*( current_position)) ) { | 3558 switch( (*( current_position)) ) { |
3575 case 4u: goto st2; | 3559 case 4u: goto st2; |
3576 case 5u: goto st3; | 3560 case 5u: goto st3; |
3577 case 12u: goto st2; | 3561 case 12u: goto st2; |
(...skipping 29 matching lines...) Expand all Loading... |
3607 } else | 3591 } else |
3608 goto st3; | 3592 goto st3; |
3609 } else | 3593 } else |
3610 goto st7; | 3594 goto st7; |
3611 goto tr16; | 3595 goto tr16; |
3612 tr280: | 3596 tr280: |
3613 { SET_CPU_FEATURE(CPUFeature_BMI1); } | 3597 { SET_CPU_FEATURE(CPUFeature_BMI1); } |
3614 goto st111; | 3598 goto st111; |
3615 tr437: | 3599 tr437: |
3616 { | 3600 { |
3617 BitmapSetBit(valid_targets, current_position - data); | 3601 MakeJumpTargetValid(current_position - data, valid_targets); |
3618 } | 3602 } |
3619 goto st111; | 3603 goto st111; |
3620 st111: | 3604 st111: |
3621 if ( ++( current_position) == ( end_of_bundle) ) | 3605 if ( ++( current_position) == ( end_of_bundle) ) |
3622 goto _test_eof111; | 3606 goto _test_eof111; |
3623 case 111: | 3607 case 111: |
3624 switch( (*( current_position)) ) { | 3608 switch( (*( current_position)) ) { |
3625 case 4u: goto st112; | 3609 case 4u: goto st112; |
3626 case 5u: goto st113; | 3610 case 5u: goto st113; |
3627 case 12u: goto st112; | 3611 case 12u: goto st112; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3745 tr279: | 3729 tr279: |
3746 { SET_CPU_FEATURE(CPUFeature_LWP); } | 3730 { SET_CPU_FEATURE(CPUFeature_LWP); } |
3747 goto st119; | 3731 goto st119; |
3748 st119: | 3732 st119: |
3749 if ( ++( current_position) == ( end_of_bundle) ) | 3733 if ( ++( current_position) == ( end_of_bundle) ) |
3750 goto _test_eof119; | 3734 goto _test_eof119; |
3751 case 119: | 3735 case 119: |
3752 goto st113; | 3736 goto st113; |
3753 tr440: | 3737 tr440: |
3754 { | 3738 { |
3755 BitmapSetBit(valid_targets, current_position - data); | 3739 MakeJumpTargetValid(current_position - data, valid_targets); |
3756 } | 3740 } |
3757 goto st120; | 3741 goto st120; |
3758 st120: | 3742 st120: |
3759 if ( ++( current_position) == ( end_of_bundle) ) | 3743 if ( ++( current_position) == ( end_of_bundle) ) |
3760 goto _test_eof120; | 3744 goto _test_eof120; |
3761 case 120: | 3745 case 120: |
3762 switch( (*( current_position)) ) { | 3746 switch( (*( current_position)) ) { |
3763 case 4u: goto st35; | 3747 case 4u: goto st35; |
3764 case 5u: goto st36; | 3748 case 5u: goto st36; |
3765 case 12u: goto st35; | 3749 case 12u: goto st35; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3956 goto tr434; | 3940 goto tr434; |
3957 } else | 3941 } else |
3958 goto tr450; | 3942 goto tr450; |
3959 } else | 3943 } else |
3960 goto tr429; | 3944 goto tr429; |
3961 } else | 3945 } else |
3962 goto tr428; | 3946 goto tr428; |
3963 goto tr16; | 3947 goto tr16; |
3964 tr442: | 3948 tr442: |
3965 { | 3949 { |
3966 BitmapSetBit(valid_targets, current_position - data); | 3950 MakeJumpTargetValid(current_position - data, valid_targets); |
3967 } | 3951 } |
3968 goto st122; | 3952 goto st122; |
3969 st122: | 3953 st122: |
3970 if ( ++( current_position) == ( end_of_bundle) ) | 3954 if ( ++( current_position) == ( end_of_bundle) ) |
3971 goto _test_eof122; | 3955 goto _test_eof122; |
3972 case 122: | 3956 case 122: |
3973 switch( (*( current_position)) ) { | 3957 switch( (*( current_position)) ) { |
3974 case 4u: goto st2; | 3958 case 4u: goto st2; |
3975 case 5u: goto st3; | 3959 case 5u: goto st3; |
3976 case 68u: goto st8; | 3960 case 68u: goto st8; |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4539 if ( ++( current_position) == ( end_of_bundle) ) | 4523 if ( ++( current_position) == ( end_of_bundle) ) |
4540 goto _test_eof149; | 4524 goto _test_eof149; |
4541 case 149: | 4525 case 149: |
4542 switch( (*( current_position)) ) { | 4526 switch( (*( current_position)) ) { |
4543 case 16u: goto tr280; | 4527 case 16u: goto tr280; |
4544 case 18u: goto st148; | 4528 case 18u: goto st148; |
4545 } | 4529 } |
4546 goto tr16; | 4530 goto tr16; |
4547 tr446: | 4531 tr446: |
4548 { | 4532 { |
4549 BitmapSetBit(valid_targets, current_position - data); | 4533 MakeJumpTargetValid(current_position - data, valid_targets); |
4550 } | 4534 } |
4551 goto st150; | 4535 goto st150; |
4552 st150: | 4536 st150: |
4553 if ( ++( current_position) == ( end_of_bundle) ) | 4537 if ( ++( current_position) == ( end_of_bundle) ) |
4554 goto _test_eof150; | 4538 goto _test_eof150; |
4555 case 150: | 4539 case 150: |
4556 switch( (*( current_position)) ) { | 4540 switch( (*( current_position)) ) { |
4557 case 225u: goto st151; | 4541 case 225u: goto st151; |
4558 case 226u: goto st173; | 4542 case 226u: goto st173; |
4559 case 227u: goto st182; | 4543 case 227u: goto st182; |
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5929 goto tr16; | 5913 goto tr16; |
5930 tr363: | 5914 tr363: |
5931 { SET_CPU_FEATURE(CPUFeature_AVX); } | 5915 { SET_CPU_FEATURE(CPUFeature_AVX); } |
5932 goto st196; | 5916 goto st196; |
5933 st196: | 5917 st196: |
5934 if ( ++( current_position) == ( end_of_bundle) ) | 5918 if ( ++( current_position) == ( end_of_bundle) ) |
5935 goto _test_eof196; | 5919 goto _test_eof196; |
5936 case 196: | 5920 case 196: |
5937 switch( (*( current_position)) ) { | 5921 switch( (*( current_position)) ) { |
5938 case 4u: goto st35; | 5922 case 4u: goto st35; |
| 5923 case 5u: goto st36; |
5939 case 12u: goto st35; | 5924 case 12u: goto st35; |
| 5925 case 13u: goto st36; |
5940 case 20u: goto st35; | 5926 case 20u: goto st35; |
| 5927 case 21u: goto st36; |
5941 case 28u: goto st35; | 5928 case 28u: goto st35; |
| 5929 case 29u: goto st36; |
5942 case 36u: goto st35; | 5930 case 36u: goto st35; |
| 5931 case 37u: goto st36; |
5943 case 44u: goto st35; | 5932 case 44u: goto st35; |
| 5933 case 45u: goto st36; |
5944 case 52u: goto st35; | 5934 case 52u: goto st35; |
| 5935 case 53u: goto st36; |
5945 case 60u: goto st35; | 5936 case 60u: goto st35; |
| 5937 case 61u: goto st36; |
5946 case 68u: goto st41; | 5938 case 68u: goto st41; |
5947 case 76u: goto st41; | 5939 case 76u: goto st41; |
5948 case 84u: goto st41; | 5940 case 84u: goto st41; |
5949 case 92u: goto st41; | 5941 case 92u: goto st41; |
5950 case 100u: goto st41; | 5942 case 100u: goto st41; |
5951 case 108u: goto st41; | 5943 case 108u: goto st41; |
5952 case 116u: goto st41; | 5944 case 116u: goto st41; |
5953 case 124u: goto st41; | 5945 case 124u: goto st41; |
5954 case 132u: goto st42; | 5946 case 132u: goto st42; |
5955 case 140u: goto st42; | 5947 case 140u: goto st42; |
5956 case 148u: goto st42; | 5948 case 148u: goto st42; |
5957 case 156u: goto st42; | 5949 case 156u: goto st42; |
5958 case 164u: goto st42; | 5950 case 164u: goto st42; |
5959 case 172u: goto st42; | 5951 case 172u: goto st42; |
5960 case 180u: goto st42; | 5952 case 180u: goto st42; |
5961 case 188u: goto st42; | 5953 case 188u: goto st42; |
5962 } | 5954 } |
5963 » if ( (*( current_position)) < 38u ) { | 5955 » if ( (*( current_position)) < 64u ) { |
5964 » » if ( (*( current_position)) < 14u ) { | 5956 » » if ( (*( current_position)) <= 63u ) |
5965 » » » if ( (*( current_position)) > 3u ) { | |
5966 » » » » if ( 6u <= (*( current_position)) && (*( current
_position)) <= 11u ) | |
5967 » » » » » goto st10; | |
5968 » » » } else | |
5969 » » » » goto st10; | |
5970 » » } else if ( (*( current_position)) > 19u ) { | |
5971 » » » if ( (*( current_position)) > 27u ) { | |
5972 » » » » if ( 30u <= (*( current_position)) && (*( curren
t_position)) <= 35u ) | |
5973 » » » » » goto st10; | |
5974 » » » } else if ( (*( current_position)) >= 22u ) | |
5975 » » » » goto st10; | |
5976 » » } else | |
5977 goto st10; | 5957 goto st10; |
5978 » } else if ( (*( current_position)) > 43u ) { | 5958 » } else if ( (*( current_position)) > 127u ) { |
5979 » » if ( (*( current_position)) < 62u ) { | 5959 » » if ( 128u <= (*( current_position)) && (*( current_position)) <=
191u ) |
5980 » » » if ( (*( current_position)) > 51u ) { | 5960 » » » goto st36; |
5981 » » » » if ( 54u <= (*( current_position)) && (*( curren
t_position)) <= 59u ) | |
5982 » » » » » goto st10; | |
5983 » » » } else if ( (*( current_position)) >= 46u ) | |
5984 » » » » goto st10; | |
5985 » » } else if ( (*( current_position)) > 63u ) { | |
5986 » » » if ( (*( current_position)) > 127u ) { | |
5987 » » » » if ( 192u <= (*( current_position)) ) | |
5988 » » » » » goto tr16; | |
5989 » » » } else if ( (*( current_position)) >= 64u ) | |
5990 » » » » goto st40; | |
5991 » » } else | |
5992 » » » goto st10; | |
5993 } else | 5961 } else |
5994 » » goto st10; | 5962 » » goto st40; |
5995 » goto st36; | 5963 » goto tr16; |
5996 tr343: | 5964 tr343: |
5997 { | 5965 { |
5998 SET_VEX_PREFIX3(*current_position); | 5966 SET_VEX_PREFIX3(*current_position); |
5999 } | 5967 } |
6000 goto st197; | 5968 goto st197; |
6001 st197: | 5969 st197: |
6002 if ( ++( current_position) == ( end_of_bundle) ) | 5970 if ( ++( current_position) == ( end_of_bundle) ) |
6003 goto _test_eof197; | 5971 goto _test_eof197; |
6004 case 197: | 5972 case 197: |
6005 switch( (*( current_position)) ) { | 5973 switch( (*( current_position)) ) { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6082 } else if ( (*( current_position)) > 121u ) { | 6050 } else if ( (*( current_position)) > 121u ) { |
6083 if ( 124u <= (*( current_position)) && (*( current_posit
ion)) <= 125u ) | 6051 if ( 124u <= (*( current_position)) && (*( current_posit
ion)) <= 125u ) |
6084 goto tr349; | 6052 goto tr349; |
6085 } else | 6053 } else |
6086 goto tr349; | 6054 goto tr349; |
6087 } else | 6055 } else |
6088 goto tr349; | 6056 goto tr349; |
6089 goto tr16; | 6057 goto tr16; |
6090 tr447: | 6058 tr447: |
6091 { | 6059 { |
6092 BitmapSetBit(valid_targets, current_position - data); | 6060 MakeJumpTargetValid(current_position - data, valid_targets); |
6093 } | 6061 } |
6094 goto st200; | 6062 goto st200; |
6095 st200: | 6063 st200: |
6096 if ( ++( current_position) == ( end_of_bundle) ) | 6064 if ( ++( current_position) == ( end_of_bundle) ) |
6097 goto _test_eof200; | 6065 goto _test_eof200; |
6098 case 200: | 6066 case 200: |
6099 switch( (*( current_position)) ) { | 6067 switch( (*( current_position)) ) { |
6100 case 193u: goto tr366; | 6068 case 193u: goto tr366; |
6101 case 194u: goto tr367; | 6069 case 194u: goto tr367; |
6102 case 195u: goto tr368; | 6070 case 195u: goto tr368; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6259 if ( (*( current_position)) > 95u ) { | 6227 if ( (*( current_position)) > 95u ) { |
6260 if ( 124u <= (*( current_position)) && (*( current_posit
ion)) <= 125u ) | 6228 if ( 124u <= (*( current_position)) && (*( current_posit
ion)) <= 125u ) |
6261 goto tr301; | 6229 goto tr301; |
6262 } else if ( (*( current_position)) >= 92u ) | 6230 } else if ( (*( current_position)) >= 92u ) |
6263 goto tr301; | 6231 goto tr301; |
6264 } else | 6232 } else |
6265 goto tr301; | 6233 goto tr301; |
6266 goto tr16; | 6234 goto tr16; |
6267 tr448: | 6235 tr448: |
6268 { | 6236 { |
6269 BitmapSetBit(valid_targets, current_position - data); | 6237 MakeJumpTargetValid(current_position - data, valid_targets); |
6270 } | 6238 } |
6271 goto st205; | 6239 goto st205; |
6272 st205: | 6240 st205: |
6273 if ( ++( current_position) == ( end_of_bundle) ) | 6241 if ( ++( current_position) == ( end_of_bundle) ) |
6274 goto _test_eof205; | 6242 goto _test_eof205; |
6275 case 205: | 6243 case 205: |
6276 switch( (*( current_position)) ) { | 6244 switch( (*( current_position)) ) { |
6277 case 4u: goto st35; | 6245 case 4u: goto st35; |
6278 case 5u: goto st36; | 6246 case 5u: goto st36; |
6279 case 68u: goto st41; | 6247 case 68u: goto st41; |
6280 case 132u: goto st42; | 6248 case 132u: goto st42; |
6281 } | 6249 } |
6282 if ( (*( current_position)) < 64u ) { | 6250 if ( (*( current_position)) < 64u ) { |
6283 if ( (*( current_position)) <= 7u ) | 6251 if ( (*( current_position)) <= 7u ) |
6284 goto st10; | 6252 goto st10; |
6285 } else if ( (*( current_position)) > 71u ) { | 6253 } else if ( (*( current_position)) > 71u ) { |
6286 if ( (*( current_position)) > 135u ) { | 6254 if ( (*( current_position)) > 135u ) { |
6287 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 199u ) | 6255 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 199u ) |
6288 goto st10; | 6256 goto st10; |
6289 } else if ( (*( current_position)) >= 128u ) | 6257 } else if ( (*( current_position)) >= 128u ) |
6290 goto st36; | 6258 goto st36; |
6291 } else | 6259 } else |
6292 goto st40; | 6260 goto st40; |
6293 goto tr16; | 6261 goto tr16; |
6294 tr449: | 6262 tr449: |
6295 { | 6263 { |
6296 BitmapSetBit(valid_targets, current_position - data); | 6264 MakeJumpTargetValid(current_position - data, valid_targets); |
6297 } | 6265 } |
6298 goto st206; | 6266 goto st206; |
6299 st206: | 6267 st206: |
6300 if ( ++( current_position) == ( end_of_bundle) ) | 6268 if ( ++( current_position) == ( end_of_bundle) ) |
6301 goto _test_eof206; | 6269 goto _test_eof206; |
6302 case 206: | 6270 case 206: |
6303 switch( (*( current_position)) ) { | 6271 switch( (*( current_position)) ) { |
6304 case 4u: goto st112; | 6272 case 4u: goto st112; |
6305 case 5u: goto st113; | 6273 case 5u: goto st113; |
6306 case 68u: goto st118; | 6274 case 68u: goto st118; |
6307 case 132u: goto st119; | 6275 case 132u: goto st119; |
6308 } | 6276 } |
6309 if ( (*( current_position)) < 64u ) { | 6277 if ( (*( current_position)) < 64u ) { |
6310 if ( (*( current_position)) <= 7u ) | 6278 if ( (*( current_position)) <= 7u ) |
6311 goto st11; | 6279 goto st11; |
6312 } else if ( (*( current_position)) > 71u ) { | 6280 } else if ( (*( current_position)) > 71u ) { |
6313 if ( (*( current_position)) > 135u ) { | 6281 if ( (*( current_position)) > 135u ) { |
6314 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 199u ) | 6282 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 199u ) |
6315 goto st11; | 6283 goto st11; |
6316 } else if ( (*( current_position)) >= 128u ) | 6284 } else if ( (*( current_position)) >= 128u ) |
6317 goto st113; | 6285 goto st113; |
6318 } else | 6286 } else |
6319 goto st117; | 6287 goto st117; |
6320 goto tr16; | 6288 goto tr16; |
6321 tr451: | 6289 tr451: |
6322 { | 6290 { |
6323 BitmapSetBit(valid_targets, current_position - data); | 6291 MakeJumpTargetValid(current_position - data, valid_targets); |
6324 } | 6292 } |
6325 goto st207; | 6293 goto st207; |
6326 st207: | 6294 st207: |
6327 if ( ++( current_position) == ( end_of_bundle) ) | 6295 if ( ++( current_position) == ( end_of_bundle) ) |
6328 goto _test_eof207; | 6296 goto _test_eof207; |
6329 case 207: | 6297 case 207: |
6330 switch( (*( current_position)) ) { | 6298 switch( (*( current_position)) ) { |
6331 case 4u: goto tr382; | 6299 case 4u: goto tr382; |
6332 case 5u: goto tr383; | 6300 case 5u: goto tr383; |
6333 case 12u: goto tr382; | 6301 case 12u: goto tr382; |
(...skipping 28 matching lines...) Expand all Loading... |
6362 case 188u: goto tr386; | 6330 case 188u: goto tr386; |
6363 } | 6331 } |
6364 if ( (*( current_position)) > 127u ) { | 6332 if ( (*( current_position)) > 127u ) { |
6365 if ( 128u <= (*( current_position)) && (*( current_position)) <=
191u ) | 6333 if ( 128u <= (*( current_position)) && (*( current_position)) <=
191u ) |
6366 goto tr383; | 6334 goto tr383; |
6367 } else if ( (*( current_position)) >= 64u ) | 6335 } else if ( (*( current_position)) >= 64u ) |
6368 goto tr384; | 6336 goto tr384; |
6369 goto tr381; | 6337 goto tr381; |
6370 tr452: | 6338 tr452: |
6371 { | 6339 { |
6372 BitmapSetBit(valid_targets, current_position - data); | 6340 MakeJumpTargetValid(current_position - data, valid_targets); |
6373 } | 6341 } |
6374 goto st208; | 6342 goto st208; |
6375 st208: | 6343 st208: |
6376 if ( ++( current_position) == ( end_of_bundle) ) | 6344 if ( ++( current_position) == ( end_of_bundle) ) |
6377 goto _test_eof208; | 6345 goto _test_eof208; |
6378 case 208: | 6346 case 208: |
6379 switch( (*( current_position)) ) { | 6347 switch( (*( current_position)) ) { |
6380 case 4u: goto tr382; | 6348 case 4u: goto tr382; |
6381 case 5u: goto tr383; | 6349 case 5u: goto tr383; |
6382 case 20u: goto tr382; | 6350 case 20u: goto tr382; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6432 goto tr16; | 6400 goto tr16; |
6433 } else if ( (*( current_position)) >= 226u ) | 6401 } else if ( (*( current_position)) >= 226u ) |
6434 goto tr16; | 6402 goto tr16; |
6435 } else | 6403 } else |
6436 goto tr16; | 6404 goto tr16; |
6437 } else | 6405 } else |
6438 goto tr383; | 6406 goto tr383; |
6439 goto tr381; | 6407 goto tr381; |
6440 tr453: | 6408 tr453: |
6441 { | 6409 { |
6442 BitmapSetBit(valid_targets, current_position - data); | 6410 MakeJumpTargetValid(current_position - data, valid_targets); |
6443 } | 6411 } |
6444 goto st209; | 6412 goto st209; |
6445 st209: | 6413 st209: |
6446 if ( ++( current_position) == ( end_of_bundle) ) | 6414 if ( ++( current_position) == ( end_of_bundle) ) |
6447 goto _test_eof209; | 6415 goto _test_eof209; |
6448 case 209: | 6416 case 209: |
6449 switch( (*( current_position)) ) { | 6417 switch( (*( current_position)) ) { |
6450 case 4u: goto tr382; | 6418 case 4u: goto tr382; |
6451 case 12u: goto tr382; | 6419 case 12u: goto tr382; |
6452 case 20u: goto tr382; | 6420 case 20u: goto tr382; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6504 goto tr16; | 6472 goto tr16; |
6505 } else | 6473 } else |
6506 goto tr387; | 6474 goto tr387; |
6507 } else | 6475 } else |
6508 goto tr381; | 6476 goto tr381; |
6509 } else | 6477 } else |
6510 goto tr381; | 6478 goto tr381; |
6511 goto tr383; | 6479 goto tr383; |
6512 tr454: | 6480 tr454: |
6513 { | 6481 { |
6514 BitmapSetBit(valid_targets, current_position - data); | 6482 MakeJumpTargetValid(current_position - data, valid_targets); |
6515 } | 6483 } |
6516 goto st210; | 6484 goto st210; |
6517 st210: | 6485 st210: |
6518 if ( ++( current_position) == ( end_of_bundle) ) | 6486 if ( ++( current_position) == ( end_of_bundle) ) |
6519 goto _test_eof210; | 6487 goto _test_eof210; |
6520 case 210: | 6488 case 210: |
6521 switch( (*( current_position)) ) { | 6489 switch( (*( current_position)) ) { |
6522 case 4u: goto tr382; | 6490 case 4u: goto tr382; |
6523 case 5u: goto tr383; | 6491 case 5u: goto tr383; |
6524 case 12u: goto tr382; | 6492 case 12u: goto tr382; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6575 goto tr381; | 6543 goto tr381; |
6576 } else | 6544 } else |
6577 goto tr381; | 6545 goto tr381; |
6578 } else | 6546 } else |
6579 goto tr383; | 6547 goto tr383; |
6580 } else | 6548 } else |
6581 goto tr384; | 6549 goto tr384; |
6582 goto tr16; | 6550 goto tr16; |
6583 tr455: | 6551 tr455: |
6584 { | 6552 { |
6585 BitmapSetBit(valid_targets, current_position - data); | 6553 MakeJumpTargetValid(current_position - data, valid_targets); |
6586 } | 6554 } |
6587 goto st211; | 6555 goto st211; |
6588 st211: | 6556 st211: |
6589 if ( ++( current_position) == ( end_of_bundle) ) | 6557 if ( ++( current_position) == ( end_of_bundle) ) |
6590 goto _test_eof211; | 6558 goto _test_eof211; |
6591 case 211: | 6559 case 211: |
6592 switch( (*( current_position)) ) { | 6560 switch( (*( current_position)) ) { |
6593 case 4u: goto tr382; | 6561 case 4u: goto tr382; |
6594 case 5u: goto tr383; | 6562 case 5u: goto tr383; |
6595 case 12u: goto tr382; | 6563 case 12u: goto tr382; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6627 if ( 64u <= (*( current_position)) && (*( current_position)) <=
127u ) | 6595 if ( 64u <= (*( current_position)) && (*( current_position)) <=
127u ) |
6628 goto tr384; | 6596 goto tr384; |
6629 } else if ( (*( current_position)) > 191u ) { | 6597 } else if ( (*( current_position)) > 191u ) { |
6630 if ( 208u <= (*( current_position)) && (*( current_position)) <=
223u ) | 6598 if ( 208u <= (*( current_position)) && (*( current_position)) <=
223u ) |
6631 goto tr16; | 6599 goto tr16; |
6632 } else | 6600 } else |
6633 goto tr383; | 6601 goto tr383; |
6634 goto tr381; | 6602 goto tr381; |
6635 tr456: | 6603 tr456: |
6636 { | 6604 { |
6637 BitmapSetBit(valid_targets, current_position - data); | 6605 MakeJumpTargetValid(current_position - data, valid_targets); |
6638 } | 6606 } |
6639 goto st212; | 6607 goto st212; |
6640 st212: | 6608 st212: |
6641 if ( ++( current_position) == ( end_of_bundle) ) | 6609 if ( ++( current_position) == ( end_of_bundle) ) |
6642 goto _test_eof212; | 6610 goto _test_eof212; |
6643 case 212: | 6611 case 212: |
6644 switch( (*( current_position)) ) { | 6612 switch( (*( current_position)) ) { |
6645 case 4u: goto tr382; | 6613 case 4u: goto tr382; |
6646 case 5u: goto tr383; | 6614 case 5u: goto tr383; |
6647 case 12u: goto tr382; | 6615 case 12u: goto tr382; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6693 goto tr16; | 6661 goto tr16; |
6694 } else if ( (*( current_position)) >= 200u ) | 6662 } else if ( (*( current_position)) >= 200u ) |
6695 goto tr16; | 6663 goto tr16; |
6696 } else | 6664 } else |
6697 goto tr383; | 6665 goto tr383; |
6698 } else | 6666 } else |
6699 goto tr383; | 6667 goto tr383; |
6700 goto tr381; | 6668 goto tr381; |
6701 tr457: | 6669 tr457: |
6702 { | 6670 { |
6703 BitmapSetBit(valid_targets, current_position - data); | 6671 MakeJumpTargetValid(current_position - data, valid_targets); |
6704 } | 6672 } |
6705 goto st213; | 6673 goto st213; |
6706 st213: | 6674 st213: |
6707 if ( ++( current_position) == ( end_of_bundle) ) | 6675 if ( ++( current_position) == ( end_of_bundle) ) |
6708 goto _test_eof213; | 6676 goto _test_eof213; |
6709 case 213: | 6677 case 213: |
6710 switch( (*( current_position)) ) { | 6678 switch( (*( current_position)) ) { |
6711 case 4u: goto tr382; | 6679 case 4u: goto tr382; |
6712 case 5u: goto tr383; | 6680 case 5u: goto tr383; |
6713 case 12u: goto tr382; | 6681 case 12u: goto tr382; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6748 if ( (*( current_position)) > 216u ) { | 6716 if ( (*( current_position)) > 216u ) { |
6749 if ( 218u <= (*( current_position)) && (*( current_posit
ion)) <= 223u ) | 6717 if ( 218u <= (*( current_position)) && (*( current_posit
ion)) <= 223u ) |
6750 goto tr16; | 6718 goto tr16; |
6751 } else if ( (*( current_position)) >= 208u ) | 6719 } else if ( (*( current_position)) >= 208u ) |
6752 goto tr16; | 6720 goto tr16; |
6753 } else | 6721 } else |
6754 goto tr383; | 6722 goto tr383; |
6755 goto tr381; | 6723 goto tr381; |
6756 tr458: | 6724 tr458: |
6757 { | 6725 { |
6758 BitmapSetBit(valid_targets, current_position - data); | 6726 MakeJumpTargetValid(current_position - data, valid_targets); |
6759 } | 6727 } |
6760 goto st214; | 6728 goto st214; |
6761 st214: | 6729 st214: |
6762 if ( ++( current_position) == ( end_of_bundle) ) | 6730 if ( ++( current_position) == ( end_of_bundle) ) |
6763 goto _test_eof214; | 6731 goto _test_eof214; |
6764 case 214: | 6732 case 214: |
6765 switch( (*( current_position)) ) { | 6733 switch( (*( current_position)) ) { |
6766 case 4u: goto tr382; | 6734 case 4u: goto tr382; |
6767 case 5u: goto tr383; | 6735 case 5u: goto tr383; |
6768 case 12u: goto tr382; | 6736 case 12u: goto tr382; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6806 if ( (*( current_position)) > 231u ) { | 6774 if ( (*( current_position)) > 231u ) { |
6807 if ( 248u <= (*( current_position)) ) | 6775 if ( 248u <= (*( current_position)) ) |
6808 goto tr16; | 6776 goto tr16; |
6809 } else if ( (*( current_position)) >= 225u ) | 6777 } else if ( (*( current_position)) >= 225u ) |
6810 goto tr16; | 6778 goto tr16; |
6811 } else | 6779 } else |
6812 goto tr16; | 6780 goto tr16; |
6813 goto tr381; | 6781 goto tr381; |
6814 tr459: | 6782 tr459: |
6815 { | 6783 { |
6816 BitmapSetBit(valid_targets, current_position - data); | 6784 MakeJumpTargetValid(current_position - data, valid_targets); |
6817 } | 6785 } |
6818 goto st215; | 6786 goto st215; |
6819 st215: | 6787 st215: |
6820 if ( ++( current_position) == ( end_of_bundle) ) | 6788 if ( ++( current_position) == ( end_of_bundle) ) |
6821 goto _test_eof215; | 6789 goto _test_eof215; |
6822 case 215: | 6790 case 215: |
6823 goto st216; | 6791 goto st216; |
6824 st216: | 6792 st216: |
6825 if ( ++( current_position) == ( end_of_bundle) ) | 6793 if ( ++( current_position) == ( end_of_bundle) ) |
6826 goto _test_eof216; | 6794 goto _test_eof216; |
6827 case 216: | 6795 case 216: |
6828 goto st217; | 6796 goto st217; |
6829 st217: | 6797 st217: |
6830 if ( ++( current_position) == ( end_of_bundle) ) | 6798 if ( ++( current_position) == ( end_of_bundle) ) |
6831 goto _test_eof217; | 6799 goto _test_eof217; |
6832 case 217: | 6800 case 217: |
6833 goto st218; | 6801 goto st218; |
6834 st218: | 6802 st218: |
6835 if ( ++( current_position) == ( end_of_bundle) ) | 6803 if ( ++( current_position) == ( end_of_bundle) ) |
6836 goto _test_eof218; | 6804 goto _test_eof218; |
6837 case 218: | 6805 case 218: |
6838 goto tr391; | 6806 goto tr391; |
6839 tr461: | 6807 tr461: |
6840 { | 6808 { |
6841 BitmapSetBit(valid_targets, current_position - data); | 6809 MakeJumpTargetValid(current_position - data, valid_targets); |
6842 } | 6810 } |
6843 { | 6811 { |
6844 SET_LOCK_PREFIX(TRUE); | 6812 SET_LOCK_PREFIX(TRUE); |
6845 } | 6813 } |
6846 goto st219; | 6814 goto st219; |
6847 st219: | 6815 st219: |
6848 if ( ++( current_position) == ( end_of_bundle) ) | 6816 if ( ++( current_position) == ( end_of_bundle) ) |
6849 goto _test_eof219; | 6817 goto _test_eof219; |
6850 case 219: | 6818 case 219: |
6851 switch( (*( current_position)) ) { | 6819 switch( (*( current_position)) ) { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6935 if ( (*( current_position)) <= 55u ) | 6903 if ( (*( current_position)) <= 55u ) |
6936 goto st11; | 6904 goto st11; |
6937 } else if ( (*( current_position)) > 119u ) { | 6905 } else if ( (*( current_position)) > 119u ) { |
6938 if ( 128u <= (*( current_position)) && (*( current_position)) <=
183u ) | 6906 if ( 128u <= (*( current_position)) && (*( current_position)) <=
183u ) |
6939 goto st113; | 6907 goto st113; |
6940 } else | 6908 } else |
6941 goto st117; | 6909 goto st117; |
6942 goto tr16; | 6910 goto tr16; |
6943 tr462: | 6911 tr462: |
6944 { | 6912 { |
6945 BitmapSetBit(valid_targets, current_position - data); | 6913 MakeJumpTargetValid(current_position - data, valid_targets); |
6946 } | 6914 } |
6947 { | 6915 { |
6948 SET_REPNZ_PREFIX(TRUE); | 6916 SET_REPNZ_PREFIX(TRUE); |
6949 } | 6917 } |
6950 goto st222; | 6918 goto st222; |
6951 st222: | 6919 st222: |
6952 if ( ++( current_position) == ( end_of_bundle) ) | 6920 if ( ++( current_position) == ( end_of_bundle) ) |
6953 goto _test_eof222; | 6921 goto _test_eof222; |
6954 case 222: | 6922 case 222: |
6955 switch( (*( current_position)) ) { | 6923 switch( (*( current_position)) ) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7015 if ( 192u <= (*( current_position)) ) | 6983 if ( 192u <= (*( current_position)) ) |
7016 goto st226; | 6984 goto st226; |
7017 goto tr16; | 6985 goto tr16; |
7018 st226: | 6986 st226: |
7019 if ( ++( current_position) == ( end_of_bundle) ) | 6987 if ( ++( current_position) == ( end_of_bundle) ) |
7020 goto _test_eof226; | 6988 goto _test_eof226; |
7021 case 226: | 6989 case 226: |
7022 goto tr408; | 6990 goto tr408; |
7023 tr463: | 6991 tr463: |
7024 { | 6992 { |
7025 BitmapSetBit(valid_targets, current_position - data); | 6993 MakeJumpTargetValid(current_position - data, valid_targets); |
7026 } | 6994 } |
7027 { | 6995 { |
7028 SET_REPZ_PREFIX(TRUE); | 6996 SET_REPZ_PREFIX(TRUE); |
7029 } | 6997 } |
7030 { | 6998 { |
7031 SET_REPZ_PREFIX(TRUE); | 6999 SET_REPZ_PREFIX(TRUE); |
7032 } | 7000 } |
7033 goto st227; | 7001 goto st227; |
7034 st227: | 7002 st227: |
7035 if ( ++( current_position) == ( end_of_bundle) ) | 7003 if ( ++( current_position) == ( end_of_bundle) ) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7082 } else if ( (*( current_position)) > 95u ) { | 7050 } else if ( (*( current_position)) > 95u ) { |
7083 if ( 126u <= (*( current_position)) && (*( current_posit
ion)) <= 127u ) | 7051 if ( 126u <= (*( current_position)) && (*( current_posit
ion)) <= 127u ) |
7084 goto tr415; | 7052 goto tr415; |
7085 } else | 7053 } else |
7086 goto tr412; | 7054 goto tr412; |
7087 } else | 7055 } else |
7088 goto tr412; | 7056 goto tr412; |
7089 goto tr16; | 7057 goto tr16; |
7090 tr464: | 7058 tr464: |
7091 { | 7059 { |
7092 BitmapSetBit(valid_targets, current_position - data); | 7060 MakeJumpTargetValid(current_position - data, valid_targets); |
7093 } | 7061 } |
7094 goto st229; | 7062 goto st229; |
7095 st229: | 7063 st229: |
7096 if ( ++( current_position) == ( end_of_bundle) ) | 7064 if ( ++( current_position) == ( end_of_bundle) ) |
7097 goto _test_eof229; | 7065 goto _test_eof229; |
7098 case 229: | 7066 case 229: |
7099 switch( (*( current_position)) ) { | 7067 switch( (*( current_position)) ) { |
7100 case 4u: goto st35; | 7068 case 4u: goto st35; |
7101 case 5u: goto st36; | 7069 case 5u: goto st36; |
7102 case 20u: goto st2; | 7070 case 20u: goto st2; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7151 goto tr16; | 7119 goto tr16; |
7152 } else if ( (*( current_position)) >= 192u ) | 7120 } else if ( (*( current_position)) >= 192u ) |
7153 goto st10; | 7121 goto st10; |
7154 } else | 7122 } else |
7155 goto st3; | 7123 goto st3; |
7156 } else | 7124 } else |
7157 goto st7; | 7125 goto st7; |
7158 goto tr0; | 7126 goto tr0; |
7159 tr465: | 7127 tr465: |
7160 { | 7128 { |
7161 BitmapSetBit(valid_targets, current_position - data); | 7129 MakeJumpTargetValid(current_position - data, valid_targets); |
7162 } | 7130 } |
7163 goto st230; | 7131 goto st230; |
7164 st230: | 7132 st230: |
7165 if ( ++( current_position) == ( end_of_bundle) ) | 7133 if ( ++( current_position) == ( end_of_bundle) ) |
7166 goto _test_eof230; | 7134 goto _test_eof230; |
7167 case 230: | 7135 case 230: |
7168 switch( (*( current_position)) ) { | 7136 switch( (*( current_position)) ) { |
7169 case 4u: goto st112; | 7137 case 4u: goto st112; |
7170 case 5u: goto st113; | 7138 case 5u: goto st113; |
7171 case 20u: goto st2; | 7139 case 20u: goto st2; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7220 goto tr16; | 7188 goto tr16; |
7221 } else if ( (*( current_position)) >= 192u ) | 7189 } else if ( (*( current_position)) >= 192u ) |
7222 goto st11; | 7190 goto st11; |
7223 } else | 7191 } else |
7224 goto st3; | 7192 goto st3; |
7225 } else | 7193 } else |
7226 goto st7; | 7194 goto st7; |
7227 goto tr0; | 7195 goto tr0; |
7228 tr466: | 7196 tr466: |
7229 { | 7197 { |
7230 BitmapSetBit(valid_targets, current_position - data); | 7198 MakeJumpTargetValid(current_position - data, valid_targets); |
7231 } | 7199 } |
7232 goto st231; | 7200 goto st231; |
7233 st231: | 7201 st231: |
7234 if ( ++( current_position) == ( end_of_bundle) ) | 7202 if ( ++( current_position) == ( end_of_bundle) ) |
7235 goto _test_eof231; | 7203 goto _test_eof231; |
7236 case 231: | 7204 case 231: |
7237 switch( (*( current_position)) ) { | 7205 switch( (*( current_position)) ) { |
7238 case 4u: goto st2; | 7206 case 4u: goto st2; |
7239 case 5u: goto st3; | 7207 case 5u: goto st3; |
7240 case 12u: goto st2; | 7208 case 12u: goto st2; |
(...skipping 10 matching lines...) Expand all Loading... |
7251 if ( (*( current_position)) > 143u ) { | 7219 if ( (*( current_position)) > 143u ) { |
7252 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 207u ) | 7220 if ( 192u <= (*( current_position)) && (*( current_posit
ion)) <= 207u ) |
7253 goto tr0; | 7221 goto tr0; |
7254 } else if ( (*( current_position)) >= 128u ) | 7222 } else if ( (*( current_position)) >= 128u ) |
7255 goto st3; | 7223 goto st3; |
7256 } else | 7224 } else |
7257 goto st7; | 7225 goto st7; |
7258 goto tr16; | 7226 goto tr16; |
7259 tr468: | 7227 tr468: |
7260 { | 7228 { |
7261 BitmapSetBit(valid_targets, current_position - data); | 7229 MakeJumpTargetValid(current_position - data, valid_targets); |
7262 } | 7230 } |
7263 goto st232; | 7231 goto st232; |
7264 st232: | 7232 st232: |
7265 if ( ++( current_position) == ( end_of_bundle) ) | 7233 if ( ++( current_position) == ( end_of_bundle) ) |
7266 goto _test_eof232; | 7234 goto _test_eof232; |
7267 case 232: | 7235 case 232: |
7268 switch( (*( current_position)) ) { | 7236 switch( (*( current_position)) ) { |
7269 case 4u: goto st2; | 7237 case 4u: goto st2; |
7270 case 5u: goto st3; | 7238 case 5u: goto st3; |
7271 case 12u: goto st2; | 7239 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7454 goto tr434; | 7422 goto tr434; |
7455 } else | 7423 } else |
7456 goto tr450; | 7424 goto tr450; |
7457 } else | 7425 } else |
7458 goto tr429; | 7426 goto tr429; |
7459 } else | 7427 } else |
7460 goto tr428; | 7428 goto tr428; |
7461 goto tr16; | 7429 goto tr16; |
7462 tr469: | 7430 tr469: |
7463 { | 7431 { |
7464 BitmapSetBit(valid_targets, current_position - data); | 7432 MakeJumpTargetValid(current_position - data, valid_targets); |
7465 } | 7433 } |
7466 goto st234; | 7434 goto st234; |
7467 st234: | 7435 st234: |
7468 if ( ++( current_position) == ( end_of_bundle) ) | 7436 if ( ++( current_position) == ( end_of_bundle) ) |
7469 goto _test_eof234; | 7437 goto _test_eof234; |
7470 case 234: | 7438 case 234: |
7471 switch( (*( current_position)) ) { | 7439 switch( (*( current_position)) ) { |
7472 case 4u: goto st2; | 7440 case 4u: goto st2; |
7473 case 5u: goto st3; | 7441 case 5u: goto st3; |
7474 case 12u: goto st2; | 7442 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7657 goto tr434; | 7625 goto tr434; |
7658 } else | 7626 } else |
7659 goto tr450; | 7627 goto tr450; |
7660 } else | 7628 } else |
7661 goto tr429; | 7629 goto tr429; |
7662 } else | 7630 } else |
7663 goto tr428; | 7631 goto tr428; |
7664 goto tr16; | 7632 goto tr16; |
7665 tr470: | 7633 tr470: |
7666 { | 7634 { |
7667 BitmapSetBit(valid_targets, current_position - data); | 7635 MakeJumpTargetValid(current_position - data, valid_targets); |
7668 } | 7636 } |
7669 goto st236; | 7637 goto st236; |
7670 st236: | 7638 st236: |
7671 if ( ++( current_position) == ( end_of_bundle) ) | 7639 if ( ++( current_position) == ( end_of_bundle) ) |
7672 goto _test_eof236; | 7640 goto _test_eof236; |
7673 case 236: | 7641 case 236: |
7674 switch( (*( current_position)) ) { | 7642 switch( (*( current_position)) ) { |
7675 case 4u: goto st2; | 7643 case 4u: goto st2; |
7676 case 5u: goto st3; | 7644 case 5u: goto st3; |
7677 case 12u: goto st2; | 7645 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7860 goto tr434; | 7828 goto tr434; |
7861 } else | 7829 } else |
7862 goto tr450; | 7830 goto tr450; |
7863 } else | 7831 } else |
7864 goto tr429; | 7832 goto tr429; |
7865 } else | 7833 } else |
7866 goto tr428; | 7834 goto tr428; |
7867 goto tr16; | 7835 goto tr16; |
7868 tr471: | 7836 tr471: |
7869 { | 7837 { |
7870 BitmapSetBit(valid_targets, current_position - data); | 7838 MakeJumpTargetValid(current_position - data, valid_targets); |
7871 } | 7839 } |
7872 goto st238; | 7840 goto st238; |
7873 st238: | 7841 st238: |
7874 if ( ++( current_position) == ( end_of_bundle) ) | 7842 if ( ++( current_position) == ( end_of_bundle) ) |
7875 goto _test_eof238; | 7843 goto _test_eof238; |
7876 case 238: | 7844 case 238: |
7877 switch( (*( current_position)) ) { | 7845 switch( (*( current_position)) ) { |
7878 case 4u: goto st2; | 7846 case 4u: goto st2; |
7879 case 5u: goto st3; | 7847 case 5u: goto st3; |
7880 case 12u: goto st2; | 7848 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8063 goto tr434; | 8031 goto tr434; |
8064 } else | 8032 } else |
8065 goto tr450; | 8033 goto tr450; |
8066 } else | 8034 } else |
8067 goto tr429; | 8035 goto tr429; |
8068 } else | 8036 } else |
8069 goto tr428; | 8037 goto tr428; |
8070 goto tr16; | 8038 goto tr16; |
8071 tr472: | 8039 tr472: |
8072 { | 8040 { |
8073 BitmapSetBit(valid_targets, current_position - data); | 8041 MakeJumpTargetValid(current_position - data, valid_targets); |
8074 } | 8042 } |
8075 goto st240; | 8043 goto st240; |
8076 st240: | 8044 st240: |
8077 if ( ++( current_position) == ( end_of_bundle) ) | 8045 if ( ++( current_position) == ( end_of_bundle) ) |
8078 goto _test_eof240; | 8046 goto _test_eof240; |
8079 case 240: | 8047 case 240: |
8080 switch( (*( current_position)) ) { | 8048 switch( (*( current_position)) ) { |
8081 case 4u: goto st2; | 8049 case 4u: goto st2; |
8082 case 5u: goto st3; | 8050 case 5u: goto st3; |
8083 case 12u: goto st2; | 8051 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8266 goto tr434; | 8234 goto tr434; |
8267 } else | 8235 } else |
8268 goto tr450; | 8236 goto tr450; |
8269 } else | 8237 } else |
8270 goto tr429; | 8238 goto tr429; |
8271 } else | 8239 } else |
8272 goto tr428; | 8240 goto tr428; |
8273 goto tr16; | 8241 goto tr16; |
8274 tr473: | 8242 tr473: |
8275 { | 8243 { |
8276 BitmapSetBit(valid_targets, current_position - data); | 8244 MakeJumpTargetValid(current_position - data, valid_targets); |
8277 } | 8245 } |
8278 goto st242; | 8246 goto st242; |
8279 st242: | 8247 st242: |
8280 if ( ++( current_position) == ( end_of_bundle) ) | 8248 if ( ++( current_position) == ( end_of_bundle) ) |
8281 goto _test_eof242; | 8249 goto _test_eof242; |
8282 case 242: | 8250 case 242: |
8283 switch( (*( current_position)) ) { | 8251 switch( (*( current_position)) ) { |
8284 case 4u: goto st2; | 8252 case 4u: goto st2; |
8285 case 5u: goto st3; | 8253 case 5u: goto st3; |
8286 case 12u: goto st2; | 8254 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8469 goto tr434; | 8437 goto tr434; |
8470 } else | 8438 } else |
8471 goto tr450; | 8439 goto tr450; |
8472 } else | 8440 } else |
8473 goto tr429; | 8441 goto tr429; |
8474 } else | 8442 } else |
8475 goto tr428; | 8443 goto tr428; |
8476 goto tr16; | 8444 goto tr16; |
8477 tr474: | 8445 tr474: |
8478 { | 8446 { |
8479 BitmapSetBit(valid_targets, current_position - data); | 8447 MakeJumpTargetValid(current_position - data, valid_targets); |
8480 } | 8448 } |
8481 goto st244; | 8449 goto st244; |
8482 st244: | 8450 st244: |
8483 if ( ++( current_position) == ( end_of_bundle) ) | 8451 if ( ++( current_position) == ( end_of_bundle) ) |
8484 goto _test_eof244; | 8452 goto _test_eof244; |
8485 case 244: | 8453 case 244: |
8486 switch( (*( current_position)) ) { | 8454 switch( (*( current_position)) ) { |
8487 case 4u: goto st2; | 8455 case 4u: goto st2; |
8488 case 5u: goto st3; | 8456 case 5u: goto st3; |
8489 case 12u: goto st2; | 8457 case 12u: goto st2; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8672 goto tr434; | 8640 goto tr434; |
8673 } else | 8641 } else |
8674 goto tr450; | 8642 goto tr450; |
8675 } else | 8643 } else |
8676 goto tr429; | 8644 goto tr429; |
8677 } else | 8645 } else |
8678 goto tr428; | 8646 goto tr428; |
8679 goto tr16; | 8647 goto tr16; |
8680 tr475: | 8648 tr475: |
8681 { | 8649 { |
8682 BitmapSetBit(valid_targets, current_position - data); | 8650 MakeJumpTargetValid(current_position - data, valid_targets); |
8683 } | 8651 } |
8684 goto st246; | 8652 goto st246; |
8685 st246: | 8653 st246: |
8686 if ( ++( current_position) == ( end_of_bundle) ) | 8654 if ( ++( current_position) == ( end_of_bundle) ) |
8687 goto _test_eof246; | 8655 goto _test_eof246; |
8688 case 246: | 8656 case 246: |
8689 switch( (*( current_position)) ) { | 8657 switch( (*( current_position)) ) { |
8690 case 4u: goto st2; | 8658 case 4u: goto st2; |
8691 case 5u: goto st3; | 8659 case 5u: goto st3; |
8692 case 12u: goto st2; | 8660 case 12u: goto st2; |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9251 user_callback, callback_data); | 9219 user_callback, callback_data); |
9252 | 9220 |
9253 /* We only use malloc for a large code sequences */ | 9221 /* We only use malloc for a large code sequences */ |
9254 if (size > sizeof valid_targets_small) { | 9222 if (size > sizeof valid_targets_small) { |
9255 free(jump_dests); | 9223 free(jump_dests); |
9256 free(valid_targets); | 9224 free(valid_targets); |
9257 } | 9225 } |
9258 if (!result) errno = EINVAL; | 9226 if (!result) errno = EINVAL; |
9259 return result; | 9227 return result; |
9260 } | 9228 } |
OLD | NEW |