Skip to content

Add MapMemory::unmap #762

@wdcui

Description

@wdcui
    // TODO: if the copy or protect step fails, the pages allocated by
    // map_zero are leaked because the MapMemory trait has no unmap
    // method, and no caller cleans up partially-mapped segments either.
    // Add an `unmap` method to MapMemory and clean up the reserved
    // region on failure in ElfParsedFile::load().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions