I'm working on a IDApython script to do some things with arm binaries but i need to be able to set the T flag to switch between arm and thumb mode. looking at the hpps and found some useful apis but i would expect the following snippet to show me the T flag for that address. but i get BADADDR for all of them
for i in range(0,16):
print i,"Reg:",hex(getSR(0x27f0,i))
what am i missing here?







