Hi,
As a simple example of my problem, I'm trying to measure the offset of the 
argument 'send_initial_metadata' in the 'grpc_chttp2_stream' class. This 
has been done for older versions of gRPC < v1.41.1 but as you know the grpc 
codebase keeps changing and the offset calculation needs to be redone for 
most of the newer versions.  
 
I have tried instrumenting the grpc codebase using things like 'offset_of' 
from 'stddef.h' but I did not get accurate offsets. For example, the offset 
of the argument 'send_initial_metadata' in the 'grpc_chttp2_stream' class 
in v1.41.1 is 0x140 from prior work. However, using 'offset_of' for the 
same version yields a 0x190. 

Any idea of a reliable way to measure that offset?  
Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f9ed298c-d76b-41c1-8e7a-5f9d2217abd4n%40googlegroups.com.

Reply via email to