How it works...

We begin by using the less command against our output, and then we use the up and down keys on the keyboard to navigate through the output to the correct section. Your output should resemble the following screenshot:

The first thing we notice is the presence of the (bad) instruction, indicating that objdump doesn't know how to handle the 2f byte. If we rack our brains back to when we reviewed the readelf output, we'll remember that this section isn't marked with the executable flag. So, the (bad) instruction doesn't really matter much to us. If this section was executable, then it might be a bigger deal.

For the sake of brevity, ...

Get Binary Analysis Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.