comparison objgrep/main.c @ 171:ddbfc1a1a811

objgrep: -s implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 03:07:09 +0000
parents 13a9ce1590fc
children 452baa748747
comparison
equal deleted inserted replaced
170:13a9ce1590fc 171:ddbfc1a1a811
64 printf("no match\n"); 64 printf("no match\n");
65 exit(1); 65 exit(1);
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)
70 dump_symtab_on_match();
69 exit(0); 71 exit(0);
70 } 72 }