Re: Finding loops in a disassembly

mercier@cinenet.net (Bob Mercier)
Thu, 27 Jul 1995 21:51:37 GMT

          From comp.compilers

Related articles
Finding loops in a disassembly mdomeika@news.jf.intel.com (Max Domeika) (1995-07-22)
Re: Finding loops in a disassembly mercier@cinenet.net (1995-07-27)
| List of all articles for this month |
Newsgroups: comp.compilers
From: mercier@cinenet.net (Bob Mercier)
Keywords: optimize, assembler
Organization: Cinenet Communications,Internet Access,Los Angeles;310-301-4500
References: 95-07-147
Date: Thu, 27 Jul 1995 21:51:37 GMT

Max Domeika (mdomeika@news.jf.intel.com) wrote:
: I'm trying to write a program to find loops in a disassembly
: listing. My program is able to form the CFG for a disassembly
: and I am now ready to attempt to find loops. ...


If you have access to symbols you might want to try and find
indirect jumps through tables like the kind that are commonly
generated for 'C' switch statements. While still a break in the
flow graph at least you won't be mistaking it for a procedure call.


Bob
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.