Hello again,

One last query: Are the kernel traps also implemented there in coregrind or
somewhere else?

May  I have the location like that for syscalls?

Regards,
Subhashish


On Fri, Jan 10, 2014 at 5:06 PM, Subhashish Pradhan <spr...@gmail.com>wrote:

> Thanks so much! I googled a lot but couldn't even find a hint about it.
>
> I would take a look into coregrind/m_syswrap/syswrap-generic.c and ask my
> doubts on #valgrind-dev.
>
> Regards,
> Subhashish
>
>
> On Fri, Jan 10, 2014 at 2:56 AM, Philippe Waroquiers <
> philippe.waroqui...@skynet.be> wrote:
>
>> On Thu, 2014-01-09 at 19:40 +0530, Subhashish Pradhan wrote:
>> > Hello!
>> >
>> >
>> > I have some theoretical queries. What does "teaching valgrind some
>> > syscalls" mean?
>> >
>> >
>> > What are the read and write primitives of valgrind and where are they
>> > handled?
>> Basically, 'teaching a (new) syscall to valgrind' means to write a
>> wrapper for this syscall. The wrapper describes the effect of the
>> syscall (typically, for memcheck, describes what memory is read
>> by the syscall, and what memory is written by the syscall).
>>
>> The easiest to undersatnd all that is to look at some existing
>> wrappers e.g. in coregrind/m_syswrap/syswrap-generic.c
>>
>> Philippe
>>
>> NB: valgrind-developers might have been a better mailing list for this
>> question, as writing a syscall wrapper is more a valgrind dev activity.
>>
>>
>>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to