Skip to content
Snippets Groups Projects
Forked from redox-os / relibc
Source project has a limited visibility.
  • Ahmed Abd El Mawgood's avatar
    1182d120
    Fill gaps in binary memory image · 1182d120
    Ahmed Abd El Mawgood authored
    Some ELFs can have gaps between the segments, this results in problems
    when mprotecting or when converting (addr + size) into rust slice.
    Motivated by this This patch will fill these gaps with mmaped addresses.
    In theory no real memory should be allocated because mmap is lazy
    allocator.
    1182d120
    History
    Fill gaps in binary memory image
    Ahmed Abd El Mawgood authored
    Some ELFs can have gaps between the segments, this results in problems
    when mprotecting or when converting (addr + size) into rust slice.
    Motivated by this This patch will fill these gaps with mmaped addresses.
    In theory no real memory should be allocated because mmap is lazy
    allocator.