qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu User Mode emulation for Java programs
@ 2014-03-19 13:01 Prathmesh Kallurkar
  0 siblings, 0 replies; only message in thread
From: Prathmesh Kallurkar @ 2014-03-19 13:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Karishma Agarwal

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

Hi,

I am using QEMU emulator for tracing the execution of an user program. We
have added a helper function which prints the IP of all the executed
instructions. We have tested the working of this tool for two variants of
prime-number program - one in C and another in Java. We tried 4 different
input arguments for each program, expecting different number of
instructions executed in each case. The C version of prime-number program
follows expected linear trend i.e. the number of lines increase with larger
inputs. However, the java program gives exactly same number of instructions
each time.

I feel that Java execution trace is capturing only the jvm code and not the
actual code that is being run.

Where would the code modified by jvm run on qemu ?? Is there any special
way QEMU captures the execution of self modifying code ??

-- 
Regards,
Prathmesh Kallurkar

[-- Attachment #2: Type: text/html, Size: 1811 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-19 13:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 13:01 [Qemu-devel] Qemu User Mode emulation for Java programs Prathmesh Kallurkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).