[Top][All Lists]

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

Re: How to alter control flow

From: Peter Maydell
Subject: Re: How to alter control flow
Date: Mon, 18 Jan 2021 22:08:34 +0000

On Mon, 18 Jan 2021 at 21:53, Rukayat A Erinfolami
<rerinfo1@binghamton.edu> wrote:
> How do I go about altering the control flow of a program running in Qemu's 
> user mode emulation. For instance, at the callsite of function A::f(), I want 
> A::f() and all the definitions of f() by the derived classes of A to be 
> executed. So if B derives from A, I want to execute both A::f() and B::f() at 
> that callsite.

You can't alter the control flow of something running in QEMU:
we just execute the guest CPU instructions in the same order
that a real CPU would.

-- PMM

reply via email to

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