Skip to content

mmap_address too high for mips #1329

@wtdcode

Description

@wtdcode

Qiling uses 0x90000000 for linux mmap base address:

mmap_address = 0x90000000

According to mips memory layout: https://training.mips.com/basic_mips/PDF/Memory_Map.pdf

0x90000000 is reserved for kseg0, which userspace programs shouldn't use. Previously, Unicorn included a dirty hack to support this and we are going to remove this in unicorn-engine/unicorn#1746

Therefore, it's essential to change the mmap_address in profiles to a lower address, say 0x1000000 (note 6 zeros)

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