The purpose of this chapter is to introduce the reader to a set of tools (utility programs as well as other methods) for analyzing the contents of the Linux binary files.
Quick Insight Tools
The easiest and the most immediate insight into the nature of a binary file can be obtained by using the file and/or size utility programs.
file Utility Program
The command-line utility named simply file (http://linux.die.net/man/1/file) is used to find out details about just about any file type. It can quickly come in handy because it determines the most basic info about the binary file (Figure 12-1).
Get Advanced C and C++ Compiling now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.