Executable and Linkable Format (ELF) Files on Linux

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

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

  • @CaribouDataScience
    @CaribouDataScience 3 месяца назад +2

    I remember when Linux switched from a. out libraries to elf.

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

      @CaribouDataScience oh wow, that's amazing! Thank you for sharing that! How was the transition accepted by the community? Did people already want it? Can you please share some of your experiences around all of it? Thank you!

  • @studynewthings1727
    @studynewthings1727 3 месяца назад +1

    Awesome content

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

      @@studynewthings1727 thank you for watching!

  • @PushpendraKushvaha
    @PushpendraKushvaha 4 месяца назад +1

    This this deep dive. Waiting for more such amazing content.

  • @Abhigyan_Bafna
    @Abhigyan_Bafna 4 месяца назад

    Man it took me 3 days to complete in parts, but was hooked onto it! Amazing!!

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

      @@Abhigyan_Bafna thank you so, so much for watching the talk, Abhigyan! Really appreciate you!

  • @7etsuo.c
    @7etsuo.c 4 месяца назад +1

    Lets go! Missed this yesterday.

    • @HarshKapadia
      @HarshKapadia  4 месяца назад +1

      @@7etsuo.c yes! Let me know what you think and if you have any feedback for me to improve! Thank you!

    • @7etsuo.c
      @7etsuo.c 4 месяца назад +1

      @@HarshKapadia I will for sure going to watch this in a couple hours with my wife.

  • @shivamverma9447
    @shivamverma9447 4 месяца назад +1

    awesome. looking forward to more systems related content.

    • @HarshKapadia
      @HarshKapadia  4 месяца назад

      @@shivamverma9447 thank you, Shivam!

  • @perfectalgos9641
    @perfectalgos9641 4 месяца назад +1

    your machine has objdump but you had a typo. Great work by the way.

    • @HarshKapadia
      @HarshKapadia  4 месяца назад

      @@perfectalgos9641 ah, my bad! Thank you for watching! Appreciate it!

  • @jhonmccloud
    @jhonmccloud Месяц назад

    51:00

  • @vaseemakram6692
    @vaseemakram6692 4 месяца назад +1

    Given that an ELF file can have multiple sections, can we represent the section headers as an array of Elf64_Shdr/Elf32_Shdr structures?
    For example, this is my current mental picture regarding sections and section-headers:
    Elf64_Shdr Sections[] = {
    {.sh_name = .bss,
    .sh_type = ...,
    .sh_flags = ...,
    .sh_addr = ...,
    .sh_offset = ...,
    .sh_size = ...,
    .sh_link = ...,
    .sh_info = ...,
    .sh_addralign = ...,
    .sh_entsize = ...},
    {.sh_name = .data,
    .sh_type = ...,
    .sh_flags = ...,
    .sh_addr = ...,
    .sh_offset = ...,
    .sh_size = ...,
    .sh_link = ...,
    .sh_info = ...,
    .sh_addralign = ...,
    .sh_entsize = ...},
    // Additional sections...
    };
    Is this representation accurate?

    • @HarshKapadia
      @HarshKapadia  4 месяца назад

      @@vaseemakram6692 Yes, you can!
      I've done something similar: github.com/HarshKapadia2/parse-elf/blob/main/src%2Fpelf.c#L68

    • @vaseemakram6692
      @vaseemakram6692 4 месяца назад

      @@HarshKapadia sure I'll have a look... Thank you...

    • @HarshKapadia
      @HarshKapadia  4 месяца назад +1

      @@vaseemakram6692 no problem! Thank you for watching the video!
      Feel free to reach out for anything: links.harshkapadia.me