Pierre-Olivier Gaillard wrote:
> Hi,
> 
> I am collecting calls to C a function with the pid provider and I 
> collect the parameters of each call (doing @a[arg0,arg1,arg2] = count();).
> One of the parameters (arg1) is a function pointer. So, I take the value 
> I obtained and examine it with dbx.
> Dbx then prints the address as being myFunction+0x100.
> The function name is coherent with what I know about the program (i.e. 
> it is very likely to be the right function that was referred to by the 
> pointer).
> 
> But why the offset ? Do function start 256 bytes after their symbol 
> address ?

Don't know; that doesn't make any sense.  Can you reproduce with a small 
example?
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to