Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Version 6.0.0-Alpha10

Дата публикации: 21-08-2026 00:00:00

We are happy to announce Capstone 6.0.0-Alpha10.
API changes and additions

Enum names of the Alpha architecture are now correctly all upper case.
Because of an old Auto-Sync bug all the enum names were prefixed with Alpha instead of ALPHA
and some contained lower case letters.
Sadly, I just recently recognized that Alpha was effected by that bug.
While this change is very annoying for everybody using the Alpha module,
it must be done before the Beta release.
Please excuse the inconvenience!
A simple command to replace almost all of 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" {} +

Author: @Rot127


RISC-V got a v5 compatibility macro for its header.
With its recent module update CS_MODE_RISCVC was renamed to CS_MODE_RISCV_C to be
more consistent with the other CS_MODE_ enums.
This could break builds against a v5 code base which only has CS_MODE_RISCVC.
Now you can simply define CAPSTONE_RISCV_COMPAT_HEADER before including capstone.h
and CS_MODE_RISCVC will be defined as alias for CS_MODE_RISCV_C
#define CAPSTONE_RISCV_COMPAT_HEADER
#include <capstone/capstone.h>

Author: @moste00


Prevent literal displacement truncation for AArch64 memory operands.
There are AArch64 displacements which are 64bit in size. But aarch64_op_mem.disp was an int32_t.
It was promoted to an int64_t.
Author: @amaanmujawar


Fixed several decoding bugs in the Alpha module.
See https://github.com/capstone-engine/capstone/pull/2967 for details.
Author: @mattst88


The RISC-V details now also include the FP rounding mode cs_riscv.rounding_mode.
Author: @moste00


AArch64: Add CS_OPT_SYNTAX_AARCH64_EXPLICIT_WIDE_IMM flag to print shifted MOVN and
MOVZ instructions in their explicit forms instead of using the equivalent MOV aliases.
Example output from cstool:
> cstool aarch64 0xe402a012
mov w4, #-0x170001
> cstool aarch64+explicitwideimm 0xe402a012
movn w4, #0x17, lsl #16
> cstool aarch64+explicitwideimm 0xe402a052
movz w4, #0x17, lsl #16

Author: @amaanmujawar


M68K: Fixed EA decoding error and added ColdFire EMAC_B dual-acc MAC.
Author: @b1llow

See the full release notes at https://github.com/capstone-engine/capstone/releases/tag/6.0.0-Alpha10


Основное содержимое страницы с новостью.

August 21, 2026

We are happy to announce Capstone 6.0.0-Alpha10.

API changes and additions
  • Enum names of the Alpha architecture are now correctly all upper case. Because of an old Auto-Sync bug all the enum names were prefixed with Alpha instead of ALPHA and some contained lower case letters. Sadly, I just recently recognized that Alpha was effected by that bug.

    While this change is very annoying for everybody using the Alpha module, it must be done before the Beta release. Please excuse the inconvenience!

    A simple command to replace almost all of 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" {} +
    

    Author: @Rot127

  • RISC-V got a v5 compatibility macro for its header. With its recent module update CS_MODE_RISCVC was renamed to CS_MODE_RISCV_C to be more consistent with the other CS_MODE_ enums. This could break builds against a v5 code base which only has CS_MODE_RISCVC.

    Now you can simply define CAPSTONE_RISCV_COMPAT_HEADER before including capstone.h and CS_MODE_RISCVC will be defined as alias for CS_MODE_RISCV_C

    #define CAPSTONE_RISCV_COMPAT_HEADER
    #include <capstone/capstone.h>
    

    Author: @moste00

  • Prevent literal displacement truncation for AArch64 memory operands. There are AArch64 displacements which are 64bit in size. But aarch64_op_mem.disp was an int32_t. It was promoted to an int64_t. Author: @amaanmujawar

  • Fixed several decoding bugs in the Alpha module. See https://github.com/capstone-engine/capstone/pull/2967 for details. Author: @mattst88

  • The RISC-V details now also include the FP rounding mode cs_riscv.rounding_mode. Author: @moste00

  • AArch64: Add CS_OPT_SYNTAX_AARCH64_EXPLICIT_WIDE_IMM flag to print shifted MOVN and MOVZ instructions in their explicit forms instead of using the equivalent MOV aliases.

    Example output from cstool:

    > cstool aarch64 0xe402a012
    mov w4, #-0x170001
    
    > cstool aarch64+explicitwideimm 0xe402a012
    movn w4, #0x17, lsl #16
    
    > cstool aarch64+explicitwideimm 0xe402a052
    movz w4, #0x17, lsl #16
    

    Author: @amaanmujawar

  • M68K: Fixed EA decoding error and added ColdFire EMAC_B dual-acc MAC. Author: @b1llow

See the full release notes at https://github.com/capstone-engine/capstone/releases/tag/6.0.0-Alpha10

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
16.0.0-Alpha10018.5621-08-2026
26.0.0-Alpha11019.221-09-2026
3Version 6.0.0-Alpha11017.3821-09-2026
4Version 6.0.0-Alpha8017.123-05-2026
56.0.0-Alpha8015.4323-05-2026
66.0.0-Alpha9029.1529-05-2026
7Version 6.0.0-Alpha9018.8929-05-2026
8Version 5.0.9017.628-05-2026
95.0.9025.9728-05-2026
10All Core Devs - Testing (ACDT) #97, Sept 21, 2026024.6115-09-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 11.2. Источник: www.capstone-engine.org.