Binary and Malware Analysis

Table of Contents

What happens before main()

Lots of things:

  1. Loaded calls preinitarray, then _start
  2. That calls __libc_start_main, which calls __libc_csu_init, which calls a bunch of other stuff
  3. After that, __libc_start_main calls main
  4. And then exit happens

Start at _start

__libc_start_main

__libc_csu_init

_init

exit