A book on ELF binary analysis wouldn't be complete without one of the more well-known, and widely used tools such as readelf. We've covered this tool pretty extensively already in the previous chapters, but a little repetition will only help our memorization of the useful arguments this tool possesses. While this tool offers functionality that other tools also provide, having additional functionality at our disposal makes this tool the winner for giving us a go-to tool that provides a one-stop shop for all the information we could ever want when performing ELF binary analysis. Because of that, this recipe will be a little longer than the previous recipes in this chapter. The readelf tool provides so many useful arguments; therefore, we should take the time to learn them all.
If the title of this recipe didn't give it away already, we're going...