Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
__gmon_start is executed before _start

When I analyze /usr/bin/diff with gdb, I see that __gmon_start__ is being called before _start for some reason. Every document I have found so far has been claiming that _start is the entry point of a program; and the entry point field in the ELF header also points to the address of _start.

Why does diff not start executing with _start; and where is that information held?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Every document I have found so far has been claiming that _start is the entry point of a program

For fully-static executable, this is true.

For a dynamically linked executable, the user-space executions starts at the _start symbol of the loader (ld.so), and there are usually 10s of thousands of instructions and many system calls executed before the loader calls _start in the a.out.

In the process of getting to _start in a.out, functions from the main executable could be called (and that's what you are observing).

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda