Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

how to get arguments in clr profiler

$
0
0

Hi,

I am using
GetFunctionEnter3Info() in EnterStub which I have hooked using

SetEnterLeaveFunctionHooks3WithInfo()

But the arguments I get are the addresses but not strings, so when I try do a getStringLayout2  from CorProfilerInfo3, I try to convert them into string but fail as the string length I get by dereferencing the length  at the (address + offset) is invalid.

Please let me know if you have any ideas.

Thanks

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.5px Helvetica; background-color: #000000} </style><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.5px Helvetica; background-color: #000000} </style>

Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>