Commit Graph

1727 Commits

Author SHA1 Message Date
Rot127 b3017894d6 Set mnemonic in PPC_printInst().
Because the cs_insn->mnemonic gets set *after* the
post_printer is called and cs_insn->mnemonic is not memset to 0
before, post_printer() of PPC receives a cs_insn->mnemonic with
random data.
This in turn leads randomly to incorrect setting of the branch hints
and the update_cr0 flag. Because those are set in the post_printer()
of PPC.
2023-05-21 09:55:41 -05:00
billow 06126191e3 Fix compile warning 2023-05-20 19:55:14 +08:00
Wu ChenXu 95fa62d8fa Merge pull request #2022 from stevielavern/fix_pac 2023-05-20 10:19:19 +08:00
Wu ChenXu 7fbfce7aee Merge pull request #2023 from imbillow/tricore_fix
Fix disassemble of `xor`
2023-05-18 15:38:20 +08:00
billow 0fdff8dc33 Fix disassemble of `xor`
- update generate file using 78180b63f8
2023-05-18 07:29:02 +08:00
stevielavern 8e6b3e4eb3 Fix register accesses & operands of multiple PAC instructions 2023-05-16 14:10:00 +02:00
Wu ChenXu 023afee4f4 Merge pull request #2019 from imbillow/tricore-fix-disp 2023-05-16 10:44:09 +08:00
Wu ChenXu 2d95755bad Merge pull request #2017 from Rot127/fix_sh_warnings 2023-05-16 10:43:40 +08:00
billow 6f44941806 Fix disp fill 2023-05-14 06:34:46 +08:00
Rot127 97290921ac Initialize rw 2023-05-13 03:52:15 -05:00
billow b19a370f86 Update arch/TriCore/TriCoreInstPrinter.c
Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2023-05-13 03:38:27 +08:00
billow 35f151558f Update arch/TriCore/TriCoreInstPrinter.c
Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2023-05-13 03:38:21 +08:00
billow ec19bd9df2 Update arch/TriCore/TriCoreInstPrinter.c
Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2023-05-13 03:37:08 +08:00
billow 4ad9cb1b02 Refactor TriCoreInstPrinter.c 2023-05-13 03:01:24 +08:00
billow 44b8610297 Fix tricore disp print 2023-05-13 02:45:00 +08:00
Rot127 c04b436af6 Fix warnings about unhandled switch cases by adding defaults. 2023-05-12 13:40:24 -05:00
billow b0f9097884 Fix tricore disp24 print 2023-05-13 02:29:26 +08:00
Rot127 d1b97799b5 Update indentation 2023-05-11 11:45:33 -05:00
Rot127 7326053a0b Fix SH build warnings. 2023-05-11 09:15:12 -05:00
billow 404edd5772 Fix compilation warnings related to TriCore. (#2012)
* fix tricore compiler warn `-Wmissing-prototypes`

* include cstool.h
2023-05-09 20:46:10 +08:00
billow 114f1ad867 Upper all `inc` and fix 2023-05-01 22:52:47 +08:00
billow c8e5f758a0 Merge branch 'next' into tricore 2023-04-27 13:23:35 +08:00
billow 2873d3b58c Fix tricore.h and remove `inc` folder 2023-04-25 09:24:07 +08:00
billow acc8c3fb13 Fix `print_insn_detail_tricore` and disp fill 2023-04-23 15:14:03 +08:00
billow 2c052afe3c Fix format error 2023-04-23 14:43:14 +08:00
billow 2785d31399 Format all .(c|h) code 2023-04-20 21:55:37 +08:00
billow 2919f94530 fix all tricore compile warnings 2023-04-20 09:22:25 +08:00
billow 26cb58dabc fix: support for TriCore call group mapping 2023-04-20 08:35:13 +08:00
Junghee Lim 4d200beab7 Add handling of prefix `NOTRACK` 2023-04-19 17:13:39 -04:00
billow a4118c4ec9 update TriCoreGenAsmWriter.inc 2023-04-14 00:36:16 +08:00
billow 008ef096d3 Update tricore `.inc` 2023-04-14 00:36:12 +08:00
billow b412f528c8 fix `TriCoreGenCSMappingInsnName.inc` 2023-04-14 00:36:11 +08:00
billow 36a975d8a2 fix `TRICORE_OP_MEM` 2023-04-14 00:36:11 +08:00
billow 2254e61515 cleanup 2023-04-14 00:36:10 +08:00
billow cf36371e5e fix `TriCore_getRegisterName` 2023-04-14 00:36:09 +08:00
billow 230ff6db56 fix tests 2023-04-14 00:36:08 +08:00
billow c78a086a55 fix `TRICORE_GENERIC` inst 2023-04-14 00:36:07 +08:00
billow d56c37ac07 fix tests 2023-04-14 00:36:06 +08:00
billow 2a7684d272 fix tests 2023-04-14 00:36:05 +08:00
billow e843a8df56 fix tests 2023-04-14 00:36:04 +08:00
billow dd04f4d98b Update TriCore instructions in TriCoreInstrInfo.td 2023-04-14 00:36:04 +08:00
billow 014c73de2e add tests 2023-04-14 00:36:03 +08:00
billow 3d2a56c2cd fix tc1.6.2 tests 2023-04-14 00:36:02 +08:00
billow 303fa9a7d8 fix tc1.6.2 tests 2023-04-14 00:36:01 +08:00
billow 68e448d500 fix tc1.1 tests 2023-04-14 00:36:00 +08:00
billow 4e75d75e91 fix 2023-04-14 00:35:59 +08:00
billow 67ec2089f1 fix 2023-04-14 00:35:58 +08:00
billow 54a579f06d fix 2023-04-14 00:35:57 +08:00
billow 26e507febe fix `RCR` printer 2023-04-14 00:35:56 +08:00
billow cf921632cf fix tc110 test and fix decode 2023-04-14 00:35:55 +08:00