diff 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
line wrap: on
line diff
--- a/objgrep/main.c	Fri Jul 04 02:56:21 2014 +0000
+++ b/objgrep/main.c	Fri Jul 04 03:07:09 2014 +0000
@@ -66,5 +66,7 @@
 	}
 	printf("%s:%s found in %s at 0x%x\n", objfilename, grep_section->name,
 		binfilename, match_offset);
+	if (sflag)
+		dump_symtab_on_match();
 	exit(0);
 }