lifting-bits / remill

Library for lifting machine code to LLVM bitcode
Apache License 2.0
1.3k stars 145 forks source link

Fix the offset of `STUR` and `LDUR` of AArch64 instructions. #708

Closed yomaytk closed 6 months ago

yomaytk commented 6 months ago

Issue

The LDUR (SIMD&FP) (e.g. LDUR <Bt>, [<Xn|SP>{, #<simm>}]) and STUR (SIMD&FP) (e.g. STUR <Bt>, [<Xn|SP>{, #<simm>}]) of AArch64 instructions have the optional immediate offset, imm9, but it was imm12 in the latest commit. ref: https://developer.arm.com/documentation/ddi0487/latest/

Description

This PR updates imm12.uimm to imm9.simm9.

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.