New answers tagged

1 vote

How can I get the byte size of an operand in IDA Pro?

Module ida_ua now contains a function get_dtype_size, which seems to implement @WHsT's answer. Assuming you have an instruction i, you can use it e.g. like this: ida_ua.get_dtype_size(i.Op1.dtype))
user avatar
  • 1,432

Top 50 recent answers are included