Hello,
I would like to report a bug.
I’ve declared a new type named swiftptr:
typedef int swiftptr __offset(OFF32|SIGNEDOP|SELFREF);
It’s a pointer I’ll use in Swift, which is 32 bit signed offset from current position in memory which is used in Swift pretty often. I didn’t want to assign operand type to custom offset every time so I defined it for a convenience.
The problem is, after declaring such typedef, after applying it once in disassembly (disassembly view->set type(Y key)->swiftptr), IDA sets the swiftptr type to typedef int swiftptr which is no longer an offset.
Changing it back to desired type and applying the type again anywhere in disassembly repeats the problem.