
Quick demo on using a C# GUI for IDA plugin 

plugin will just list all functions in by index, start & end address

Binaries are in the /bin directory.

to install copy the c_stub.plw to the IDA plugins directory

copy CSharpIDASample.dll to the IDA home directory next to 
the main ida exe.

at a command line issue the following command

regasm [path]\CSharpIDASample.dll

now fire up IDA and try it

edit menu -> plugins -> C# Sample

To do anythign usefull with this you are going to have to 
write wrappers for all of the IDA Apis you want, export them from 
the C_Stub and then re-import them in the .NET project as shown
in this example.

You can generate the tlb file yourself by using following command

regasm [path]\CSharpIDASample.dll /tlb:c:\CSharpIDASample.tlb

You can copy this tlb to c:\ until/if you decide to change the 
CPlugin interface. If you change it, then you will need to update
your tlb.

You dont need the tlb to run the plugin, you need it to compile
the c_stub so that it knows whats it calling.


CSharp_IDASample.cmbx is the C# project file for the free .NET iDE
SharpDevelop

vcsample.dsw is the project file for c_stub.dll compiled with VC6

This was compiled for IDA 1.47 

-dzzie