Another tool with many uses is objdump, and as we'll see in this recipe, it has functionality that overlaps with other tools we've already learned and will learn about later in this chapter. Nonetheless, the primary use of this tool in many analysts' arsenal is for disassembling an object file. However, not to be outdone by readelf, we can use objdump to provide the same information about our binary, albeit output in a different format. This tool is extremely useful during the information gathering phase and the static analysis phase of the methodology we learned about in the previous chapter.
We've already seen some of the more common arguments for objdump when we worked through the recipes in the previous chapter, so as we dive into this recipe, we'll try to minimize repetition. However, some of the arguments are worth repeating as we will...