qiling
qiling copied to clipboard
Emulate binary with stack canary cause error
Describe the bug Error when stack canary is used by program unicorn.unicorn.UcError: Invalid memory read (UC_ERR_READ_UNMAPPED)
Sample Code
mov esi, large gs:14h
mov [esp+38h], esi
on ida pro:
anonymous3 = __readgsdword(0x14u);
could you provide qiling log or the binary you run?
I'm having an issue I suspect is the same. Invalid memory read from 0x13. I've put in a hook_mem_unmapped()
Will you be able to try the latest version of Qiling and see if you still face same issue. There is lots of rework since 2021. Feel free to open a new issue if you have any similar problem.