|
From: Tom H. <to...@co...> - 2006-06-04 17:19:22
|
In message <bc6...@ma...>
"Dmitry Baryshkov" <dba...@gm...> wrote:
> 2006/6/4, Tom Hughes <to...@co...>:
>
> > In message <bc6...@ma...>
> > "Dmitry Baryshkov" <dba...@gm...> wrote:
> >
> > > Tell me please, if I wish to get and examine syscall attributes from
> > > the valgrind tool, how should I do that?
> >
> > What do you mean by "attributes" exactly?
>
> I'm sorry, I meant arguments.
So you're writing a tool and you want it to be able to spot system calls
and examine the arguments?
I don't think there is a simple way of doing that - there isn't any tool
function that is called by the core when a system call is taken as far
as I know.
I think you would have to instrument the code which probably also means
knowing which registers the system call arguments will be in for each
of the supported platforms.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|