themadinventor / ida-xtensa

IDAPython plugin for Tensilica Xtensa (as seen in ESP8266)
GNU General Public License v2.0
166 stars 46 forks source link

Replace "xrange" with "range" for Python3 compatibility. #3

Closed pfalcon closed 9 years ago

pfalcon commented 9 years ago

As required by ScratchABit interactive disassembler, https://github.com/pfalcon/ScratchABit . Yes, this means that when run on Python2, there will be lists created instead of ranges, but they are small, so the change has negligible effect on Python2, and it's the cleanest way to achieve cross-Python compatibility.

themadinventor commented 9 years ago

Nice! I must admit that I like the idea of ScratchABit, as I have for some time looked for a suitable native replacement for IDA. (I considered writing an xtensa plugin for radare, but never got around...)