Conversation
This method assumes that the memory is allocated by `ElfLoader::allocate`, but the compiler can't ensure it. Without it, the program may violate memory safety by e.g., modifying memory used by others.
|
Hi, thanks for submitting this! Can you walk me through the reasoning or point me to the right documentation when a trait method should be marked unsafe? I'm struggling a little. I get that |
How can it be done? What information does By the way, I think |
This method assumes that the memory is allocated by
ElfLoader::allocate, but the compiler can't ensure it. Without it, the program may violate memory safety by e.g., modifying memory used by others.(Sorry, I fixed the branch name.)