W1_2 : Program Binaries

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 6

  • @phanihishi
    @phanihishi 3 месяца назад

    Great content. Any book recommendations would be great.

  • @SuperSourabhdas
    @SuperSourabhdas 4 года назад +1

    Very nice presentation on elf loading and how stack is maintained during a function call.

  • @anuragkashyap8026
    @anuragkashyap8026 3 года назад +3

    Very nice explanation sir. BTW has the construction completed 😅

  • @anandprakash9457
    @anandprakash9457 Год назад

    Error in the code at 18:15.
    There is an error in the code displayed at 18:15. execlp function call should contain "./hello" and not "hello".
    Also - wait() function takes one argument, otherwise it gives error. I used p = wait(Null) to rectify the code and it worked.

  • @anandprakash9457
    @anandprakash9457 Год назад

    Getting Error "readelf: Error: Not an ELF file - it has the wrong magic bytes at the start" after having created the object file using this command - gcc hello.c -c

    • @anandprakash9457
      @anandprakash9457 Год назад +1

      Found the solution to it. "readelf" does not work in vs code terminal. Now, I am using Kali Linux and write the C code using Vim editor. readelf works as intended in kali linux.