Page MenuHomeSolus

Update capstone to 4.0.2
ClosedPublic

Authored by aleksvor on May 8 2020, 3:43 PM.

Details

Summary

Changelog:

  • 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.
Test Plan
  1. Rebuilt radare2 against this version.
  2. Disassembled x86_64 and ARM binaries with r2 and its Capstone-based disassemblers.

Diff Detail

Repository
R4697 capstone
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.May 8 2020, 3:43 PM
aleksvor requested review of this revision.May 8 2020, 3:43 PM
aleksvor edited the summary of this revision. (Show Details)May 8 2020, 4:15 PM
DataDrake accepted this revision.May 13 2020, 5:52 AM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision is now accepted and ready to land.May 13 2020, 5:52 AM
This revision was automatically updated to reflect the committed changes.