libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
aarch64Specifications.cpp
Go to the documentation of this file.
1
2/*
3** Copyright (C) - Triton
4**
5** This program is under the terms of the Apache License 2.0.
6*/
7
10#include <triton/cpuSize.hpp>
11#include <triton/exceptions.hpp>
13
14
15
16namespace triton {
17 namespace arch {
18 namespace arm {
19 namespace aarch64 {
20
23 throw triton::exceptions::Architecture("AArch64Specifications::AArch64Specifications(): Invalid architecture.");
24
25 // Fill id2reg and name2id with those available in AArch64 from spec
26 #define REG_SPEC(UPPER_NAME, LOWER_NAME, AARCH64_UPPER, AARCH64_LOWER, AARCH64_PARENT, MUTABLE) \
27 id2reg.emplace(ID_REG_AARCH64_##UPPER_NAME, \
28 triton::arch::Register(triton::arch::ID_REG_AARCH64_##UPPER_NAME, \
29 #LOWER_NAME, \
30 triton::arch::ID_REG_AARCH64_##AARCH64_PARENT, \
31 AARCH64_UPPER, \
32 AARCH64_LOWER, \
33 MUTABLE) \
34 ); \
35 name2id.emplace(#LOWER_NAME, ID_REG_AARCH64_##UPPER_NAME);
36 // Handle register not available in capstone as normal registers
37 #define REG_SPEC_NO_CAPSTONE REG_SPEC
38 #define SYS_REG_SPEC REG_SPEC
39 #include "triton/aarch64.spec"
40 }
41
42
45
46 switch (id) {
47 // Convert registers from capstone value to triton value
48 #define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5) \
49 case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME: \
50 tritonId = triton::arch::ID_REG_AARCH64_##UPPER_NAME; \
51 break;
52 #if CS_API_MAJOR >= 5
53 #define SYS_REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5) \
54 case triton::extlibs::capstone::ARM64_SYSREG_##UPPER_NAME: \
55 tritonId = triton::arch::ID_REG_AARCH64_##UPPER_NAME; \
56 break;
57 #else
58 #define SYS_REG_SPEC(_1, _2, _3, _4, _5, _6)
59 #endif
60 // Ignore registers not available in capstone
61 #define REG_SPEC_NO_CAPSTONE(_1, _2, _3, _4, _5, _6)
62 #include "triton/aarch64.spec"
63
64 default:
66 break;
67 }
68
69 return tritonId;
70 }
71
72
75
76 switch (id) {
77 case triton::extlibs::capstone::ARM64_SFT_INVALID:
79 break;
80
81 case triton::extlibs::capstone::ARM64_SFT_ASR:
83 break;
84
85 case triton::extlibs::capstone::ARM64_SFT_LSL:
87 break;
88
89 case triton::extlibs::capstone::ARM64_SFT_LSR:
91 break;
92
93 case triton::extlibs::capstone::ARM64_SFT_ROR:
95 break;
96
97 default:
99 break;
100 }
101
102 return tritonId;
103 }
104
105
108
109 switch (id) {
110 case triton::extlibs::capstone::ARM64_EXT_INVALID:
112 break;
113
114 case triton::extlibs::capstone::ARM64_EXT_UXTB:
116 break;
117
118 case triton::extlibs::capstone::ARM64_EXT_UXTH:
120 break;
121
122 case triton::extlibs::capstone::ARM64_EXT_UXTW:
124 break;
125
126 case triton::extlibs::capstone::ARM64_EXT_UXTX:
128 break;
129
130 case triton::extlibs::capstone::ARM64_EXT_SXTB:
132 break;
133
134 case triton::extlibs::capstone::ARM64_EXT_SXTH:
136 break;
137
138 case triton::extlibs::capstone::ARM64_EXT_SXTW:
140 break;
141
142 case triton::extlibs::capstone::ARM64_EXT_SXTX:
144 break;
145
146 default:
148 break;
149 }
150
151 return tritonId;
152 }
153
154
157
158 switch (id) {
159 case triton::extlibs::capstone::ARM64_VAS_INVALID:
161 break;
162
163 case triton::extlibs::capstone::ARM64_VAS_16B:
165 break;
166
167 case triton::extlibs::capstone::ARM64_VAS_8B:
169 break;
170
171 #if CS_API_MAJOR >= 5
172 case triton::extlibs::capstone::ARM64_VAS_4B:
174 break;
175
176 case triton::extlibs::capstone::ARM64_VAS_1B:
178 break;
179 #endif
180
181 case triton::extlibs::capstone::ARM64_VAS_8H:
183 break;
184
185 case triton::extlibs::capstone::ARM64_VAS_4H:
187 break;
188
189 #if CS_API_MAJOR >= 5
190 case triton::extlibs::capstone::ARM64_VAS_2H:
192 break;
193
194 case triton::extlibs::capstone::ARM64_VAS_1H:
196 break;
197 #endif
198
199 case triton::extlibs::capstone::ARM64_VAS_4S:
201 break;
202
203 case triton::extlibs::capstone::ARM64_VAS_2S:
205 break;
206
207 #if CS_API_MAJOR >= 5
208 case triton::extlibs::capstone::ARM64_VAS_1S:
210 break;
211 #endif
212
213 case triton::extlibs::capstone::ARM64_VAS_2D:
215 break;
216
217 case triton::extlibs::capstone::ARM64_VAS_1D:
219 break;
220
221 #if CS_API_MAJOR >= 5
222 case triton::extlibs::capstone::ARM64_VAS_1Q:
224 break;
225 #endif
226
227 default:
229 break;
230 }
231
232 return tritonId;
233 }
234
235
238
239 switch (id) {
240 case triton::extlibs::capstone::ARM64_CC_INVALID:
242 break;
243
244 case triton::extlibs::capstone::ARM64_CC_AL:
246 break;
247
248 case triton::extlibs::capstone::ARM64_CC_EQ:
250 break;
251
252 case triton::extlibs::capstone::ARM64_CC_GE:
254 break;
255
256 case triton::extlibs::capstone::ARM64_CC_GT:
258 break;
259
260 case triton::extlibs::capstone::ARM64_CC_HI:
262 break;
263
264 case triton::extlibs::capstone::ARM64_CC_HS:
266 break;
267
268 case triton::extlibs::capstone::ARM64_CC_LE:
270 break;
271
272 case triton::extlibs::capstone::ARM64_CC_LO:
274 break;
275
276 case triton::extlibs::capstone::ARM64_CC_LS:
278 break;
279
280 case triton::extlibs::capstone::ARM64_CC_LT:
282 break;
283
284 case triton::extlibs::capstone::ARM64_CC_MI:
286 break;
287
288 case triton::extlibs::capstone::ARM64_CC_NE:
290 break;
291
292 case triton::extlibs::capstone::ARM64_CC_PL:
294 break;
295
296 case triton::extlibs::capstone::ARM64_CC_VC:
298 break;
299
300 case triton::extlibs::capstone::ARM64_CC_VS:
302 break;
303
304 default:
306 break;
307 }
308
309 return tritonId;
310 }
311
312
315
316 switch (id) {
317 case triton::extlibs::capstone::ARM64_INS_INVALID:
319 break;
320
321 case triton::extlibs::capstone::ARM64_INS_ABS:
323 break;
324
325 case triton::extlibs::capstone::ARM64_INS_ADC:
327 break;
328
329 #if CS_API_MAJOR >= 5
330 case triton::extlibs::capstone::ARM64_INS_ADCS:
332 break;
333 #endif
334
335 case triton::extlibs::capstone::ARM64_INS_ADDHN:
337 break;
338
339 case triton::extlibs::capstone::ARM64_INS_ADDHN2:
341 break;
342
343 case triton::extlibs::capstone::ARM64_INS_ADDP:
345 break;
346
347 case triton::extlibs::capstone::ARM64_INS_ADD:
349 break;
350
351 #if CS_API_MAJOR >= 5
352 case triton::extlibs::capstone::ARM64_INS_ADDS:
354 break;
355 #endif
356
357 case triton::extlibs::capstone::ARM64_INS_ADDV:
359 break;
360
361 case triton::extlibs::capstone::ARM64_INS_ADR:
363 break;
364
365 case triton::extlibs::capstone::ARM64_INS_ADRP:
367 break;
368
369 case triton::extlibs::capstone::ARM64_INS_AESD:
371 break;
372
373 case triton::extlibs::capstone::ARM64_INS_AESE:
375 break;
376
377 case triton::extlibs::capstone::ARM64_INS_AESIMC:
379 break;
380
381 case triton::extlibs::capstone::ARM64_INS_AESMC:
383 break;
384
385 case triton::extlibs::capstone::ARM64_INS_AND:
387 break;
388
389 #if CS_API_MAJOR >= 5
390 case triton::extlibs::capstone::ARM64_INS_ANDS:
392 break;
393 #endif
394
395 case triton::extlibs::capstone::ARM64_INS_ASR:
397 break;
398
399 case triton::extlibs::capstone::ARM64_INS_B:
401 break;
402
403 case triton::extlibs::capstone::ARM64_INS_BFM:
405 break;
406
407 case triton::extlibs::capstone::ARM64_INS_BIC:
409 break;
410
411 case triton::extlibs::capstone::ARM64_INS_BIF:
413 break;
414
415 case triton::extlibs::capstone::ARM64_INS_BIT:
417 break;
418
419 case triton::extlibs::capstone::ARM64_INS_BL:
421 break;
422
423 case triton::extlibs::capstone::ARM64_INS_BLR:
425 break;
426
427 case triton::extlibs::capstone::ARM64_INS_BR:
429 break;
430
431 case triton::extlibs::capstone::ARM64_INS_BRK:
433 break;
434
435 case triton::extlibs::capstone::ARM64_INS_BSL:
437 break;
438
439 case triton::extlibs::capstone::ARM64_INS_CBNZ:
441 break;
442
443 case triton::extlibs::capstone::ARM64_INS_CBZ:
445 break;
446
447 case triton::extlibs::capstone::ARM64_INS_CCMN:
449 break;
450
451 case triton::extlibs::capstone::ARM64_INS_CCMP:
453 break;
454
455 case triton::extlibs::capstone::ARM64_INS_CLREX:
457 break;
458
459 case triton::extlibs::capstone::ARM64_INS_CLS:
461 break;
462
463 case triton::extlibs::capstone::ARM64_INS_CLZ:
465 break;
466
467 case triton::extlibs::capstone::ARM64_INS_CMEQ:
469 break;
470
471 case triton::extlibs::capstone::ARM64_INS_CMGE:
473 break;
474
475 case triton::extlibs::capstone::ARM64_INS_CMGT:
477 break;
478
479 case triton::extlibs::capstone::ARM64_INS_CMHI:
481 break;
482
483 case triton::extlibs::capstone::ARM64_INS_CMHS:
485 break;
486
487 case triton::extlibs::capstone::ARM64_INS_CMLE:
489 break;
490
491 case triton::extlibs::capstone::ARM64_INS_CMLT:
493 break;
494
495 case triton::extlibs::capstone::ARM64_INS_CMTST:
497 break;
498
499 case triton::extlibs::capstone::ARM64_INS_CNT:
501 break;
502
503 case triton::extlibs::capstone::ARM64_INS_MOV:
505 break;
506
507 case triton::extlibs::capstone::ARM64_INS_CRC32B:
509 break;
510
511 case triton::extlibs::capstone::ARM64_INS_CRC32CB:
513 break;
514
515 case triton::extlibs::capstone::ARM64_INS_CRC32CH:
517 break;
518
519 case triton::extlibs::capstone::ARM64_INS_CRC32CW:
521 break;
522
523 case triton::extlibs::capstone::ARM64_INS_CRC32CX:
525 break;
526
527 case triton::extlibs::capstone::ARM64_INS_CRC32H:
529 break;
530
531 case triton::extlibs::capstone::ARM64_INS_CRC32W:
533 break;
534
535 case triton::extlibs::capstone::ARM64_INS_CRC32X:
537 break;
538
539 case triton::extlibs::capstone::ARM64_INS_CSEL:
541 break;
542
543 case triton::extlibs::capstone::ARM64_INS_CSINC:
545 break;
546
547 case triton::extlibs::capstone::ARM64_INS_CSINV:
549 break;
550
551 case triton::extlibs::capstone::ARM64_INS_CSNEG:
553 break;
554
555 case triton::extlibs::capstone::ARM64_INS_DCPS1:
557 break;
558
559 case triton::extlibs::capstone::ARM64_INS_DCPS2:
561 break;
562
563 case triton::extlibs::capstone::ARM64_INS_DCPS3:
565 break;
566
567 case triton::extlibs::capstone::ARM64_INS_DMB:
569 break;
570
571 case triton::extlibs::capstone::ARM64_INS_DRPS:
573 break;
574
575 case triton::extlibs::capstone::ARM64_INS_DSB:
577 break;
578
579 case triton::extlibs::capstone::ARM64_INS_DUP:
581 break;
582
583 case triton::extlibs::capstone::ARM64_INS_EON:
585 break;
586
587 case triton::extlibs::capstone::ARM64_INS_EOR:
589 break;
590
591 case triton::extlibs::capstone::ARM64_INS_ERET:
593 break;
594
595 case triton::extlibs::capstone::ARM64_INS_EXTR:
597 break;
598
599 case triton::extlibs::capstone::ARM64_INS_EXT:
601 break;
602
603 case triton::extlibs::capstone::ARM64_INS_FABD:
605 break;
606
607 case triton::extlibs::capstone::ARM64_INS_FABS:
609 break;
610
611 case triton::extlibs::capstone::ARM64_INS_FACGE:
613 break;
614
615 case triton::extlibs::capstone::ARM64_INS_FACGT:
617 break;
618
619 case triton::extlibs::capstone::ARM64_INS_FADD:
621 break;
622
623 case triton::extlibs::capstone::ARM64_INS_FADDP:
625 break;
626
627 case triton::extlibs::capstone::ARM64_INS_FCCMP:
629 break;
630
631 case triton::extlibs::capstone::ARM64_INS_FCCMPE:
633 break;
634
635 case triton::extlibs::capstone::ARM64_INS_FCMEQ:
637 break;
638
639 case triton::extlibs::capstone::ARM64_INS_FCMGE:
641 break;
642
643 case triton::extlibs::capstone::ARM64_INS_FCMGT:
645 break;
646
647 case triton::extlibs::capstone::ARM64_INS_FCMLE:
649 break;
650
651 case triton::extlibs::capstone::ARM64_INS_FCMLT:
653 break;
654
655 case triton::extlibs::capstone::ARM64_INS_FCMP:
657 break;
658
659 case triton::extlibs::capstone::ARM64_INS_FCMPE:
661 break;
662
663 case triton::extlibs::capstone::ARM64_INS_FCSEL:
665 break;
666
667 case triton::extlibs::capstone::ARM64_INS_FCVTAS:
669 break;
670
671 case triton::extlibs::capstone::ARM64_INS_FCVTAU:
673 break;
674
675 case triton::extlibs::capstone::ARM64_INS_FCVT:
677 break;
678
679 case triton::extlibs::capstone::ARM64_INS_FCVTL:
681 break;
682
683 case triton::extlibs::capstone::ARM64_INS_FCVTL2:
685 break;
686
687 case triton::extlibs::capstone::ARM64_INS_FCVTMS:
689 break;
690
691 case triton::extlibs::capstone::ARM64_INS_FCVTMU:
693 break;
694
695 case triton::extlibs::capstone::ARM64_INS_FCVTNS:
697 break;
698
699 case triton::extlibs::capstone::ARM64_INS_FCVTNU:
701 break;
702
703 case triton::extlibs::capstone::ARM64_INS_FCVTN:
705 break;
706
707 case triton::extlibs::capstone::ARM64_INS_FCVTN2:
709 break;
710
711 case triton::extlibs::capstone::ARM64_INS_FCVTPS:
713 break;
714
715 case triton::extlibs::capstone::ARM64_INS_FCVTPU:
717 break;
718
719 case triton::extlibs::capstone::ARM64_INS_FCVTXN:
721 break;
722
723 case triton::extlibs::capstone::ARM64_INS_FCVTXN2:
725 break;
726
727 case triton::extlibs::capstone::ARM64_INS_FCVTZS:
729 break;
730
731 case triton::extlibs::capstone::ARM64_INS_FCVTZU:
733 break;
734
735 case triton::extlibs::capstone::ARM64_INS_FDIV:
737 break;
738
739 case triton::extlibs::capstone::ARM64_INS_FMADD:
741 break;
742
743 case triton::extlibs::capstone::ARM64_INS_FMAX:
745 break;
746
747 case triton::extlibs::capstone::ARM64_INS_FMAXNM:
749 break;
750
751 case triton::extlibs::capstone::ARM64_INS_FMAXNMP:
753 break;
754
755 case triton::extlibs::capstone::ARM64_INS_FMAXNMV:
757 break;
758
759 case triton::extlibs::capstone::ARM64_INS_FMAXP:
761 break;
762
763 case triton::extlibs::capstone::ARM64_INS_FMAXV:
765 break;
766
767 case triton::extlibs::capstone::ARM64_INS_FMIN:
769 break;
770
771 case triton::extlibs::capstone::ARM64_INS_FMINNM:
773 break;
774
775 case triton::extlibs::capstone::ARM64_INS_FMINNMP:
777 break;
778
779 case triton::extlibs::capstone::ARM64_INS_FMINNMV:
781 break;
782
783 case triton::extlibs::capstone::ARM64_INS_FMINP:
785 break;
786
787 case triton::extlibs::capstone::ARM64_INS_FMINV:
789 break;
790
791 case triton::extlibs::capstone::ARM64_INS_FMLA:
793 break;
794
795 case triton::extlibs::capstone::ARM64_INS_FMLS:
797 break;
798
799 case triton::extlibs::capstone::ARM64_INS_FMOV:
801 break;
802
803 case triton::extlibs::capstone::ARM64_INS_FMSUB:
805 break;
806
807 case triton::extlibs::capstone::ARM64_INS_FMUL:
809 break;
810
811 case triton::extlibs::capstone::ARM64_INS_FMULX:
813 break;
814
815 case triton::extlibs::capstone::ARM64_INS_FNEG:
817 break;
818
819 case triton::extlibs::capstone::ARM64_INS_FNMADD:
821 break;
822
823 case triton::extlibs::capstone::ARM64_INS_FNMSUB:
825 break;
826
827 case triton::extlibs::capstone::ARM64_INS_FNMUL:
829 break;
830
831 case triton::extlibs::capstone::ARM64_INS_FRECPE:
833 break;
834
835 case triton::extlibs::capstone::ARM64_INS_FRECPS:
837 break;
838
839 case triton::extlibs::capstone::ARM64_INS_FRECPX:
841 break;
842
843 case triton::extlibs::capstone::ARM64_INS_FRINTA:
845 break;
846
847 case triton::extlibs::capstone::ARM64_INS_FRINTI:
849 break;
850
851 case triton::extlibs::capstone::ARM64_INS_FRINTM:
853 break;
854
855 case triton::extlibs::capstone::ARM64_INS_FRINTN:
857 break;
858
859 case triton::extlibs::capstone::ARM64_INS_FRINTP:
861 break;
862
863 case triton::extlibs::capstone::ARM64_INS_FRINTX:
865 break;
866
867 case triton::extlibs::capstone::ARM64_INS_FRINTZ:
869 break;
870
871 case triton::extlibs::capstone::ARM64_INS_FRSQRTE:
873 break;
874
875 case triton::extlibs::capstone::ARM64_INS_FRSQRTS:
877 break;
878
879 case triton::extlibs::capstone::ARM64_INS_FSQRT:
881 break;
882
883 case triton::extlibs::capstone::ARM64_INS_FSUB:
885 break;
886
887 case triton::extlibs::capstone::ARM64_INS_HINT:
889 break;
890
891 case triton::extlibs::capstone::ARM64_INS_HLT:
893 break;
894
895 case triton::extlibs::capstone::ARM64_INS_HVC:
897 break;
898
899 case triton::extlibs::capstone::ARM64_INS_INS:
901 break;
902
903 case triton::extlibs::capstone::ARM64_INS_ISB:
905 break;
906
907 case triton::extlibs::capstone::ARM64_INS_LD1:
909 break;
910
911 case triton::extlibs::capstone::ARM64_INS_LD1R:
913 break;
914
915 case triton::extlibs::capstone::ARM64_INS_LD2R:
917 break;
918
919 case triton::extlibs::capstone::ARM64_INS_LD2:
921 break;
922
923 case triton::extlibs::capstone::ARM64_INS_LD3R:
925 break;
926
927 case triton::extlibs::capstone::ARM64_INS_LD3:
929 break;
930
931 case triton::extlibs::capstone::ARM64_INS_LD4:
933 break;
934
935 case triton::extlibs::capstone::ARM64_INS_LD4R:
937 break;
938
939 case triton::extlibs::capstone::ARM64_INS_LDARB:
941 break;
942
943 case triton::extlibs::capstone::ARM64_INS_LDARH:
945 break;
946
947 case triton::extlibs::capstone::ARM64_INS_LDAR:
949 break;
950
951 case triton::extlibs::capstone::ARM64_INS_LDAXP:
953 break;
954
955 case triton::extlibs::capstone::ARM64_INS_LDAXRB:
957 break;
958
959 case triton::extlibs::capstone::ARM64_INS_LDAXRH:
961 break;
962
963 case triton::extlibs::capstone::ARM64_INS_LDAXR:
965 break;
966
967 case triton::extlibs::capstone::ARM64_INS_LDNP:
969 break;
970
971 case triton::extlibs::capstone::ARM64_INS_LDP:
973 break;
974
975 case triton::extlibs::capstone::ARM64_INS_LDPSW:
977 break;
978
979 case triton::extlibs::capstone::ARM64_INS_LDRB:
981 break;
982
983 case triton::extlibs::capstone::ARM64_INS_LDR:
985 break;
986
987 case triton::extlibs::capstone::ARM64_INS_LDRH:
989 break;
990
991 case triton::extlibs::capstone::ARM64_INS_LDRSB:
993 break;
994
995 case triton::extlibs::capstone::ARM64_INS_LDRSH:
997 break;
998
999 case triton::extlibs::capstone::ARM64_INS_LDRSW:
1001 break;
1002
1003 case triton::extlibs::capstone::ARM64_INS_LDTRB:
1005 break;
1006
1007 case triton::extlibs::capstone::ARM64_INS_LDTRH:
1009 break;
1010
1011 case triton::extlibs::capstone::ARM64_INS_LDTRSB:
1013 break;
1014
1015 case triton::extlibs::capstone::ARM64_INS_LDTRSH:
1017 break;
1018
1019 case triton::extlibs::capstone::ARM64_INS_LDTRSW:
1021 break;
1022
1023 case triton::extlibs::capstone::ARM64_INS_LDTR:
1025 break;
1026
1027 case triton::extlibs::capstone::ARM64_INS_LDURB:
1029 break;
1030
1031 case triton::extlibs::capstone::ARM64_INS_LDUR:
1033 break;
1034
1035 case triton::extlibs::capstone::ARM64_INS_LDURH:
1037 break;
1038
1039 case triton::extlibs::capstone::ARM64_INS_LDURSB:
1041 break;
1042
1043 case triton::extlibs::capstone::ARM64_INS_LDURSH:
1045 break;
1046
1047 case triton::extlibs::capstone::ARM64_INS_LDURSW:
1049 break;
1050
1051 case triton::extlibs::capstone::ARM64_INS_LDXP:
1053 break;
1054
1055 case triton::extlibs::capstone::ARM64_INS_LDXRB:
1057 break;
1058
1059 case triton::extlibs::capstone::ARM64_INS_LDXRH:
1061 break;
1062
1063 case triton::extlibs::capstone::ARM64_INS_LDXR:
1065 break;
1066
1067 case triton::extlibs::capstone::ARM64_INS_LSL:
1069 break;
1070
1071 case triton::extlibs::capstone::ARM64_INS_LSR:
1073 break;
1074
1075 case triton::extlibs::capstone::ARM64_INS_MADD:
1077 break;
1078
1079 case triton::extlibs::capstone::ARM64_INS_MLA:
1081 break;
1082
1083 case triton::extlibs::capstone::ARM64_INS_MLS:
1085 break;
1086
1087 case triton::extlibs::capstone::ARM64_INS_MOVI:
1089 break;
1090
1091 case triton::extlibs::capstone::ARM64_INS_MOVK:
1093 break;
1094
1095 case triton::extlibs::capstone::ARM64_INS_MOVN:
1097 break;
1098
1099 case triton::extlibs::capstone::ARM64_INS_MOVZ:
1101 break;
1102
1103 case triton::extlibs::capstone::ARM64_INS_MRS:
1105 break;
1106
1107 case triton::extlibs::capstone::ARM64_INS_MSR:
1109 break;
1110
1111 case triton::extlibs::capstone::ARM64_INS_MSUB:
1113 break;
1114
1115 case triton::extlibs::capstone::ARM64_INS_MUL:
1117 break;
1118
1119 case triton::extlibs::capstone::ARM64_INS_MVNI:
1121 break;
1122
1123 case triton::extlibs::capstone::ARM64_INS_NEG:
1125 break;
1126
1127 case triton::extlibs::capstone::ARM64_INS_NOT:
1129 break;
1130
1131 case triton::extlibs::capstone::ARM64_INS_ORN:
1133 break;
1134
1135 case triton::extlibs::capstone::ARM64_INS_ORR:
1137 break;
1138
1139 case triton::extlibs::capstone::ARM64_INS_PMULL2:
1141 break;
1142
1143 case triton::extlibs::capstone::ARM64_INS_PMULL:
1145 break;
1146
1147 case triton::extlibs::capstone::ARM64_INS_PMUL:
1149 break;
1150
1151 case triton::extlibs::capstone::ARM64_INS_PRFM:
1153 break;
1154
1155 case triton::extlibs::capstone::ARM64_INS_PRFUM:
1157 break;
1158
1159 case triton::extlibs::capstone::ARM64_INS_RADDHN:
1161 break;
1162
1163 case triton::extlibs::capstone::ARM64_INS_RADDHN2:
1165 break;
1166
1167 case triton::extlibs::capstone::ARM64_INS_RBIT:
1169 break;
1170
1171 case triton::extlibs::capstone::ARM64_INS_RET:
1173 break;
1174
1175 case triton::extlibs::capstone::ARM64_INS_REV16:
1177 break;
1178
1179 case triton::extlibs::capstone::ARM64_INS_REV32:
1181 break;
1182
1183 case triton::extlibs::capstone::ARM64_INS_REV64:
1185 break;
1186
1187 case triton::extlibs::capstone::ARM64_INS_REV:
1189 break;
1190
1191 case triton::extlibs::capstone::ARM64_INS_ROR:
1193 break;
1194
1195 case triton::extlibs::capstone::ARM64_INS_RSHRN2:
1197 break;
1198
1199 case triton::extlibs::capstone::ARM64_INS_RSHRN:
1201 break;
1202
1203 case triton::extlibs::capstone::ARM64_INS_RSUBHN:
1205 break;
1206
1207 case triton::extlibs::capstone::ARM64_INS_RSUBHN2:
1209 break;
1210
1211 case triton::extlibs::capstone::ARM64_INS_SABAL2:
1213 break;
1214
1215 case triton::extlibs::capstone::ARM64_INS_SABAL:
1217 break;
1218
1219 case triton::extlibs::capstone::ARM64_INS_SABA:
1221 break;
1222
1223 case triton::extlibs::capstone::ARM64_INS_SABDL2:
1225 break;
1226
1227 case triton::extlibs::capstone::ARM64_INS_SABDL:
1229 break;
1230
1231 case triton::extlibs::capstone::ARM64_INS_SABD:
1233 break;
1234
1235 case triton::extlibs::capstone::ARM64_INS_SADALP:
1237 break;
1238
1239 case triton::extlibs::capstone::ARM64_INS_SADDLP:
1241 break;
1242
1243 case triton::extlibs::capstone::ARM64_INS_SADDLV:
1245 break;
1246
1247 case triton::extlibs::capstone::ARM64_INS_SADDL2:
1249 break;
1250
1251 case triton::extlibs::capstone::ARM64_INS_SADDL:
1253 break;
1254
1255 case triton::extlibs::capstone::ARM64_INS_SADDW2:
1257 break;
1258
1259 case triton::extlibs::capstone::ARM64_INS_SADDW:
1261 break;
1262
1263 case triton::extlibs::capstone::ARM64_INS_SBC:
1265 break;
1266
1267 #if CS_API_MAJOR >= 5
1268 case triton::extlibs::capstone::ARM64_INS_SBCS:
1270 break;
1271 #endif
1272
1273 case triton::extlibs::capstone::ARM64_INS_SBFM:
1275 break;
1276
1277 case triton::extlibs::capstone::ARM64_INS_SCVTF:
1279 break;
1280
1281 case triton::extlibs::capstone::ARM64_INS_SDIV:
1283 break;
1284
1285 case triton::extlibs::capstone::ARM64_INS_SHA1C:
1287 break;
1288
1289 case triton::extlibs::capstone::ARM64_INS_SHA1H:
1291 break;
1292
1293 case triton::extlibs::capstone::ARM64_INS_SHA1M:
1295 break;
1296
1297 case triton::extlibs::capstone::ARM64_INS_SHA1P:
1299 break;
1300
1301 case triton::extlibs::capstone::ARM64_INS_SHA1SU0:
1303 break;
1304
1305 case triton::extlibs::capstone::ARM64_INS_SHA1SU1:
1307 break;
1308
1309 case triton::extlibs::capstone::ARM64_INS_SHA256H2:
1311 break;
1312
1313 case triton::extlibs::capstone::ARM64_INS_SHA256H:
1315 break;
1316
1317 case triton::extlibs::capstone::ARM64_INS_SHA256SU0:
1319 break;
1320
1321 case triton::extlibs::capstone::ARM64_INS_SHA256SU1:
1323 break;
1324
1325 case triton::extlibs::capstone::ARM64_INS_SHADD:
1327 break;
1328
1329 case triton::extlibs::capstone::ARM64_INS_SHLL2:
1331 break;
1332
1333 case triton::extlibs::capstone::ARM64_INS_SHLL:
1335 break;
1336
1337 case triton::extlibs::capstone::ARM64_INS_SHL:
1339 break;
1340
1341 case triton::extlibs::capstone::ARM64_INS_SHRN2:
1343 break;
1344
1345 case triton::extlibs::capstone::ARM64_INS_SHRN:
1347 break;
1348
1349 case triton::extlibs::capstone::ARM64_INS_SHSUB:
1351 break;
1352
1353 case triton::extlibs::capstone::ARM64_INS_SLI:
1355 break;
1356
1357 case triton::extlibs::capstone::ARM64_INS_SMADDL:
1359 break;
1360
1361 case triton::extlibs::capstone::ARM64_INS_SMAXP:
1363 break;
1364
1365 case triton::extlibs::capstone::ARM64_INS_SMAXV:
1367 break;
1368
1369 case triton::extlibs::capstone::ARM64_INS_SMAX:
1371 break;
1372
1373 case triton::extlibs::capstone::ARM64_INS_SMC:
1375 break;
1376
1377 case triton::extlibs::capstone::ARM64_INS_SMINP:
1379 break;
1380
1381 case triton::extlibs::capstone::ARM64_INS_SMINV:
1383 break;
1384
1385 case triton::extlibs::capstone::ARM64_INS_SMIN:
1387 break;
1388
1389 case triton::extlibs::capstone::ARM64_INS_SMLAL2:
1391 break;
1392
1393 case triton::extlibs::capstone::ARM64_INS_SMLAL:
1395 break;
1396
1397 case triton::extlibs::capstone::ARM64_INS_SMLSL2:
1399 break;
1400
1401 case triton::extlibs::capstone::ARM64_INS_SMLSL:
1403 break;
1404
1405 case triton::extlibs::capstone::ARM64_INS_SMOV:
1407 break;
1408
1409 case triton::extlibs::capstone::ARM64_INS_SMSUBL:
1411 break;
1412
1413 case triton::extlibs::capstone::ARM64_INS_SMULH:
1415 break;
1416
1417 case triton::extlibs::capstone::ARM64_INS_SMULL2:
1419 break;
1420
1421 case triton::extlibs::capstone::ARM64_INS_SMULL:
1423 break;
1424
1425 case triton::extlibs::capstone::ARM64_INS_SQABS:
1427 break;
1428
1429 case triton::extlibs::capstone::ARM64_INS_SQADD:
1431 break;
1432
1433 case triton::extlibs::capstone::ARM64_INS_SQDMLAL:
1435 break;
1436
1437 case triton::extlibs::capstone::ARM64_INS_SQDMLAL2:
1439 break;
1440
1441 case triton::extlibs::capstone::ARM64_INS_SQDMLSL:
1443 break;
1444
1445 case triton::extlibs::capstone::ARM64_INS_SQDMLSL2:
1447 break;
1448
1449 case triton::extlibs::capstone::ARM64_INS_SQDMULH:
1451 break;
1452
1453 case triton::extlibs::capstone::ARM64_INS_SQDMULL:
1455 break;
1456
1457 case triton::extlibs::capstone::ARM64_INS_SQDMULL2:
1459 break;
1460
1461 case triton::extlibs::capstone::ARM64_INS_SQNEG:
1463 break;
1464
1465 case triton::extlibs::capstone::ARM64_INS_SQRDMULH:
1467 break;
1468
1469 case triton::extlibs::capstone::ARM64_INS_SQRSHL:
1471 break;
1472
1473 case triton::extlibs::capstone::ARM64_INS_SQRSHRN:
1475 break;
1476
1477 case triton::extlibs::capstone::ARM64_INS_SQRSHRN2:
1479 break;
1480
1481 case triton::extlibs::capstone::ARM64_INS_SQRSHRUN:
1483 break;
1484
1485 case triton::extlibs::capstone::ARM64_INS_SQRSHRUN2:
1487 break;
1488
1489 case triton::extlibs::capstone::ARM64_INS_SQSHLU:
1491 break;
1492
1493 case triton::extlibs::capstone::ARM64_INS_SQSHL:
1495 break;
1496
1497 case triton::extlibs::capstone::ARM64_INS_SQSHRN:
1499 break;
1500
1501 case triton::extlibs::capstone::ARM64_INS_SQSHRN2:
1503 break;
1504
1505 case triton::extlibs::capstone::ARM64_INS_SQSHRUN:
1507 break;
1508
1509 case triton::extlibs::capstone::ARM64_INS_SQSHRUN2:
1511 break;
1512
1513 case triton::extlibs::capstone::ARM64_INS_SQSUB:
1515 break;
1516
1517 case triton::extlibs::capstone::ARM64_INS_SQXTN2:
1519 break;
1520
1521 case triton::extlibs::capstone::ARM64_INS_SQXTN:
1523 break;
1524
1525 case triton::extlibs::capstone::ARM64_INS_SQXTUN2:
1527 break;
1528
1529 case triton::extlibs::capstone::ARM64_INS_SQXTUN:
1531 break;
1532
1533 case triton::extlibs::capstone::ARM64_INS_SRHADD:
1535 break;
1536
1537 case triton::extlibs::capstone::ARM64_INS_SRI:
1539 break;
1540
1541 case triton::extlibs::capstone::ARM64_INS_SRSHL:
1543 break;
1544
1545 case triton::extlibs::capstone::ARM64_INS_SRSHR:
1547 break;
1548
1549 case triton::extlibs::capstone::ARM64_INS_SRSRA:
1551 break;
1552
1553 case triton::extlibs::capstone::ARM64_INS_SSHLL2:
1555 break;
1556
1557 case triton::extlibs::capstone::ARM64_INS_SSHLL:
1559 break;
1560
1561 case triton::extlibs::capstone::ARM64_INS_SSHL:
1563 break;
1564
1565 case triton::extlibs::capstone::ARM64_INS_SSHR:
1567 break;
1568
1569 case triton::extlibs::capstone::ARM64_INS_SSRA:
1571 break;
1572
1573 case triton::extlibs::capstone::ARM64_INS_SSUBL2:
1575 break;
1576
1577 case triton::extlibs::capstone::ARM64_INS_SSUBL:
1579 break;
1580
1581 case triton::extlibs::capstone::ARM64_INS_SSUBW2:
1583 break;
1584
1585 case triton::extlibs::capstone::ARM64_INS_SSUBW:
1587 break;
1588
1589 case triton::extlibs::capstone::ARM64_INS_ST1:
1591 break;
1592
1593 case triton::extlibs::capstone::ARM64_INS_ST2:
1595 break;
1596
1597 case triton::extlibs::capstone::ARM64_INS_ST3:
1599 break;
1600
1601 case triton::extlibs::capstone::ARM64_INS_ST4:
1603 break;
1604
1605 case triton::extlibs::capstone::ARM64_INS_STLRB:
1607 break;
1608
1609 case triton::extlibs::capstone::ARM64_INS_STLRH:
1611 break;
1612
1613 case triton::extlibs::capstone::ARM64_INS_STLR:
1615 break;
1616
1617 case triton::extlibs::capstone::ARM64_INS_STLXP:
1619 break;
1620
1621 case triton::extlibs::capstone::ARM64_INS_STLXRB:
1623 break;
1624
1625 case triton::extlibs::capstone::ARM64_INS_STLXRH:
1627 break;
1628
1629 case triton::extlibs::capstone::ARM64_INS_STLXR:
1631 break;
1632
1633 case triton::extlibs::capstone::ARM64_INS_STNP:
1635 break;
1636
1637 case triton::extlibs::capstone::ARM64_INS_STP:
1639 break;
1640
1641 case triton::extlibs::capstone::ARM64_INS_STRB:
1643 break;
1644
1645 case triton::extlibs::capstone::ARM64_INS_STR:
1647 break;
1648
1649 case triton::extlibs::capstone::ARM64_INS_STRH:
1651 break;
1652
1653 case triton::extlibs::capstone::ARM64_INS_STTRB:
1655 break;
1656
1657 case triton::extlibs::capstone::ARM64_INS_STTRH:
1659 break;
1660
1661 case triton::extlibs::capstone::ARM64_INS_STTR:
1663 break;
1664
1665 case triton::extlibs::capstone::ARM64_INS_STURB:
1667 break;
1668
1669 case triton::extlibs::capstone::ARM64_INS_STUR:
1671 break;
1672
1673 case triton::extlibs::capstone::ARM64_INS_STURH:
1675 break;
1676
1677 case triton::extlibs::capstone::ARM64_INS_STXP:
1679 break;
1680
1681 case triton::extlibs::capstone::ARM64_INS_STXRB:
1683 break;
1684
1685 case triton::extlibs::capstone::ARM64_INS_STXRH:
1687 break;
1688
1689 case triton::extlibs::capstone::ARM64_INS_STXR:
1691 break;
1692
1693 case triton::extlibs::capstone::ARM64_INS_SUBHN:
1695 break;
1696
1697 case triton::extlibs::capstone::ARM64_INS_SUBHN2:
1699 break;
1700
1701 #if CS_API_MAJOR >= 5
1702 case triton::extlibs::capstone::ARM64_INS_SUBS:
1704 break;
1705 #endif
1706
1707 case triton::extlibs::capstone::ARM64_INS_SUB:
1709 break;
1710
1711 case triton::extlibs::capstone::ARM64_INS_SUQADD:
1713 break;
1714
1715 case triton::extlibs::capstone::ARM64_INS_SVC:
1717 break;
1718
1719 case triton::extlibs::capstone::ARM64_INS_SYSL:
1721 break;
1722
1723 case triton::extlibs::capstone::ARM64_INS_SYS:
1725 break;
1726
1727 case triton::extlibs::capstone::ARM64_INS_TBL:
1729 break;
1730
1731 case triton::extlibs::capstone::ARM64_INS_TBNZ:
1733 break;
1734
1735 case triton::extlibs::capstone::ARM64_INS_TBX:
1737 break;
1738
1739 case triton::extlibs::capstone::ARM64_INS_TBZ:
1741 break;
1742
1743 case triton::extlibs::capstone::ARM64_INS_TRN1:
1745 break;
1746
1747 case triton::extlibs::capstone::ARM64_INS_TRN2:
1749 break;
1750
1751 case triton::extlibs::capstone::ARM64_INS_UABAL2:
1753 break;
1754
1755 case triton::extlibs::capstone::ARM64_INS_UABAL:
1757 break;
1758
1759 case triton::extlibs::capstone::ARM64_INS_UABA:
1761 break;
1762
1763 case triton::extlibs::capstone::ARM64_INS_UABDL2:
1765 break;
1766
1767 case triton::extlibs::capstone::ARM64_INS_UABDL:
1769 break;
1770
1771 case triton::extlibs::capstone::ARM64_INS_UABD:
1773 break;
1774
1775 case triton::extlibs::capstone::ARM64_INS_UADALP:
1777 break;
1778
1779 case triton::extlibs::capstone::ARM64_INS_UADDLP:
1781 break;
1782
1783 case triton::extlibs::capstone::ARM64_INS_UADDLV:
1785 break;
1786
1787 case triton::extlibs::capstone::ARM64_INS_UADDL2:
1789 break;
1790
1791 case triton::extlibs::capstone::ARM64_INS_UADDL:
1793 break;
1794
1795 case triton::extlibs::capstone::ARM64_INS_UADDW2:
1797 break;
1798
1799 case triton::extlibs::capstone::ARM64_INS_UADDW:
1801 break;
1802
1803 case triton::extlibs::capstone::ARM64_INS_UBFM:
1805 break;
1806
1807 case triton::extlibs::capstone::ARM64_INS_UCVTF:
1809 break;
1810
1811 case triton::extlibs::capstone::ARM64_INS_UDIV:
1813 break;
1814
1815 case triton::extlibs::capstone::ARM64_INS_UHADD:
1817 break;
1818
1819 case triton::extlibs::capstone::ARM64_INS_UHSUB:
1821 break;
1822
1823 case triton::extlibs::capstone::ARM64_INS_UMADDL:
1825 break;
1826
1827 case triton::extlibs::capstone::ARM64_INS_UMAXP:
1829 break;
1830
1831 case triton::extlibs::capstone::ARM64_INS_UMAXV:
1833 break;
1834
1835 case triton::extlibs::capstone::ARM64_INS_UMAX:
1837 break;
1838
1839 case triton::extlibs::capstone::ARM64_INS_UMINP:
1841 break;
1842
1843 case triton::extlibs::capstone::ARM64_INS_UMINV:
1845 break;
1846
1847 case triton::extlibs::capstone::ARM64_INS_UMIN:
1849 break;
1850
1851 case triton::extlibs::capstone::ARM64_INS_UMLAL2:
1853 break;
1854
1855 case triton::extlibs::capstone::ARM64_INS_UMLAL:
1857 break;
1858
1859 case triton::extlibs::capstone::ARM64_INS_UMLSL2:
1861 break;
1862
1863 case triton::extlibs::capstone::ARM64_INS_UMLSL:
1865 break;
1866
1867 case triton::extlibs::capstone::ARM64_INS_UMOV:
1869 break;
1870
1871 case triton::extlibs::capstone::ARM64_INS_UMSUBL:
1873 break;
1874
1875 case triton::extlibs::capstone::ARM64_INS_UMULH:
1877 break;
1878
1879 case triton::extlibs::capstone::ARM64_INS_UMULL2:
1881 break;
1882
1883 case triton::extlibs::capstone::ARM64_INS_UMULL:
1885 break;
1886
1887 case triton::extlibs::capstone::ARM64_INS_UQADD:
1889 break;
1890
1891 case triton::extlibs::capstone::ARM64_INS_UQRSHL:
1893 break;
1894
1895 case triton::extlibs::capstone::ARM64_INS_UQRSHRN:
1897 break;
1898
1899 case triton::extlibs::capstone::ARM64_INS_UQRSHRN2:
1901 break;
1902
1903 case triton::extlibs::capstone::ARM64_INS_UQSHL:
1905 break;
1906
1907 case triton::extlibs::capstone::ARM64_INS_UQSHRN:
1909 break;
1910
1911 case triton::extlibs::capstone::ARM64_INS_UQSHRN2:
1913 break;
1914
1915 case triton::extlibs::capstone::ARM64_INS_UQSUB:
1917 break;
1918
1919 case triton::extlibs::capstone::ARM64_INS_UQXTN2:
1921 break;
1922
1923 case triton::extlibs::capstone::ARM64_INS_UQXTN:
1925 break;
1926
1927 case triton::extlibs::capstone::ARM64_INS_URECPE:
1929 break;
1930
1931 case triton::extlibs::capstone::ARM64_INS_URHADD:
1933 break;
1934
1935 case triton::extlibs::capstone::ARM64_INS_URSHL:
1937 break;
1938
1939 case triton::extlibs::capstone::ARM64_INS_URSHR:
1941 break;
1942
1943 case triton::extlibs::capstone::ARM64_INS_URSQRTE:
1945 break;
1946
1947 case triton::extlibs::capstone::ARM64_INS_URSRA:
1949 break;
1950
1951 case triton::extlibs::capstone::ARM64_INS_USHLL2:
1953 break;
1954
1955 case triton::extlibs::capstone::ARM64_INS_USHLL:
1957 break;
1958
1959 case triton::extlibs::capstone::ARM64_INS_USHL:
1961 break;
1962
1963 case triton::extlibs::capstone::ARM64_INS_USHR:
1965 break;
1966
1967 case triton::extlibs::capstone::ARM64_INS_USQADD:
1969 break;
1970
1971 case triton::extlibs::capstone::ARM64_INS_USRA:
1973 break;
1974
1975 case triton::extlibs::capstone::ARM64_INS_USUBL2:
1977 break;
1978
1979 case triton::extlibs::capstone::ARM64_INS_USUBL:
1981 break;
1982
1983 case triton::extlibs::capstone::ARM64_INS_USUBW2:
1985 break;
1986
1987 case triton::extlibs::capstone::ARM64_INS_USUBW:
1989 break;
1990
1991 case triton::extlibs::capstone::ARM64_INS_UZP1:
1993 break;
1994
1995 case triton::extlibs::capstone::ARM64_INS_UZP2:
1997 break;
1998
1999 case triton::extlibs::capstone::ARM64_INS_XTN2:
2001 break;
2002
2003 case triton::extlibs::capstone::ARM64_INS_XTN:
2005 break;
2006
2007 case triton::extlibs::capstone::ARM64_INS_ZIP1:
2009 break;
2010
2011 case triton::extlibs::capstone::ARM64_INS_ZIP2:
2013 break;
2014
2015 /* From here there are alias but considered as instruction */
2016
2017 case triton::extlibs::capstone::ARM64_INS_MNEG:
2019 break;
2020
2021 case triton::extlibs::capstone::ARM64_INS_UMNEGL:
2023 break;
2024
2025 case triton::extlibs::capstone::ARM64_INS_SMNEGL:
2027 break;
2028
2029 case triton::extlibs::capstone::ARM64_INS_NOP:
2031 break;
2032
2033 case triton::extlibs::capstone::ARM64_INS_YIELD:
2035 break;
2036
2037 case triton::extlibs::capstone::ARM64_INS_WFE:
2039 break;
2040
2041 case triton::extlibs::capstone::ARM64_INS_WFI:
2043 break;
2044
2045 case triton::extlibs::capstone::ARM64_INS_SEV:
2047 break;
2048
2049 case triton::extlibs::capstone::ARM64_INS_SEVL:
2051 break;
2052
2053 case triton::extlibs::capstone::ARM64_INS_NGC:
2055 break;
2056
2057 case triton::extlibs::capstone::ARM64_INS_SBFIZ:
2059 break;
2060
2061 case triton::extlibs::capstone::ARM64_INS_UBFIZ:
2063 break;
2064
2065 case triton::extlibs::capstone::ARM64_INS_SBFX:
2067 break;
2068
2069 case triton::extlibs::capstone::ARM64_INS_UBFX:
2071 break;
2072
2073 case triton::extlibs::capstone::ARM64_INS_BFI:
2075 break;
2076
2077 case triton::extlibs::capstone::ARM64_INS_BFXIL:
2079 break;
2080
2081 case triton::extlibs::capstone::ARM64_INS_CMN:
2083 break;
2084
2085 case triton::extlibs::capstone::ARM64_INS_MVN:
2087 break;
2088
2089 case triton::extlibs::capstone::ARM64_INS_TST:
2091 break;
2092
2093 case triton::extlibs::capstone::ARM64_INS_CSET:
2095 break;
2096
2097 case triton::extlibs::capstone::ARM64_INS_CINC:
2099 break;
2100
2101 case triton::extlibs::capstone::ARM64_INS_CSETM:
2103 break;
2104
2105 case triton::extlibs::capstone::ARM64_INS_CINV:
2107 break;
2108
2109 case triton::extlibs::capstone::ARM64_INS_CNEG:
2111 break;
2112
2113 case triton::extlibs::capstone::ARM64_INS_SXTB:
2115 break;
2116
2117 case triton::extlibs::capstone::ARM64_INS_SXTH:
2119 break;
2120
2121 case triton::extlibs::capstone::ARM64_INS_SXTW:
2123 break;
2124
2125 case triton::extlibs::capstone::ARM64_INS_CMP:
2127 break;
2128
2129 case triton::extlibs::capstone::ARM64_INS_UXTB:
2131 break;
2132
2133 case triton::extlibs::capstone::ARM64_INS_UXTH:
2135 break;
2136
2137 case triton::extlibs::capstone::ARM64_INS_UXTW:
2139 break;
2140
2141 case triton::extlibs::capstone::ARM64_INS_IC:
2143 break;
2144
2145 case triton::extlibs::capstone::ARM64_INS_DC:
2147 break;
2148
2149 case triton::extlibs::capstone::ARM64_INS_AT:
2151 break;
2152
2153 case triton::extlibs::capstone::ARM64_INS_TLBI:
2155 break;
2156
2157 default:
2159 break;
2160 }
2161
2162 return tritonId;
2163 }
2164
2165
2167 switch (id) {
2168 case ID_INS_LDARB:
2169 case ID_INS_LDAXRB:
2170 case ID_INS_LDRB:
2171 case ID_INS_LDRSB:
2172 case ID_INS_LDTRB:
2173 case ID_INS_LDTRSB:
2174 case ID_INS_LDURB:
2175 case ID_INS_LDURSB:
2176 case ID_INS_LDXRB:
2177 case ID_INS_STLRB:
2178 case ID_INS_STLXRB:
2179 case ID_INS_STRB:
2180 case ID_INS_STTRB:
2181 case ID_INS_STURB:
2182 case ID_INS_STXRB:
2183 return 1;
2184 case ID_INS_LDARH:
2185 case ID_INS_LDAXRH:
2186 case ID_INS_LDRH:
2187 case ID_INS_LDRSH:
2188 case ID_INS_LDTRH:
2189 case ID_INS_LDTRSH:
2190 case ID_INS_LDURH:
2191 case ID_INS_LDURSH:
2192 case ID_INS_LDXRH:
2193 case ID_INS_STLRH:
2194 case ID_INS_STLXRH:
2195 case ID_INS_STRH:
2196 case ID_INS_STTRH:
2197 case ID_INS_STURH:
2198 case ID_INS_STXRH:
2199 return 2;
2200 case ID_INS_LDRSW:
2201 case ID_INS_LDTRSW:
2202 case ID_INS_LDURSW:
2203 return 4;
2204 default:
2205 return 0;
2206 }
2207 }
2208
2209 }; /* aarch64 namespace */
2210 }; /* arm namespace */
2211 }; /* arch namespace */
2212}; /* triton namespace */
TRITON_EXPORT triton::uint32 getMemoryOperandSpecialSize(triton::uint32 id) const
Returns memory access size if it is specified by instruction.
TRITON_EXPORT triton::arch::arm::vas_e capstoneVASToTritonVAS(triton::uint32 id) const
Converts a capstone's vas id to a triton's vas id.
TRITON_EXPORT triton::arch::arm::condition_e capstoneConditionToTritonCondition(triton::uint32 id) const
Converts a capstone's condition id to a triton's condition id.
TRITON_EXPORT triton::arch::arm::shift_e capstoneShiftToTritonShift(triton::uint32 id) const
Converts a capstone's shift id to a triton's shift id.
TRITON_EXPORT AArch64Specifications(triton::arch::architecture_e)
Constructor.
TRITON_EXPORT triton::arch::register_e capstoneRegisterToTritonRegister(triton::uint32 id) const
Converts a capstone's register id to a triton's register id.
TRITON_EXPORT triton::arch::arm::extend_e capstoneExtendToTritonExtend(triton::uint32 id) const
Converts a capstone's extend id to a triton's extend id.
TRITON_EXPORT triton::uint32 capstoneInstructionToTritonInstruction(triton::uint32 id) const
Converts a capstone's instruction id to a triton's instruction id.
The exception class used by architectures.
register_e
Types of register.
Definition archEnums.hpp:68
@ ID_REG_INVALID
invalid = 0
Definition archEnums.hpp:69
shift_e
Types of shift.
vas_e
Vector arrangement specifier.
extend_e
Types of extend.
condition_e
Types of condition.
@ ID_SHIFT_LSR
Logical Shift Right (immediate)
@ ID_SHIFT_ASR
Arithmetic Shift Right (immediate)
@ ID_SHIFT_ROR
Rotate Right (immediate)
@ ID_SHIFT_INVALID
invalid
@ ID_SHIFT_LSL
Logical Shift Left (immediate)
@ ID_VAS_4S
4 lanes, each containing a 32-bit element.
@ ID_VAS_2D
2 lanes, each containing a 64-bit element.
@ ID_VAS_4B
4 lane, containing an 8-bit element.
@ ID_VAS_1D
1 lane containing a 64-bit element.
@ ID_VAS_16B
16 lanes, each containing an 8-bit element.
@ ID_VAS_8B
8 lanes, each containing an 8-bit element.
@ ID_VAS_1S
1 lane, containing an 32-bit element.
@ ID_VAS_1Q
1 lane containing a 128-bit element.
@ ID_VAS_INVALID
invalid
@ ID_VAS_1B
1 lane, containing an 8-bit element.
@ ID_VAS_8H
8 lanes, each containing a 16-bit element.
@ ID_VAS_1H
1 lane, containing an 16-bit element.
@ ID_VAS_4H
4 lanes, each containing a 16-bit element.
@ ID_VAS_2H
2 lanes, each containing a 16-bit element.
@ ID_VAS_2S
2 lanes, each containing a 32-bit element.
@ ID_EXTEND_SXTW
Extracts a word (32-bit) value from a register and zero extends it to the size of the register.
@ ID_EXTEND_UXTX
Use the whole 64-bit register.
@ ID_EXTEND_SXTX
Use the whole 64-bit register.
@ ID_EXTEND_SXTH
Extracts a halfword (16-bit) value from a register and zero extends it to the size of the register.
@ ID_EXTEND_UXTB
Extracts a byte (8-bit) value from a register and zero extends it to the size of the register.
@ ID_EXTEND_INVALID
invalid
@ ID_EXTEND_UXTW
Extracts a word (32-bit) value from a register and zero extends it to the size of the register.
@ ID_EXTEND_SXTB
Extracts a byte (8-bit) value from a register and zero extends it to the size of the register.
@ ID_EXTEND_UXTH
Extracts a halfword (16-bit) value from a register and zero extends it to the size of the register.
@ ID_CONDITION_HS
Higher or same (unsigned >=). C set.
@ ID_CONDITION_PL
Positive or zero. N clear.
@ ID_CONDITION_VC
No overflow. V clear.
@ ID_CONDITION_LE
Signed <=. Z set, N and V differ.
@ ID_CONDITION_VS
Overflow. V set.
@ ID_CONDITION_MI
Negative. N set.
@ ID_CONDITION_GE
Signed >=. N and V the same.
@ ID_CONDITION_GT
Signed >. Z clear, N and V the same.
@ ID_CONDITION_HI
Higher (unsigned >). C set and Z clear.
@ ID_CONDITION_NE
Not equal. Z clear.
@ ID_CONDITION_AL
Always. Any flags. This suffix is normally omitted.
@ ID_CONDITION_LO
Lower (unsigned <). C clear.
@ ID_CONDITION_LT
Signed <. N and V differ.
@ ID_CONDITION_LS
Lower or same (unsigned <=). C clear or Z set.
@ ID_CONDITION_INVALID
invalid
@ ID_CONDITION_EQ
Equal. Z set.
std::uint32_t uint32
unisgned 32-bits
The Triton namespace.