4 ms·
Is 'cat foo|strings' immune to the problems of libbfd?
by roghummal 12y ago
Is 'cat foo|strings' immune to the problems of libbfd?
- ams6110 12y agoI wouldn't think so. The data being processed are the same.
- roghummal 12y agoI thought that reading from stdin might bypass the file type analysis.
- ANTSANTS 12y agoHaven't checked but I'm pretty sure the binutils just look for "magic numbers" (ie are the first four bytes "0x7F 'E' 'L' 'F'") and don't look at any filesystem information.
- mistaken 12y agoUsing cat and piping it to string actually works without crashing. It seems that libbfd style parsing is disabled on stdin.
- deleted 12y ago[deleted]