W1_2 : Program Binaries

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024

ความคิดเห็น • 6

  • @phanihishi
    @phanihishi 2 หลายเดือนก่อน

    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.