Re: [DynInst_API:] [dynC_API]


Date: Wed, 28 Nov 2012 11:25:12 +0800
From: 郭维超 <guoweichao2010@xxxxxxxxx>
Subject: Re: [DynInst_API:] [dynC_API]
Hi~
      I've tried that. It works now. too much thx to you all~

2012/11/28 Bill Williams <bill@xxxxxxxxxxx>
Hi~ everyone!

I just try the dynC_API with a simple code like this :

/*printf("dync");*/


got some error messages like this :

_Snippet_1:2.0: error: Unable to find InstVar "printf" for token 'printf'_
_Snippet_1:2.6: error: syntax error for token '('_


then I try the code like this:

/*inf 'printf("dync");*/


got some error messages like this :

_Snippet_11:2.5: error: syntax error for token 'printf'_
_Snippet_11:2.5: error: Unable to find InstVar "printf" for token
'printf'_


Is there some suggestions for me a newbie ?
_______________________________________________

Sorry for the delay on this.

You want inf`printf, not inf'printf (backtick, not single-quote) for domain separation (and you are correct that you want to refer to the printf in the mutatee, using the inf domain).

I'll get the manual fixed so its examples are more accurate.

--bw


best regards~

[← Prev in Thread] Current Thread [Next in Thread→]