Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4GB sized and more segment not handled. #4

Open
deadeert opened this issue Apr 19, 2023 · 0 comments
Open

4GB sized and more segment not handled. #4

deadeert opened this issue Apr 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@deadeert
Copy link
Owner

deadeert commented Apr 19, 2023

Describe the bug

Bug occurs in emu/unicorn/generic.py in function do_mapping.

Line that causes the issue.

uc.mem_write(seg.start_ea,ida_bytes.get_bytes(seg.start_ea,seg.size()))

API get_bytes() is expecting a value less or equals to 4GB (0xffffffff).
Unicorn won't let map 4GB segment as well.

Correction: Split big segment in sub segments of size 1GB ?

Versions (please complete the following information):

  • IDA 8.2
@deadeert deadeert changed the title 4GB and more segment not handled. 4GB sized and more segment not handled. Apr 19, 2023
@deadeert deadeert added the bug Something isn't working label Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant