Follow-up Comment #5, bug #39488 (project grub):

Hello,

Maybe we can do other way. Maybe we can skip checking e_entry, then   'invalid
entry point for ELF64' message will be fixed for valid virtual address in
canonical form (like ffffffff80000000), because the virtual address is more
related to the loaded image itself rather to the GRUB2 (as loader). For GRUB2
more important is physical address where the image is loaded. 

So maybe we can skip checking e_entry (as virtual) and add checking for
grub_multiboot_payload_eip(as physical) if it is in 32-bit address space.

What do you think?

Best Regards
Leon

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39488>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to