Why should we learn the details of an elf?
Why can't we just execute a XS like we execute on windows?
We just run double click on X and Linux.
Also, we can just do right?
What is the benefit of learning the Elf details?
So you get the understanding, generic understanding of how an operating system works.
So under learning Elf will help us to learn the inner workings of an operating system.
Because operating system, the Linux kernel is the one which creates a process.
It does the process management.
So giving an Elf and it takes an Elf as an input to create a process.
So if you know the details of Elf, you will be knowing how Linux creates a process, how it starts
executing the process.
What will be the starting point of your code?
Which start?
Which executes by the process?
Is it main function or is it any other function?
How?
How the main function is getting called?
Who is calling main function?
All this you will be able to understand if you know the details of Elf development of software.
So if something is going wrong wrong we will be a better understand and what happened like and I am
trying to execute the code in GDP and GDB is not giving me symbols.
If I know the details of Elf, I will be knowing like it does not have a debug info section.
So we know with a lot about.
If we know about Elf, we will be easily debugging what is going wrong and why this particular code
is not executing what happens and all.
When you add gcc hyphen g what all extra code it is adding in the Elf file, what extra sections it
is, adding that all will be knowing it will be helpful in digital forensics and incident response.
If and whenever this security breach or you discover suspicious files will.
Someone has copied something on your device and you can use it for your digital forensics and binary
analysis, malware research and all.
So this will Elf is very important because almost all binaries and libraries and kernel modules code
terms are using Elf.
It's very good to know and very beneficial to know the inner workings of Elf, and it will help a lot
in your work as well.