Commit graph

846 commits

Author SHA1 Message Date
Denys Melnyk
4eb90672f3
Xtensa: gate ESP32-S3 and HIFI3 ops behind CS_MODE_XTENSA_ESP32S3 (#2979)
The Xtensa disassembler enabled the ESP32-S3 SIMD/AI (ee.*) and HiFi3 ops for
every target because the subtarget feature gates were stubbed to return true
(Xtensa_getFeatureBits and hasDensity/hasESP32S3Ops/hasHIFI3). As a result, on a
non-ESP32-S3 Xtensa config any instruction with op0=0xE/0xF was matched as a
4-byte ee.* op, so a base-ISA byte stream desynced.

Make Xtensa_getFeatureBits map the mode to a feature set (mirroring the SystemZ
precedent), thread MI->csh->mode into the three has*Ops gates, and add an opt-in
CS_MODE_XTENSA_ESP32S3. Base/esp32/esp32s2/esp8266 no longer emit ESP32-S3 ops;
CS_MODE_XTENSA_ESP32S3 preserves them. Concrete instance of issue #1992.

The saved auto-sync patch hashes are updated so the fix survives the next LLVM
re-sync. Adds tests/MC/Xtensa/esp32s3.s.yaml.

Co-authored-by: Denys Melnyk <denys@com2cloud.com>
2026-07-22 16:13:28 +00:00
Rot127
6ef3f48566
v6.0.0 Alpha10 (#2998)
* Update Python bindings

* Increment version number

* Replace all lowercase letters from ALPHA_INS_ enums with upper case.

* Update changelog
2026-07-21 15:50:52 +00:00
مصطفي محمود كمال الدين
032f79993d
RISC-V: Add v5 compatibility behaviour for CS_MODE_RISCVC/RISCV_C (#2996)
Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2026-07-18 16:58:01 +00:00
Amaan Mujawar
54fcf14f05
AArch64: Add option for explicit shifted wide immediates (#2995)
Add CS_OPT_SYNTAX_AARCH64_EXPLICIT_WIDE_IMM to print shifted
MOVN and MOVZ instructions in their explicit forms instead of using
the equivalent MOV aliases.

Keep the existing LLVM-compatible alias output as the default, and
retain MOV aliases for unshifted instructions when the option is
enabled.

Expose the option through cstool and the Python bindings, and add
regression tests for MOVN, MOVZ, 32-bit and 64-bit forms.

Fixes #2890

Signed-off-by: Amaan Mujawar <amaansmujawar@gmail.com>
2026-07-16 15:24:18 +00:00
مصطفي محمود كمال الدين
19243483f6
Add frm operands to float/double instructions (#2972)
---------

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2026-06-23 13:28:28 +00:00
Rot127
faffeec2dc
Fix naming convention of Alpha enums. (#2971)
All the enum names were prefixed with `Alpha` instead of `ALPHA`.
That happened because of an old Auto-Sync bug.
Sadly, I just recognized that Alpha was generated with it.
No idea why it got through in the PR in the first place.

I really would like that to have fixed before Beta.
And while it is super annoying for everyone to fix,
it is better to do as early as possible.

A simple command to replace all these occurrences in your code base is:
```
find . -type f -regex ".*\.\(c\|h\)$" -exec sed -i -E "s|Alpha_([A-Z0-9_]+)|ALPHA_\1|g" {} +
```

Please excuse the inconvenience!
2026-06-20 15:50:33 +00:00
billow
4eeceba201
Add M68K ColdFire ISA support (#2927)
* regenerate arch/M68K/M68KInstructionTable.inc

* Add M68K ColdFire ISA support

* Apply suggestions from code review

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>

* Clarify M68K EA validation and detail checks

* Normalize M68K memory operand details

* Update docs/cs_v6_release_guide.md

---------

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2026-05-22 15:04:35 +00:00
Petar Andrić
d650f67eb2
RISCV: the Ventana vendor is missing in the API (#2917)
* RISCV: the Ventana vendor was missing in the API

* Update docs
2026-05-13 16:33:27 +00:00
Duncan Ogilvie
90943652bb
Python: use setattr to rewire Cs.disasm to avoid type checking errors (#2915)
```
error[invalid-argument-type]: Argument to function `Cs.disasm` is incorrect
  --> test.py:15:36
   |
15 |         insn = list(self.cs.disasm(code, address, 1))[0]
   |                                    ^^^^ Expected `Cs`, found `bytes`
   |
info: Function defined here
    --> .venv/lib/python3.14/site-packages/capstone/__init__.py:1466:9
     |
1466 |     def disasm(self, code, offset, count=0):
     |         ^^^^^^ ---- Parameter declared here
     |
info: Union variant `def disasm(self, code, offset, count=0) -> Unknown` is incompatible with this call site
info: Attempted to call union type `(bound method Cs.disasm(code, offset, count=0) -> Unknown) | (def disasm(self, code, offset, count=0) -> Unknown)`
```
2026-05-12 10:58:16 +00:00
AGhebrea
e46f64fadb
Implements load libcapstone.so with RTLD_DEEPBIND #2912 (#2913)
* Implements load libcapstone.so with RTLD_DEEPBIND in the Python bindings. #2912

* remove RTLD_DEEPBIND magic number

* remove extra if/else

* use getattr in case os.RTLD_DEEPBIND is not defined
2026-05-10 19:29:24 +00:00
Naren Sirigere
808aee0d22
Extend M680X support to HCS12X (#2898)
Signed-off-by: Naren Sirigere <sirigere.naren@gmail.com>
2026-05-02 09:04:08 +00:00
billow
55d1eef5b2
Update m68k (#2880)
* Add support for M68060 architecture in M68K disassembler and tests

Add disassembly support for CAS instruction in M68060 and update tests

Add support for M68K CPU32 mode and new instructions

- Introduced CS_MODE_M68K_CPU32 to support the M68K CPU32 architecture in the Python bindings and C headers.
- Updated the instruction table generator to include new CPU32-specific instructions: `bgnd`, `tbls`, `tblu`, `tblsn`, and `tblun`.
- Enhanced the instruction decoding logic in `cs.c` to account for CPU32 mode.
- Added test cases for new instructions and ensured compatibility with existing M68K modes.
- Updated YAML test files to validate the behavior of new instructions under different M68K modes.

fix(M68K): fix cross-arch bugs in cpush/cinv and dc.w printing

build_cpush_cinv: use op1->reg instead of op1->imm for address
register operand. Writing to imm (uint64_t) when reg (m68k_reg,
uint32_t) is read back causes garbage values on big-endian targets
(PPC64, s390x) due to union byte order mismatch.

M68K_printInst: cast imm to uint32_t before passing to PRIx32
format. Passing uint64_t to a PRIx32 format specifier is UB; on
32-bit big-endian MIPS the high word (0) is read instead of the
low word containing the instruction bytes.

Fixes cstest details failures on QEMU Linux PPC64, s390x, Mips32.

run clang-format

fix[m68k]: ori build_imm_ea

fix[m68k]: btst

fix[m68k]: cast immediate values to unsigned int in build_imm_ea functions

* fix get_with_index_address_mode

* - Replaced specific assembly instructions with `dc.w` for invalid cases.
- Added new test cases for SBCD, PACK, UNPK, CHK.L, and coprocessor instructions to ensure correct behavior across different CPU models.
- Ensured that invalid instructions for CPU32 and 68000 are correctly identified.
- Updated expected outputs for fsdiv and PMMU related instructions to reflect their validity on specific architectures.

* Fix CMake test command to use target file reference for integration tests

* Refactor PMOVE instruction comments for clarity and accuracy in m68k.yaml

* Add tests for bitfield instructions and PC-relative addressing in m68k.yaml

* Refactor M68K instruction printing and enhance bitfield support

- Improved the M68K instruction printer by refactoring the handling of register bits and addressing modes.
- Introduced new functions for printing scale factors, index registers, and immediate values.
- Enhanced bitfield handling in the `m68k_op_mem` structure to support both static and register-encoded values.
- Updated tests to reflect changes in instruction formatting, particularly for `cinvl`, `cpushl`, and `cas2` instructions.
- Added new test cases for bitfield instructions to ensure correct parsing and output.
- Add details to tests/m68k.yaml

* Fix type casting for immediate values in addressing modes and enhance m68k architecture support in cstool

* Refactor type usage for immediate values and enhance switch handling in M68K disassembler

- Replace int with uint32_t for immediate values, register lists, and related parameters to ensure correct type handling and consistency.
- Add default cases to switch statements for improved robustness.
- Update bitfield printing to use explicit PRId8 formatting for clarity.
- Refactor detail handling in M68KInstPrinter to use helper functions for detail access.
- Minor code cleanups and improved type safety throughout disassembler logic.

* m68k: update v6 guide
2026-04-28 12:39:36 +00:00
مصطفي محمود كمال الدين
676893c1a8
RISC-V: add reg_access and test its usages in C and Python (#2895)
* RISC-V: add reg_access and test its usages in C and Python

reg_access is a convenience wrapper over the `operands` array that filters the register operands (including those used as memory base address) and returns them sorted into read
and written registers. It wasn't implemented for RISC-V, this PR implements it.

The following decisions were made for RISC-V:
1- System registers (CSRs) are not registers

This follows existing Capstone convention, where almost every archiceture that have system registers except x86 treats them as a seperate address space.

From a purely practical POV, the reg_access function API returns registers as an array of integers, and the address space of normal registers intersects with that of system registers
so there is nothing in the return value to distinguish them.

2- PC is not an implicit register

Whenever an instruction reads PC (e.g. all call-ish instructions JAL[R]?) this is NOT counted as an implicit read of the PC.

The reason is that the PC is somewhat "second class" in RISC-V, it's an archiectural register but has no actual index and can never be directly written to by any instruction in any
standard extension no matter the privliege.

Meanwhile, all instruction that read the PC have names that make it obvious they read the PC so adding that information to the implicit reads array would be redundant.
2026-04-17 17:40:16 +00:00
مصطفي محمود كمال الدين
1084d365b9
Fix sysreg registers in RISC-V and modify the header patcher to not crash if a header doesn't include all tags of a generated .inc file (#2894)
* fix sysreg registers in RISC-V and modify the header patcher to not crash if a header doesn't include all tags of a generated .inc file

* add tests
2026-04-15 09:25:46 +00:00
مصطفي محمود كمال الدين
b4c39410ab
Introduce a +noaliascompressed option to selectively enable none-aliasing for compressed instrcution only but leave aliasing for the rest of instructions (#2869)
* introduce a +noaliascompressed option to selectively enable none-aliasing for compressed instrcution only but leave aliasing for the rest of instructions

* add tests and documentation comments

* fix python bindings and formatting

* add docs
2026-03-04 12:43:39 +00:00
@Antelox
e1c899a15a
Python binding: (#2874)
- Remove xprint dependency from tests
2026-03-02 19:11:38 +00:00
Naren Sirigere
bb89ad7f74
Extend M680X support to RS08 (#2872)
* Extend M680X support to RS08

* Format bindings/python/capstone/__init__.py

---------

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2026-02-28 19:21:07 +00:00
Rot127
4d291145d0
Convert all README's to markdown files. (#2863)
* Don't indent links and use https.
2026-02-14 13:56:07 +00:00
مصطفي محمود كمال الدين
ec6428f92d
Refactoring the RISCV architecture to Auto-Sync on LLVM (#2756)
- Updated to LLVM-18
- Operands have now read/write access information
- Previously only the basic extensions and the compressed ISA was supported, now every extension supported by LLVM-18 also available (e.g. vector, crypto, ...)
- Changed register names
  * FP Regs: Instead of `RISCV_REG_F<n>_32` and `RISCV_REG_F<n>_64`, they're named `RISCV_REG_F<n>_F`
  and `RISCV_REG_F<n>_D` for n in `0..31`
- Added register names
  * Vector registes and combinations thereof `RISCV_REG_V<n>[_V<n_i>]*`, examples
    * `RISCV_REG_V21`
    * `RISCV_REG_V9_V10`
    * `RISCV_REG_V3_V4_V5`
    * etc... up to 8-register combinations
  * Half-percision (16-bit) FP registers `RISCV_REG_F<n>_H` for n in `0..31`
- Changed instruction names
  * Instructions ending in `_AQ_RL` now end in `_AQRL`
- Added instruction names: massive amount, see `include/capstone/riscv.h`
- Added `dimm` and `csr` fields inside the union data of `cs_riscv_op`, with corresponding `riscv_op_type`
  * `dimm` is used for instructions with FP immediates
  * `csr` is used for instructions with CSR systrem registes
- Added ISA flags to turn ISA extensions on and off
2026-02-01 11:53:24 +00:00
Rot127
484857da5d
v6.0.0 Alpha6 (#2834)
* Update Python constants

* Update Java constants

* Increment version to Alpha6

* Update changelog.
2026-01-13 14:12:23 +00:00
Carsten Elton Sørensen
630f1ae92b
M68K: add displacement size fields to disassembler (#2842) 2026-01-11 13:37:45 +00:00
Carsten Elton Sørensen
1bc76ead22
M68K: fix displacement, register naming and suppressed registers in indexed addressing modes (#2839) 2026-01-04 15:16:25 +00:00
Giovanni
198cd49dd9
Fix imm to be 64bit wide (#2840) 2025-12-30 15:55:48 +00:00
Rot127
155a483672
Fix cstest_py and add negative tests. (#2807)
* Fix faulty _check().

* Add negative test case for cstest_py

* Enable full leak report and fix leaks.

* Add negative tests to cmake and CI.

* Fix typos
2025-10-29 10:18:21 +00:00
Tim Haines
8cdfe4ce71
Add instruction details to cstest logging (#2787)
* Update cstest.py logging

* Update cstest.c logging

* Change exception to log+return in TestExpected.compare

The prior change in TestCase.test converts the exception to
TestResult.FAILED which doesn't preserve the status here.

* Restore calling sequence in TestCase.test

The transformation didn't preserve error reporting. It also is
unnecessary now that TestExpected.compare returns a TestResult again.

* Convert exception to return for length check in TestExpected.compare

The callsite in TestCase.test no longer converts exceptions to a
TestResult.

* Rename local variable 'postfix' to 'prefix' in test_input_stringify

This better reflects what it actually is.
2025-10-04 19:23:44 +00:00
Tim Haines
ff04ff1aa0
Fix log message in cstest_py/compare.compare_bit_flags (#2783) 2025-09-01 15:10:17 +00:00
Rot127
2f85e932c1
Fix cstest missing size checks (#2775)
* Enable cstest/cstest_py to test for instruction size.

* Add missing operand->size check for x86 details.

* Use tbool instead of int for unity across code.

* Fix: operand->size is optional.
2025-08-17 13:02:27 +00:00
@Antelox
5f60762b50
Python binding: (#2769)
- Bump cibuildwheel to 3.1.3
- Support free-threaded CPython build for python 3.14
- Remove 3.6 and 3.7 from cibw_skip since they are skipped by default by the newer cibuildwheel
2025-08-14 13:26:37 +00:00
Rot127
fad9f80564
Release prep v6 alpha5 (#2765)
* Set package tag to Alpha5.

* Update all binding constants.

* Update changelog.
2025-08-04 11:13:08 +00:00
Rot127
a4cb247c18
Fix duplication of memory operand (#2761)
* Fix invalid bounds check and return NULL in case of OOB.

* Prevent duplication of memory operands.

* Increase maximum op count for Sparc

* Fix Mips instructions with more than 10 operands.
2025-07-23 17:58:47 +00:00
R3v0LT
52329bcca1
HPPA fix mem operands access and instruction printing (#2746)
* Remove base_access

* Add spaces into instrtuction mnemonics

* Fix hppa test

* Fix common details test

* Add hppa access tests
2025-07-06 11:21:22 +00:00
@Antelox
99f018ac97
Python binding: (#2742)
- Enabled ABI wheel building
- Refactored the GitHub workflow to the ABI3 wheel building and testing
- Bumped cibuildwheel to 2.23.3
2025-06-24 12:48:46 +00:00
Rot127
a07baf83dd
Auto-Sync update Sparc LLVM-18 (#2704)
* Add Sparc inc fils, delete old files and update AS with Sparc config.

* AS: Refuse to run differ if an old file is missing.

* AS: Refer to the RefactorGuide.md

* Add first translated Sparc files.

* Fixup SparcMCTargetDesc.h

* Fixup SparcDisassembler.h

* Fixup instruction printer.

* Fixup SparcInstPrinter

* Basic functions of Capstone module

* Fix SP sparc namespace prefix.

* Fix build script and linking

* Fix disassembler not actually reading bytes.

* Match \!encoding in llvm-mc output (Sparc has this).

* Add Sparc LE and and make v9 a feature to enable.

* Update test files for Sparc

* Fix tests.

* Add assembly tests

* AS: Add settings to use assembly tests.

* Test fixes

* Fix typos

* Add reg and imm details.

* Add mem details and instruction formats.

* Handle condition codes.

* Formatting

* Add hints.

* Add membar and asi tags

* Update Python bindings

* Add asi and membar to cstest

* Restructure test file

* Capstone fix for llvm-project/#139284.

* Fix branch detail tests

* Handle faulty mem operand defintions.

* Add membar and asi tests

* Add one more branch instruction test.

* Add missing call alias

* Fix tests.

Updated after fixing branch disponents.
Issues with the generated assembly tests. The assembly tests don't check the feature flags enabled. And hence V9 tests are added to the none V9 test file.

* Fix alias lookup with , in the asm_text

* Fix common detail tests.

* Fix issue.yaml

* Add Sparc changelog

* Add changelog for Sparc to v6 guide

* Fix incorrect translated array size check.

* Reading the ISA and thinking would help...
This is not how alignment is calculated -.-

* Fix call targets

* Remove 'real' BA instruction (which is only an alias).

* Add missing property getters.

* Add missing format details

* Set correct detail struct

* Support access detail testing for Sparc.

* Add hard-coded special registers tbr, wim, psr

* Add alias tests for call and ba.

* Fix copy paste mistake.

* Add note about big/little endian into guide.

* Add implied flag for SparcV9

* Format

* Store CC field consistently in an extra field.

The CC field used was sometimes stored as register,
sometimes as not at all.
Now it is consistently stored in a separated field.

* Add an invalid ASI tag.

* Fix LDSTUB/A memory access and incorrect operand details.

* Handle condition codes more elegantly.

Also fixes bugs with wrong cc fields, or missing fields.

* Add separation ; character for assembly tests.

* Apply fix from llvm-project/#143232

* Use enum types for memory operands

* Update Pythyon constants
2025-06-24 12:45:34 +00:00
Chen
21ce362438
Use cs_ac_type for operand access mode in all arches and use cs_xtensa_op_type for Xtensa operand type (#2721)
* Xtensa: use cs_xtensa_op_type for operand type, and use cs_ac_type for operand access mode

To explicitly tell the user the possible values of the operand
type/access mode.

Also drop the unused XTENSA_OP_MEM_REG and XTENSA_OP_MEM_IMM.

* Use cs_ac_type for operand access mode in all arches

Currently, some arches use uint8_t for operand access mode, while others
use cs_ac_type. Use cs_ac_type uniformly.

* M680X: use cs_ac_type directly, instead of adding another e_access type

* Change access type to c_uint to follow c-side changes to cs_ac_type

* Document operand access type change to enum
2025-06-05 11:49:20 +08:00
Rot127
87908ece5b
Add flag for the SoftFail case of the LLVM disassembler. (#2707) 2025-05-26 21:39:17 +08:00
Rot127
fc525c7326
Apple AArch64 proprietary (#2692)
* Fix: In case of combat header AArhc64 should be defined by ARM64

* Add Apple proprietary AMX extension.

* Refine docs about Auto-Sync update

* Add Mul53 instructions.

* Fix accidentially removed memory information.

* Add gexit, genter, wkdmd, wkdmc instructions.

* Add sdsb and at_as1elx

* Update Python bindings.

* Fix typo.
2025-05-06 12:14:13 +08:00
Leon Hwang
2607d0f39a
Remove undefined constants in riscv_const.py (#2660) (#2661)
The following constants are undefined in `capstone/include/capstone/riscv.h`.

So, remove them as those were commented in `riscv.h`.

Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
2025-04-02 19:20:35 +08:00
Rot127
bb2f657973
Enhance shift value and types of shift instructions. (#2638)
* Enhance shift value and types of shift instructions.

Shifts via registers now save the register id in cs_arch64_op.shift.value
and set the shift type accordingly.

* Sort table
2025-03-09 22:11:53 +08:00
Rot127
cd282ef593
Update operand type enums of all arch modules to the one in capstone.h (#2633)
* Set all operand types to the main CS_OP_ types from capstone.h.

* Add test cases from issue.
2025-03-03 11:59:24 +08:00
@Antelox
cd8dd20ccf
- Added missing files for sdist archive (#2624) 2025-03-01 22:35:59 +08:00
Giovanni
1bea3fab15
Add checks for MIPS details on cstest_py (#2640) 2025-02-27 17:19:21 +08:00
Giovanni
ace8056ca8
Add aliases mapping for MIPS & test for id, alias_id (#2635) 2025-02-26 23:42:31 +08:00
Wu ChenXu
8ac2843b9b
chore(version): Update Version to 6.0.0-Alpha3 (#2616)
* chore(version): Update Version to 6.0.0-RC1

* chore(version): change version name to 6.0.0-alpha3
2025-01-29 00:59:30 +08:00
Rot127
d7ef910bc6
Rebased #2570 (#2614)
* Add ARC files

* Added ARC files for successful compilation

* Refactor ARC files

* Add ARC c/cs tests

* Add ARC python test/bindings

* Add ARC to CI/CD

* Avoid omitting parameter names

* Update cs files

* Fix ARC bugs

* Update ARC python bindings

* Refactor and update ARC test files

* Add detail flag to arc test

* Fix ARC test problems

* Fix ARCMapping compile error

* Replace __CHAR_BIT__ to CHAR_BIT

* Add credits and ARC info

* Update ARC to match the latest next

* Python formatting

* Remove asserts on 'Unknown condition code passed'

* Add ARC to some more documentation

* Add ARC to Targets constants

* Add ARC support to llvm-tblgen

* Replace asserts & add Expr handling

* Check DecodeGPR32RegisterClass return value

* Fix fieldFromInstruction patch

* Refactor ARC

* Reformat python files

* Fix incorrect import

* Update inc files and insn names

* Update python files

* Disable AArch64 Linux wheel build due to https://github.com/capstone-engine/capstone/issues/2615.

---------

Co-authored-by: R33v0LT <sibirtsevdl@gmail.com>
2025-01-28 22:34:24 +08:00
Andelf
3060117630
Apply new EVM opcode updates (#2602)
* evm: apply new opcode updates and add test cases

* evm: use predefined invalid opcode 0xfe

* python: add CsInsn.is_invalid_insn to bypass evm issue
2025-01-28 20:51:43 +08:00
Changqing Jing
3c4d7fc8d6
Add tricore tc1.8 instructions (#2595)
* Add tricore tc1.8 instructions:
add.df
sub.df
madd.df
msub.df
mul.df
div.df
cmp.df
max.df
min.df
min.f
max.f
dftoi
dftoiz
dftoin
ftoin
dftou
dftouz
dftol
dftoul
dftoulz
abs.f
abs.df
dftolz
neg.df
neg.f
qseed.df
itodf
utodf
ltodf
ultodf
dftof
ftodf

* Fix python binding

* Fix python binding

* add tricore tc1.8 instructions
div64
div64.u
rem64
rem64.u

* add tricore tc1.8 instruction to tests/details

* Fix review
2025-01-28 20:50:43 +08:00
Giovanni
8629313600
Fix LoongArch aliases and CS_OPT_SYNTAX_NO_DOLLAR support (#2594)
* Fix CS_OPT_DETAIL_REAL & CS_OPT_SYNTAX_NO_DOLLAR support in LoongArch

* Fix comment
2025-01-06 18:12:44 +08:00
Roee Toledano
812e654c85
Update BPF arch (#2568) 2024-12-15 20:46:45 +08:00
Rot127
2c4b05f635
Clean up the cstest documentation and build instructions. (#2580) 2024-12-15 14:07:47 +08:00
peace-maker
89aee40003
Add arm64 and sysz compatibility layer to Python bindings (#2559)
* Add arm64.py and sysz_const.py compatibility layer to the Python bindings

When importing `capstone.arm64` before doing other capstone imports the ARM64 constants get monkey patched into the exports.
Same with `capstone.sysz_const` for the SYSZ constants.

* Add SPDX-License comments

* Access an instruction detail in compatibility test

* Fail python tests on error instead of just ERROR output

Include the test_iter.py in the test_all.py too.

* Improve python compatibility docs

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>

* Test for ARM_CC_* constants presence

---------

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2024-12-05 19:35:18 +08:00