KP Solutions

Solutions for Day to Day Technical Problems

Readelf – Very useful Command

| 0 comments

Till now I have been using ‘ldd’ for checking out the dependencies for a linux executable. But recently I discovered, ‘readelf’. It is really amazing utility and comes in very handy when you are analyzing a utility intended for a different target instead of your workstation. This will exactly tell what libraries it needs and what address it is mounting on.

Check it out today, ‘readelf -a <binary_executable>