4.0.2

May 8, 2020

Release 4.0.2 is a stable release version, with minor bugfixes in the core & some bindings.

Core

  • Windows kernel-mode driver support
  • Fix installation path on FreeBSD and DragonFly

Cstool

  • Add armv8, ppc32 & thumbv8 modes
  • Print instruction ID

X86

  • Support CS_OPT_UNSIGNED for ATT syntax
  • Fix operand size for some instructions
  • Fix LOCK prefixes
  • Recognize xacquire/xrelease prefix
  • Fix call/jmp access mode of mem operand
  • Add ENDBR32, ENDBR64 to reduce mode
  • Other minor fixes

Arm

  • Update writeback for STR_POST_REG

ARM64

  • Support CS_OPT_UNSIGNED
  • Fix register access flags for memory instructions
  • Fix UMOV vess

M68K

  • Store correct register value in op.reg_pair

PowerPC

  • BDZLA is absolute branch

SystemZ

  • Fix truncated 64bit imm operand
  • Fix base/index printing

Python binding

  • Fix skipdata struct being destroyed
  • Add repr for capstone.CsInsn

Java binding

  • Fix Java bindings to use pointers instead of longs

Ocaml binding

  • Fix x86_op record