views:

36

answers:

1

Is this possible? I have a binary that throws an access violation exception when instrumented. I want to step through instrumented code, so I need to generate source code of the instrumented code. Is there a way?

Thanks

+6  A: 

.Net Reflector is closest to what you want.

update:
As pointed out in comments, Reflector works on static assemblies, not runtime assemblies so it may not be able to get the instrumented code. Maybe Reflector Pro or a plugin can do it, but I don't know since I have never needed that capablility.

BioBuckyBall
I agree with yetapb
Robert Williams
There are several Reflector plugins that not only generate the code but also provide project files, etc.
Stephen Cleary
I don't think Reflector does instrumented assemblies, only static. CMIIW.
Adrian Godong
Hey Stephen, any good plugin you suggest?
@adrian godong: That's why I said its closest to what he wants :) I will clarify my answer.
BioBuckyBall