Skip to content

Commit

Permalink
Print the exported address of a funciton in -f mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranid committed Oct 27, 2006
1 parent 2f91790 commit fd3c8a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.C
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ void output_importexport(const char *file, CNidMgr *pNids)
COutput::Printf(LEVEL_INFO, "Functions:\n");
for(iLoop = 0; iLoop < pExport->f_count; iLoop++)
{
COutput::Printf(LEVEL_INFO, "%08X - %s\n", pExport->funcs[iLoop].nid, pExport->funcs[iLoop].name);
COutput::Printf(LEVEL_INFO, "0x%08X [0x%08X] - %s\n", pExport->funcs[iLoop].nid,
pExport->funcs[iLoop].addr, pExport->funcs[iLoop].name);
}
}

Expand All @@ -424,7 +425,8 @@ void output_importexport(const char *file, CNidMgr *pNids)
COutput::Printf(LEVEL_INFO, "Variables:\n");
for(iLoop = 0; iLoop < pExport->v_count; iLoop++)
{
COutput::Printf(LEVEL_INFO, "%08X - %s\n", pExport->vars[iLoop].nid, pExport->vars[iLoop].name);
COutput::Printf(LEVEL_INFO, "0x%08X [0x%08X] - %s\n", pExport->vars[iLoop].nid,
pExport->vars[iLoop].addr, pExport->vars[iLoop].name);
}
}

Expand Down

0 comments on commit fd3c8a9

Please sign in to comment.