views:

34

answers:

1

Hello,

I'm looking for a way of instrumenting a binary with my own functions. Basically, insert a call to a function before each method in the binary file.

  1. Is it possible to do this with VSInstr.exe or another instrumentation tool for .NET?
  2. If 1 is not possible: how can I implement my instrumentation tool? Are there any open source tools to use as starting point?

Regards, Victor

+1  A: 

CCI or Cecil can do such things

desco