|
From: wangyang <wan...@cn...> - 2011-11-25 07:43:21
|
Hello. Valgrind is virtualizing ld of linux,but linker of android is different from ld of linux,my question is where is the code or material of virtualizing linker in valgrind. thanks ************************************************ WangYang@PSDCD OSS Tools Development Team Room401,15#,NO.23 Soft Park East Road ,Dalian,116023,P,R.China Tel:+86-411-8476-8550-6011 E-mail: wan...@cn... ************************************************ //assign(t1, IRExpr_Get( OFFB_NRADDR, Ity_I32 )); |
|
From: Tom H. <to...@co...> - 2011-11-25 08:31:02
|
On 25/11/11 07:43, wangyang wrote: > Valgrind is virtualizing ld of linux,but linker of android is different from ld > of linux,my question is where is the code or material of virtualizing linker in > valgrind. I assume you mean the dynamic linker, ld.so, rather than the actual linker command, ld? If you do mean ld.so then the answer is that we virtualize it the same way as everything else, by running it under VEX and instrumenting the code in the normal way. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |
|
From: wangyang <wan...@cn...> - 2011-11-25 08:41:11
|
Hello Tom: Thanks, Yes,I mean dynamic linker, I understood your answer, you virtualizing ld.so is just like virtualizing other executable file and .so lib. > -----Original Message----- > From: Tom Hughes [mailto:to...@co...] > Sent: Friday, November 25, 2011 4:30 PM > To: wangyang > Cc: val...@li... > Subject: Re: linker and ld > > On 25/11/11 07:43, wangyang wrote: > > > Valgrind is virtualizing ld of linux,but linker of android is different from ld > > of linux,my question is where is the code or material of virtualizing linker > in > > valgrind. > > I assume you mean the dynamic linker, ld.so, rather than the actual > linker command, ld? > > If you do mean ld.so then the answer is that we virtualize it the same > way as everything else, by running it under VEX and instrumenting the > code in the normal way. > > Tom > > -- > Tom Hughes (to...@co...) > http://compton.nu/ |