All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Ricci <ricciantonio@slacky.it>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] hooking interrupt
Date: Wed, 14 May 2008 20:54:26 +0200	[thread overview]
Message-ID: <482B3562.1000509@slacky.it> (raw)

Hi all,
I'm new on this list.


I need to to intercept system calls running in the virtual machine from 
the host system. To do it I think that it could be useful to check when 
  the interrupt 0x80 is called and evaluate the value of the registers. 
Is it a correct way to proceed?

In the case of Argos I want to do this operations modifying the file 
target-i386/translate.c in order to check the registers value. Do you 
know if this is a correct way?

Someone suggested me to read the document explaining how to port qemu to 
new CPU, but I can't understand how to do hooking.

Thank in advance for your help

-- 
Antonio
My Mobile Phone: +393286739562
My Public Key: http://tonyr.altervista.org/chiave_pubblica
MSN: ricciantonio@hotmail.it
Skype: tonyr81fg
Linux Member #374272
*********************************************************************
What is the difference between Jurassic Park and Microsoft?
One is an over-rated high tech theme park based on prehistoric 
information and populated mostly by dinosaurs, the other is a Steven 
Spielberg movie.
*********************************************************************
There are only 10 types of people in this world:
those who understand binary, and those who don't.
*********************************************************************

             reply	other threads:[~2008-05-14 18:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 18:54 Antonio Ricci [this message]
2008-05-15  2:10 ` [Qemu-devel] hooking interrupt Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482B3562.1000509@slacky.it \
    --to=ricciantonio@slacky.it \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.