Comments
Sort by recent activity
I forgot to mention, you'll need to know how to format the code:// path to what you want to select. If you need help with that, the fastest way is to have Reflector bookmark what you want to have the code:// path to and then close Reflector. In the directory that Reflector.exe is in, look at the Reflector.cfg file for the BookmarkManager section ... that will have your code:// ... string in it for you.
If you want some code you can use to create the code:// path, Lutz provided some awhile back on codeplex (file named CodeIdentifier.cs) which I use in my CodeShortcut addin (you can get it from http://jasonhaley.com/addins/) / comments
I forgot to mention, you'll need to know how to format the code:// path to what you want to select. If you need help with that, the fastest way is to have Reflector bookmark what you want to have ...
What you want to do, you can't currently do with Reflector ... unless someone out there has an addin that I don't know about.
There are a few things you can change the names of, but without doing a decompile and recompile you are going to limited.
A .Net assembly file keeps all of its names stored in a byte array and each item is accessed by and index where the first thing is the length of the string (encoded) ... so if you change the length of any of the strings in the user strings byte array you'll have problems ... otherwise for simple changes you can use any hex editor ... but by simple I mean pretty simple like changing "hello world" to "12345678901".
The names of types and other non user strings (like function names, namespaces, etc.) are stored in the strings heap. The strings heap is pretty much the same as the user strings - but one HUGE problem you'll run into is .Net loads things by their full name ... which it uses these strings to load/resolve the types JIT. So if you reference System.String and happen to change the string System to Ystsme (or something) you'll break pretty much all strings.
The only way I know is to find something that will let you edit things and then create a new version of the assembly for you. You might look into Mono's Cecil libraries (http://www.mono-project.com/Cecil).
If you find anything that works for you, I'd be interested to know how it goes. / comments
What you want to do, you can't currently do with Reflector ... unless someone out there has an addin that I don't know about.
There are a few things you can change the names of, but without doing a...
I forgot to mention, I have some general obfuscation information on my site at http://jasonhaley.com/obfuscation/ which you might be interested in. / comments
I forgot to mention, I have some general obfuscation information on my site at http://jasonhaley.com/obfuscation/ which you might be interested in.
I'm not a gambling man, but if I was I would bet Lutz used Dotfuscator (the DotfuscatorAttribute is added to the Reflector.exe).
Dotfuscator is one of the best I've looked at (only looked at three), there is a mode that will set the strings to a unicode range that is unreadable on most machines ... in my opinion that is what makes Reflector so hard to pick a part.
I have a feeling Lutz also uses a few other tricks that makes it even harder but I honestly don't know. / comments
I'm not a gambling man, but if I was I would bet Lutz used Dotfuscator (the DotfuscatorAttribute is added to the Reflector.exe).
Dotfuscator is one of the best I've looked at (only looked at three)...
Just to clarify: are you talking about comments in the code or the documentation? In the options dialog there are a couple of settings you might want to check - Show PDB symbols and Documentation (either Formatted or Xml Comments)
Comments aren't compiled into the dll/exe so in order to show them, it would have to get it from the pdb ... and I'm not sure if the comments are in there or not - does anyone else know? / comments
Just to clarify: are you talking about comments in the code or the documentation? In the options dialog there are a couple of settings you might want to check - Show PDB symbols and Documentation ...
If you are still trying to decipher what the constructor data is or why it is different, I'd suggest ILDasm or the Ecma 335 standard. The constructor data for a normal class constructor will be a Method Signature but the data for a Custom Attribute will be a different thing (has its own encoding scheme).
Not sure if it will help you any, but I have some examples of decoding method signatures on my site (http://jasonhaley.com/Reversing/default.aspx). Custom attributes are next on my list to do.
My goal is to create a Reflector addin that will show everything that ILDasm does ... but spare time has been at a minumum lately. / comments
If you are still trying to decipher what the constructor data is or why it is different, I'd suggest ILDasm or the Ecma 335 standard. The constructor data for a normal class constructor will be a ...
That dll is not a managed .Net dll so Reflector can't decompile it. / comments
That dll is not a managed .Net dll so Reflector can't decompile it.
Are you using Reflector or ildasm? If you have an exe or dll that you know is .Net, you should try Jason Bock's FileGenerator for Reflector - it usually works good for getting code back to source files using Reflector (http://www.codeplex.com/FileGenReflector) / comments
Are you using Reflector or ildasm? If you have an exe or dll that you know is .Net, you should try Jason Bock's FileGenerator for Reflector - it usually works good for getting code back to source ...
You should check out Jason Bock's FileGen addin, he just updated it. The addin is on codeplex at: http://www.codeplex.com/FileGenReflector / comments
You should check out Jason Bock's FileGen addin, he just updated it. The addin is on codeplex at: http://www.codeplex.com/FileGenReflector