lots of changes, created Disassembler class, removed a few globals etc.

This commit is contained in:
Artur K
2012-03-11 02:48:19 +01:00
parent 87e41f5a8a
commit bc395da6ab
60 changed files with 2058 additions and 151 deletions

View File

@@ -76,11 +76,14 @@ void FrontEnd (char *filename, CALL_GRAPH * *pcallGraph)
}
/* Search through code looking for impure references and flag them */
Disassembler ds(1);
for(Function &f : pProcList)
{
f.markImpure();
if (option.asm1)
disassem(1, &f);
{
ds.disassem(&f);
}
}
if (option.Interact)
{