Skip to content

SystemZ misses optional alias details #2738

Open
@Rot127

Description

@Rot127

The cstool -r/ CS_OPT_DETAIL_REAL to fill the details of the real isntruction (not the alias) isn't working for SystemZ and LoongArch yet.

Example from AArch64:

cstool -d aarch64 c0035fd6            
 0  c0 03 5f d6  ret	
	ID: 865 (ret)
	Is alias: 1588 (ret) with ALIAS operand set
	Groups: jump return

// Vs with -r flag (the real details)

cstool -d -r aarch64 c0035fd6   
 0  c0 03 5f d6  ret	
	ID: 887 (ret)
	Is alias: 1620 (ret) with REAL operand set
	op_count: 1
		operands[0].type: REG = x30
		operands[0].access: READ
	Registers read: x30
	Groups: jump return 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions