W1_2 : Program Binaries

Поділитися
Вставка
  • Опубліковано 12 вер 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.