themadinventor / ida-xtensa

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

Properly handle indirect jump instructions. #4

Closed pfalcon closed 9 years ago

pfalcon commented 9 years ago

In IDA-speak, CF_JUMP isn't just a mere jump, it's indirect jump. It makes sense to report these, as these are usually problem spots, where automatic flow control stops, so human must intervene to see where a jump actually leads.

pfalcon commented 9 years ago

Based on example from IDA blog: http://www.hexblog.com/?p=116 . Recorded problem spots are available in "Problem list" window (Ctrl+Q) - in ScratchABit. There're quite a bunch of them, because callx0 is how "longcalls" are implemented. Still, it's better to record those than not.

pfalcon commented 9 years ago

ping