Open jrmuizel opened 1 year ago
Maybe just renaming the type to AccessType
is a good solution?
Maybe just renaming the type to
AccessType
is a good solution?
I agree--that makes sense to me. The C type is name cs_ac_type
, which does not imply anything about access to registers.
I found it confusing that
RegAccessType
is used. It sort of implies that it describes how the register is accessed and not the memory.e.g.:
The second operand has
access: Some(ReadWrite)
but that's not describing howrdi
is accessed.