comparison objgrep/main.c @ 172:452baa748747

objgrep: -r implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 03:22:41 +0000
parents ddbfc1a1a811
children 77cd647375e5
comparison
equal deleted inserted replaced
171:ddbfc1a1a811 172:452baa748747
66 } 66 }
67 printf("%s:%s found in %s at 0x%x\n", objfilename, grep_section->name, 67 printf("%s:%s found in %s at 0x%x\n", objfilename, grep_section->name,
68 binfilename, match_offset); 68 binfilename, match_offset);
69 if (sflag) 69 if (sflag)
70 dump_symtab_on_match(); 70 dump_symtab_on_match();
71 if (rflag && grep_section->nreloc)
72 dump_relocs_on_match();
71 exit(0); 73 exit(0);
72 } 74 }