Skip to content

fails writing shellcode to memory w/ "UC_ERR_WRITE_UNMAPPED" #4

@shinmai

Description

@shinmai

ShellCodeEmulator fails writing the shellcode memory with the following exception:

INFO:__main__:Writing shellcode to 7ff6f80b4e90 (len=d8)
Writing shellcode to 7ff6f80b4e90 (len=d8)
ERROR:shellcode_emulator.memory:* Error in writing memory: 7ff6f80b4e90 (size: 000000d8)
* Error in writing memory: 7ff6f80b4e90 (size: 000000d8)
Traceback (most recent call last):
  File "\Python37\lib\site-packages\shellcode_emulator\memory.py", line 88, in write_memory
    self.uc.mem_write(address, data)
  File "\Python37\lib\site-packages\unicorn\unicorn.py", line 401, in mem_write
    raise UcError(status)
unicorn.unicorn.UcError: Invalid memory write (UC_ERR_WRITE_UNMAPPED)

This happens with every dump and shellcode I've tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions