If you want to check how the binary package is packaged and its different sections, I think the best program is objdump ,
Select any executable file and execute:
objdump -S <executable> > myfile.S
Another good exercise would be:
- Creates a program using an external library
- Compile the program using static binding
- Run the program
- Rename the library file and check if the program is running
- Compile a program using a shared library
- Rename the library and check if the program is running
This will answer some of your questions about what happens under the curtains and how.
Freddy
source share