What kind of info are there in the first 832 bytes of .so file?

I saw many similar stuff like this:

open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260W \0242\0\0\0"..., 832) = 832

What's there in the beginning 832 bytes?

Answers


If the listing above was captured at program startup, then it is likely that you are seeing the runtime loader in action, as it brings in shared libraries and resolves symbols prior to launching the program.

As for the initial contents being read, every ELF file starts with an ELF header which describes the layout and contents of the rest of the file---please see the tutorial "libelf by Example" for more information.


Need Your Help

How do you receive the data when you click the submit button of a form?

php forms post

After I add a button and a text field, how can I program that button to simply take what's in the text box and put it into a variable? I have no idea how the button click event works.

Matplotlib subplot content disappears using set_xlim, set_ylim

python matplotlib

I am trying to construct a plot where I have a fixed number of rows but differing number of columns for each row. The code I use for plotting is equivalent to:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.