[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Race with atexit functions in system emulation
From: |
Paolo Bonzini |
Subject: |
Re: Race with atexit functions in system emulation |
Date: |
Thu, 2 Jul 2020 11:18:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 02/07/20 08:18, Pavel Dovgalyuk wrote:
> Is it true, that semihosting can be used to access (read and write) host
> files from the guest?
> In such a case it can't be used with RR for the following reasons:
> 1. We don't preserve modified files, therefore the execution result may
> change in the future runs.
> 2. Even in the case, when all the files are read only, semihosting FDs
> can't be saved, therefore it may not be used with reverse debugging.
Since there are many cases in which semihosting and RR can work together
well, I think the fix here should not be to just block semihosting. The
replay_finish issue is just an example, there can be more atexit handlers.
Paolo