On Tue, Sep 02, 2025 at 04:28:40PM +0200, Manuel Bouyer wrote: > yes, that's it. I'm looking at how it's loaded right now > > > Then, as per the scheme in elf_load_bsdsyms(), can't you find the start of > > the ELF header from the end of your kernel? At least that's how I understand > > it's supposed to work. > > I can, but at this point I can't easily call C code, and doing it in > assembly doesn't look easy :(
Oh, it looks like Xen stores the size just before the ELF header. if that's the case, all good ! -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
