fix handling of calls to invalid addresses
authorKevin Roundy <roundy@cumin.cs.wisc.edu>
Wed, 6 Oct 2010 18:03:44 +0000 (13:03 -0500)
committerKevin Roundy <roundy@cumin.cs.wisc.edu>
Wed, 6 Oct 2010 18:03:44 +0000 (13:03 -0500)
commitd55625d7a784fbf802bfc77fe3ee76dc9af43a3d
tree720d7ed577b20aeecf5d3e98749b8892e299fc58
parent629e2b5157cce2c5862c9d1cc8013b239218955a
fix handling of calls to invalid addresses

Call instructions to invalid addresses were previously thrown out as not being real call instructions, meaning that they did not terminate blocks and were considered not to return.  We now treat such call instructions in the same way as indirect calls; we end the block, parse at the fallthrough address, adding an unresolved call edge to the sink block.
parseAPI/src/IA_IAPI.C
parseAPI/src/IA_x86.C
parseAPI/src/InstrucIter-power.C
parseAPI/src/InstrucIter-sparc.C
parseAPI/src/Parser.C
parseAPI/src/ParserDetails.C