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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.