Sidney Pontes Filho
82c874c209
Fix Disassembler and TableGen Files of TriCore
2023-04-14 00:34:09 +08:00
Sidney Pontes Filho
f5687523e3
Modify Makefiles for TriCore architecture
2023-04-14 00:34:08 +08:00
Sidney Pontes Filho
67f3c46f1b
Add TriCore Architecture
2023-04-14 00:34:07 +08:00
Wu ChenXu
b3c9068bcb
Merge pull request #1960 from Rot127/sh-build-warnings
...
[SH] Fix build warnings
2023-04-06 18:01:54 +08:00
Rot127
c3cc9ae533
Remove unused variable
2023-04-06 03:57:28 -05:00
Wu ChenXu
05c2e95e4f
Merge pull request #1974 from thomasdangl/next
2023-03-19 17:35:46 +08:00
Thomas Dangl
c08f80ce7a
AArch64: fixes register access flags for moves
2023-03-14 15:50:11 +01:00
stevielavern
f1a36b6894
Fix for missing register usages on ARM64 authenticated branches (issue #1975 )
2023-03-14 11:36:05 +01:00
Nam Cao
43ddc91283
correct register accesses for ARM's sxtb/uxtb and similar instructions
2023-03-07 18:59:06 +01:00
Rot127
854153e7c9
[SH] Fix several unused variable warnings.
2023-03-06 21:35:22 -05:00
Rot127
cd469285dd
[SH] Fix unsued function warnings.
2023-02-24 13:52:09 -05:00
Wu ChenXu
fe63ddb108
Merge pull request #1927 from ysat0/superh
2023-01-27 14:58:24 +08:00
Johan Mattsson
81b57c6eb4
Fix potential array out of bounds
2022-11-26 15:59:18 +01:00
Yoshinori Sato
78a1fa2f5d
SH: fix include path.
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-11-25 15:01:09 +09:00
Wu ChenXu
a7e325389b
Merge pull request #1934 from frida/fix/custom-allocator-regressions
...
Fix regressions in custom memory allocator support
2022-11-24 18:35:19 +08:00
ζeh Matt
1249f05c49
Add post_index to arm
2022-11-22 22:25:08 +02:00
ζeh Matt
b5c865a0cd
Add post_index field for cs_arm64
2022-11-22 19:23:32 +02:00
Yoshinori Sato
15bebb5cca
Fix include path.
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-11-14 16:21:34 +09:00
Ole André Vadla Ravnås
4307c0a6a4
Fix regressions in custom memory allocator support
...
Where new code started using malloc() and free() directly instead of
going through the cs_mem_* functions.
2022-11-09 01:01:12 +01:00
Wu ChenXu
ba3effd320
Merge pull request #1925 from FinnWilkinson/next
...
Fixed SME index alias printing issue.
2022-10-24 19:10:17 +08:00
Yoshinori Sato
586e405a7c
Merge remote-tracking branch 'origin/next' into superh
2022-10-13 12:30:15 +09:00
Yoshinori Sato
b681153238
sh: superh support backend.
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-10-12 20:11:12 +09:00
Finn Wilkinson
51235dedef
Fixed for loop initial declaration errors in AArch64InstPrinter.
2022-10-12 10:10:46 +01:00
pancake
b83d341b3d
arm64: fix invalid free introduced in 662bb3f6cc204944614267158c1dd0eab03858df
2022-10-11 18:56:03 +02:00
Finn Wilkinson
483f14a920
Fixed SME index alias printing issue.
2022-10-11 15:37:34 +01:00
Wu ChenXu
215822fde7
Merge pull request #1921 from huth/fixes
...
m68k: Add support for the FNOP instruction
2022-10-07 13:57:15 +08:00
Wu ChenXu
c0e1839d5c
Merge pull request #1907 from FinnWilkinson/AArch64-Armv9.2-update
2022-10-06 17:27:20 +08:00
Thomas Huth
15286490fb
m68k: Add support for the FNOP instruction ( fixes #1916 )
...
The FNOP instruction has the same encoding as FBF with zero displacement,
but according to the manual, it has some additional synchronization
functions, so it would be good if Capstone disassembles this with the
FNOP mnemonic instead of the FBF mnemonic.
Before this change:
$ cstool m68k40 0xf2800000
0 f2 80 00 00 fbf.w $2
After this change:
$ cstool m68k40 0xf2800000
0 f2 80 00 00 fnop
2022-10-02 08:07:33 +02:00
Thomas Huth
55dd90c50a
m68k: Remove duplicated LIMIT_CPU_TYPES statement
...
The second one is unnecessary and was likely a copy-n-paste error.
2022-10-02 08:06:12 +02:00
Finn Wilkinson
6d5a3b1a44
Updated AArch64 Instruction Printer to support new Armv9.2 instructions.
...
Implemented new functions present in LLVM 14.0.5 for any new instruction
type in Armv9.2; mainly SME / Matrix printing functions.
New set_sme_index function added (called from AArch64GenAsmWriter.inc)
to correctly add operands to new sme_index operand type. Doing_SME_Index
bool added to cs_struct to indicate when operands should be added to
sme_index type.
Functionality added to support SMSTART/SMSTOP aliases.
2022-09-30 16:34:09 +01:00
Finn Wilkinson
222a8b4278
Updated AArch64 BaseInfo.h and Mapping.c to refelct Armv9.2 architectural changes and .inc file changes.
2022-09-30 16:14:37 +01:00
Finn Wilkinson
b60d0df0d8
Updated AArch64 Disassembler.
...
Added new decode functions, mainly for SME matrix operands and SVCR sys
register, as well as updating existing decode functions which have seen
changes in LLVM 14.0.5.
The _getInstruction function has also been updated to its LLVM 14.0.5
counterpart; with a new switch case for adding implicit operands to the
relevant SME instructions.
2022-09-30 16:07:07 +01:00
Finn Wilkinson
4a5e69f69e
Generated new Armv9.2 AArch64 .inc files from LLVM 14.0.5
2022-09-30 15:51:03 +01:00
Mario Haustein
3f8a6e8537
PPC: fix out of bound memory access
...
closes #1912
2022-09-07 17:27:54 +02:00
pancake
23a4475cec
Fix -Werror build
2022-07-31 15:24:52 +02:00
Richard Patel
4af02db7bc
Avoid setting PowerPC branch hint on signed disp
2022-07-23 16:44:12 +02:00
Richard Patel
f1a2281f03
Fix PPC insn names and psq displacement
2022-07-23 16:44:12 +02:00
Richard Patel
6a13a78d21
Run synctools (PPC PS support)
2022-07-23 08:50:47 +02:00
pancake
f477dd4f70
One semicolon is enough in C ( #1892 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2022-07-08 07:06:38 +08:00
Wu ChenXu
3fd4712b0b
Merge pull request #1886 from terorie/ebpf-callx
2022-06-09 21:37:40 +08:00
Richard Patel
fb34475a1f
Add eBPF callx instruction
2022-06-06 11:56:40 +02:00
Richard Patel
26999b6df5
Fix eBPF lddw opcode
2022-06-06 10:51:48 +02:00
Adam Seitz
b27f3df27e
Comprehensively add vas specifiers to ARM aliases
2022-04-29 13:49:52 -04:00
Adam Seitz
9998268b93
Fix AArch64InstPrinter indentation
2022-04-28 17:41:14 -04:00
Wu ChenXu
2bd6f00b53
Merge branch 'next' into aarch64-alias-vas-specifiers
2022-03-22 22:58:06 +08:00
Adam Seitz
ee689c4512
Set .vas for aliased AArch64 instructions
2022-03-21 13:24:57 -04:00
Adam Seitz
d729d88e87
Combine aarch64 sys operand enums
2022-03-18 14:15:46 -04:00
Adam Seitz
6687276cad
Build SYS operand for AArch64 sys operations
2022-03-18 09:43:13 -04:00
Wu ChenXu
524e863ad1
Merge pull request #1840 from stevielavern/fix_ldr
...
Fix AArch64 ldapr detailed information #1839
2022-02-28 14:23:55 +08:00
kabeor
cdce5c8190
fixed incorrect MI->ac_idx leading to wrong AArch64 InsnOp access printing
2022-02-28 13:26:08 +08:00