Closed mlgiraud closed 10 months ago
I can understand the motivation and looks correct at first glance. Do you have a reproduction? So that I can make sure that the fix is correct.
I don't have a reproduction script since this occurred in our emulator for which i unfortunately cannot yet share the code. I will see if i can write up something that reproduces this.
I added a test that reproduces the issue. You can check by reverting the commit that fixes the issue.
I added a test that reproduces the issue. You can check by reverting the commit that fixes the issue.
I see. Will check and thanks!
LGTM
@wtdcode Can we merge this, or are there some changes that need to be made?
Sorry just busy on something else and I will have a look today or tomorrow.
I tested and it's the correct fix. Thanks and I appreciate your patience.
Title is mostly self explanatory. There was an issue where performing snapshots with a non one to one mapping of virtual to physical addresses, resulting in an assertion failure in unicorn. I assume this commit fixes the issue. @PhilippTakacs should check if this is correct now.