Adding cross references

Did you know that you can add your own cross-references to the listing? There are even several different methods for that:

  • Open xrefs window and press Ins
  • Write an IDC script
  • Write a plugin

Adding xrefs is very useful if IDA missed some of them and the graph looks ugly. Another benefit is replicated comments.

See a demo below the cut.

Continue reading Adding cross references

Does ‘return’ come back?

We all know that call invokes a function and ret returns to the caller. Alas, nothing is certain in the binary world. The ret instruction is quite often used for short jumps within a function. Among many other improvements in IDA v5.1 there will be a special logic to recognize and mark such pseudo-returns. I was surprised to see this graph and post it here for your amusement:

Continue reading Does ‘return’ come back?