Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
¿Por qué la dirección de __libc_start_main siempre es la misma dentro de GDB aunque ASLR esté activado?
Breakpoint 1, 0x00007ffff7de8060 in __libc_start_main () from /usr/lib/libc.so.6 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/firstlove/projects/org-ioslide/example/a.out Breakpoint 1, 0x00007ffff7de8060 in __libc_start_main () from /usr/lib/libc.so.6 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/firstlove/projects/org-ioslide/example/a.out Breakpoint 1, 0x00007ffff7de8060 in __libc_start_main () from /usr/lib/libc.so.6 (gdb) Quit (gdb) quit A debugging session is active. Inferior 1 [process 16372] will be killed. Quit anyway? (y or n) y firstlove-pc% cat /proc/sys/kernel/randomize_va_space 2

IIUC, ASLR debería aleatorizar todas las direcciones, incluida la de libc.so , pero descubrí que la dirección de __libc_start_main() siempre es 0x00007ffff7de8060 en mi máquina Linux, ¿por qué? ¿Lo que está mal?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Cuando ejecuta un programa dentro de gdb , gdb intenta ayudarlo a depurar al deshabilitar la aleatorización de direcciones. Puede usar el siguiente comando para habilitarlo (a partir de la próxima ejecución del programa):

 set disable-randomization off
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!