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
Currently the global allocator is allocated from a region that is found by the following algorithm:
Get the range of available addresses from the multiboot info
Get the range of excluded addresses (because they are occupied by other modules, elf sections, etc)
Allocate from the portion of the available addresses that is past the end of the maximum excluded address
This is obviously not correct. If, for example, there is an excluded address at the end of the available regions, this will fail. It is also not guaranteed to produce the largest available range.
Currently the global allocator is allocated from a region that is found by the following algorithm:
This is obviously not correct. If, for example, there is an excluded address at the end of the available regions, this will fail. It is also not guaranteed to produce the largest available range.
See https://github.com/mythril-hypervisor/mythril/blob/master/mythril_multiboot2/src/main.rs#L128
The text was updated successfully, but these errors were encountered: