nibblebits / PeachOS

Simple kernel designed for a online course
GNU General Public License v2.0
133 stars 55 forks source link

Checking if ELF file is executable is never done #31

Open fedi-nabli opened 7 months ago

fedi-nabli commented 7 months ago

In lecture 94, Implementing the ELF Loader - Part 2, we create the funciton static bool elf_is_executable(struct elf_header* header) since we are only working with executable files, but later at the video, when creating the int elf_validate_loaded(struct elf_header* header) function, we do not call it to validate the file format.