[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] ASan'ed binaries start up very slow under qemu-aarch6

From: Peter Maydell
Subject: Re: [Qemu-discuss] ASan'ed binaries start up very slow under qemu-aarch64.
Date: Tue, 19 Jul 2016 10:49:39 +0100

On 19 July 2016 at 10:22, Maxim Ostapenko <address@hidden> wrote:
> On 18/07/16 18:51, Peter Maydell wrote:
>> Well, we do need to do some things:
>>   * we're populating the PageDesc data structure which we later use
>>     to cache generated code
>>   * if we're marking the range as writeable and it wasn't previously
>>     writeable, we need to check whether there's already generated code
>>     anywhere in this memory range and invalidate those translations
>> This could probably be done in a way that doesn't iterate naively
>> through every page, though.
> Oh, I see. Perhaps we can restrict QEMU to use some well defined pages for
> generated code?

I mean *guest* pages. We need to detect self-modifying guest code,
and the guest could do that for any page in its virtual address

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]