When i type:
gdb mybinary
mybinary is a PIE executatable (Position indépendant Code).
i get a gdb prompt. The binary is not fully loaded in memory. Why do i say that ? This is because we do not know at this step what is the address of main entry point.
It is sometimes possible to type disassemble main, but i my case, the binary do not contains debugging informations.
If a type "run", the loader loads the program in memory and the program runs.
What should i do to force gdb to just run the loader and break on the first instruction in main. Is it possible ?
Thanks