lifting-bits / remill

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

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

Closed yomaytk closed 1 month ago

yomaytk commented 1 month 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 1 month ago

CLA assistant check
All committers have signed the CLA.