Rot127
52ab4fd974
Add MSVC options.
2023-02-24 14:19:53 -05:00
Rot127
4f7f86c0c2
[SH] Fix parantheses and int-in-bool-context build warnings.
2023-02-24 13:53:26 -05:00
Rot127
cd469285dd
[SH] Fix unsued function warnings.
2023-02-24 13:52:09 -05:00
Wu ChenXu
6c8e87529f
Merge pull request #1959 from sunxingxing/patch-1
2023-02-22 20:51:43 +08:00
Kevin Sun
b2fff05ce3
Update Arm64.java
2023-02-20 15:06:41 +08:00
Kevin Sun
61d5ebe007
fix missing access field in arm64 java binding
2023-02-20 15:01:33 +08:00
Wu ChenXu
fe63ddb108
Merge pull request #1927 from ysat0/superh
2023-01-27 14:58:24 +08:00
Wu ChenXu
59cba22785
Merge pull request #1938 from mjunix/small-fixes
...
Fix potential array out of bounds
2023-01-19 12:07:01 +08:00
Wu ChenXu
ef03899f55
Merge pull request #1948 from Rot127/patch-3
...
Add `CMAKE_EXPORT_COMPILE_COMMANDS` to cmake build doc
2023-01-19 11:37:20 +08:00
Rot127
db678479d4
Add CMAKE_EXPORT_COMPILE_COMMANDS
to cmake build doc and reverse renaming
...
This adds the `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON` to the `cmake` build instructions.
I think it is a commonly wanted option since `compile_commands.json` is used by `clangd`. So people who work on the code possibly want this.
Also this renames the file from `debug_build_docs` to `COMPILE_CMAKE.TXT`. Because I accidentally renamed it in the last commit.
2023-01-09 14:00:34 -05:00
Wu ChenXu
056cccfb14
Merge pull request #1944 from HyperSine/next
2022-12-29 10:25:48 +08:00
Wu ChenXu
25a421eebd
Merge pull request #1943 from carenas/riscv
2022-12-26 20:39:25 +08:00
Wu ChenXu
5eea6a6b6c
Merge pull request #1942 from Rot127/patch-2
2022-12-26 20:37:48 +08:00
HyperSine
bbab923555
arm64: fix missing post_index
...
Signed-off-by: HyperSine <hypersine.git@outlook.com>
2022-12-19 12:58:09 +08:00
Carlo Marcelo Arenas Belón
f5b668b2c5
cstool: avoid misaligned instructions in compressed riscv
...
When a compressed opcode is printed, make sure there is enough
extra space at the end of it for the instructions to align.
2022-12-18 01:26:24 -08:00
Rot127
61b2fe38ce
Mention debug build option for cmake.
2022-12-17 12:29:09 -05:00
Xinyu Li
f40c8ba327
cstool: support riscv compressed instruction disassemble ( #1940 )
...
Signed-off-by: Xinyu Li <lixinyu@loongson.cn>
Signed-off-by: Xinyu Li <lixinyu@loongson.cn>
Co-authored-by: Xinyu Li <lixinyu@loongson.cn>
2022-12-03 09:57:40 +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
Wu ChenXu
acb6e99871
Merge pull request #1937 from ZehMatt/aarch64-postindex
...
ARM/AArch64: Add post-index to instruction info
2022-11-24 18:23:39 +08:00
ζeh Matt
648d4a2b55
Add post_index to python bindings
2022-11-22 22:25:49 +02:00
ζeh Matt
7f51a36732
Update comment
2022-11-22 22:25:22 +02:00
ζeh Matt
1249f05c49
Add post_index to arm
2022-11-22 22:25:08 +02:00
ζeh Matt
07dc1f2566
Add instructions with pre and post index to test_arm64
2022-11-22 22:10:31 +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
24d468a41b
Merge pull request #1932 from FinnWilkinson/next
2022-11-08 12:44:33 +08:00
Finn Wilkinson
55f3d2eb4f
Updated Arm64 python bindings after Armv9.2-a support.
2022-11-07 12:27:34 +00:00
Yoshinori Sato
065df606f0
SH: Add missing file.
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-10-25 15:14:35 +09: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
Finn Wilkinson
2e628ef382
Updated suite/cstest/arm64_detail to work with SVCR and SME_INDEX operand types.
2022-10-24 11:32:25 +01:00
Finn Wilkinson
37e3e685ad
Added test for issue 1924.
2022-10-24 11:13:13 +01:00
Yoshinori Sato
c2e05f6223
SH: Add missing sh.h
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-10-20 13:04:56 +09:00
Yoshinori Sato
586e405a7c
Merge remote-tracking branch 'origin/next' into superh
2022-10-13 12:30:15 +09:00
Yoshinori Sato
342a39a206
sh: testcase
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-10-12 20:11:19 +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
Yoshinori Sato
5b6846c2c8
SH: Add superh support for common part.
...
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2022-10-12 20:11:05 +09:00
lazymio
4875599850
Enforce C99 explicitly
2022-10-12 11:51:15 +02:00
lazymio
48c22dc932
Merge pull request #1926 from trufae/fix-invalid-free
...
arm64: fix invalid free introduced in 662bb3f6cc204944614267158c1dd0eab03858df
2022-10-12 11:31:34 +02: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
fb4eb421ca
Updated AArch64 tests to match corrections to instruction aliases.
...
Issue 1653 test commented out as the change made for this issue was reverted due to it being incomplete for all instructions. New issue #1911 has been opened to document that the original issue needs re-addressing.
2022-09-30 16:46:49 +01:00
Finn Wilkinson
7be83b5674
Added cstool printing cases for new AArch64 operand types SVCR and SME_Index.
2022-09-30 16:40:45 +01:00