Skip to content

Regression: AArch64 store to x30 disassembles as store to LR #1621

@nshp

Description

@nshp

On next branch:

$ ./cstool/cstool -d arm64 'df 03 00 f9'
 0  df 03 00 f9  str	xzr, [x30]
	ID: 762 (str)
	op_count: 2
		operands[0].type: REG = xzr
		operands[0].access: READ
		operands[1].type: MEM
			operands[1].mem.base: REG = lr
		operands[1].access: READ | WRITE
	Registers read: xzr lr

On 4.0.1 tag (matches objdump):

$ ./cstool/cstool -d arm64 'df 03 00 f9'
 0  df 03 00 f9  str	xzr, [x30]
	op_count: 2
		operands[0].type: REG = xzr
		operands[0].access: READ | WRITE
		operands[1].type: MEM
			operands[1].mem.base: REG = x30
		operands[1].access: READ | WRITE
	Registers read: xzr x30
	Registers modified: xzr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions