I would like to know how a computer handles a program. If hypotheses must be made, assume we’re talking about
If I look at the program with
objdump -D, I can see a lot of sections such as
But where does it start? I would like to say
.init, but if I start the program here, using
gdb and a breakpoint, I’m not convinced as the registers already have some values that do not seem random.
In fact, I would like to follow step by step the behaviour of a very little program, but I don’t know where to put my breakpoint.