Andy-Python-Programmer / aero

Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.
https://aero.andypy.dev
GNU General Public License v3.0
1.17k stars 50 forks source link

vm: refactor the ELF loader to return errors instead #55

Closed Andy-Python-Programmer closed 2 years ago

Andy-Python-Programmer commented 2 years ago

This pull request refactors the ELF parser in the vm module to return errors instead of panicking which by default the xmas_elf crate does.

Signed-off-by: Andy-Python-Programmer andypythonappdeveloper@gmail.com