You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let elf = fs::read(&kernel_path)?;let object =
KernelObject::parse(&elf).map_err(...)?;
However, I asked around (after having worked on hermit-os/uhyve#725) as to how I could prevent the "use-after-free" warning that prevented me from storing the object object in the UhyveVm struct - and the problem seems to be that we depend on references that get "destroyed" soon afterwards: