Hi
I am having problems getting dtyp information of an operand
Please consider this small example:
ea = get_screen_ea()
ua_ana0(ea)
cmd = get_current_instruction()
op = get_instruction_operand(cmd, 0)
op_dtyp = op.dtyp
print op_dytp # doesn't show anything useful
size = 0
if op_dtyp is 0: # will never be true
size = 1
print " 8 bit "
I need this information for figuring out register names using get_reg_name()
Is there any other possibility? Is it really broken or am I dumb?:-)
Thanks!!!
ida 5.0 and idapython 0.9.0 and python 2.5/win xp under parallels for mac







