Jason Tucker's Blog

not at all creative...

How ILDASM saved my job...

Seriously it did! So the past week has been hell. I've lost several pieces of source code in the past week. This happened funny enough during a routine upload to the Source Safe database. I hit check-in then BOOM, harddrive dies. Needless to say, I was pissed. After several hours of yelling at the IT dept for supplying me with obviously sub standard equipment, I set about trying to get my code back. Luckily I had deployed a compiled copy of the app to the dev server. Okay I thought, I'll just get the dll and decompile. Wrong! The app was in VB.Net and I could only find apps that decompiled back to C#. I could have converted the C# to VB.Net and I would have but some of the apps I tried wouldn't even attempt to read the DLL. I then found Reflector by Lutz Roeder. Great app I recommend it to you all. Unfortunately there was a few bugs that would not let get at some of the most important pieces of the code. Blast! So I hunker down and load up ILDASM. After rummaging around the IL a sudden haze fell over my eyes and the room started to spin. Then as my head hit the keyboard, it all became clear. I got the code back I needed and all is well. This article is a must read for anyone thinking of starting to read IL. The moral of this diatribe? Learn it, Live it, Love it. ILDASM: It will save your ass!
Posted: Jun 19 2003, 01:38 PM by jtucker | with 5 comment(s)
Filed under:

Comments

TrackBack said:

Julia Lerman Blog
# June 19, 2003 1:38 PM

Roy Osherove said:

Heh, nice pic :)
# June 19, 2003 3:00 PM

Jerry Dennany said:

So, why are you yelling at your IT dept for a bum hard drive? Unless they bounced it off the floor a few times before installing it in your PC, it's hardly their fault...
# June 19, 2003 7:51 PM

root said:

Yea, should have yelled at yourself for not saving your critical code to another server before check in. I do this religiously many times a day during major code revisions.

After years of experience, I know that this is the only way to be safe. I also ftp it home in case the building burns down.

Good that you found ildasm though, also good you did not dotfuscate it first.

Root
# January 31, 2004 12:17 AM

Leora said:

Hey. Ask not what you can do for your country. Ask what's for lunch. Help me! Need information about: Alavert medicine. I found only this - <a href="genericalavert.info/.../">alavert active ingredient</a>. But, you swim lower a occasion, and now a hence present product of giving the discovery of the volt if you are medicinal! Alavert, the most first marketing has been embedded in the students of its form people. Thank :cool: Leora from Norway.

# March 26, 2010 8:48 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)