unicorn icon indicating copy to clipboard operation
unicorn copied to clipboard

Can't declare static data regions

Open liviu2299 opened this issue 3 years ago • 1 comments

I'm using unicorn to emulate x86 64bit and after implementing a GDT using @sashs guide i can't seem to understand why declaring static data regions returns an unmapped error. Let's take as example a string declaration: str: .string "hello" It returns: "invalid WRITE of 0xfffffffffffffff8, data size = 8" as a result of adding UC_HOOK_MEM_WRITE_UNMAPPED. Would be grateful if anyone could help as i'm new to memory segmentation and it's most probably a user error.

liviu2299 avatar Jun 29 '22 11:06 liviu2299

Hello, please provide a reproduction script so that we can help you.

wtdcode avatar Jul 04 '22 15:07 wtdcode

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Sep 03 '22 05:09 github-actions[bot]