Home All Groups Group Topic Archive Search About

Tool for checking the ID code

Author
17 Mar 2006 12:17 AM
Kenny M.
hi

I want to check in the IL code of my assemblies how many box and unbox
instructions are, ILDASM does not allow me to make searches.

What tool can I use that allow me to search word in the IL code?

Thks
--
Kenny M.

Author
17 Mar 2006 12:25 PM
AMercer
> I want to check in the IL code of my assemblies how many box and unbox
> instructions are, ILDASM does not allow me to make searches.
> What tool can I use that allow me to search word in the IL code?

Here is a low tech way.  Run ildasm from the command line to make a listing
file, something like

     ildasm xxx.exe /out=xxx.txt /source /nobar

File xxx.txt can be searched for " box " and " unbox " from notepad or
whatever.  Be advised that running ildasm this way will make some resource
files that you might want to delete.  I think this can also be done from the
ildasm gui, but I have not tried it.

AddThis Social Bookmark Button