reflector

Reflector调试dll功能

不想你离开。 提交于 2019-12-06 03:04:32
Reflector不仅仅是一个反编译工具,之前用Resharper,把这个给忽略了,这个Reflector还有一个调试dll功能, 在调试时反编译代码,会生成对应的pdb文件,就可以进行dll源码调试了,可以直接在扩展管理器里安装。 来源: https://www.cnblogs.com/zhaogaojian/p/11959601.html

Is it possible to link a method marked with MethodImplOptions.InternalCall to its implementation?

坚强是说给别人听的谎言 提交于 2019-12-05 15:23:21
In trying to find the possible cause of an exception, I'm following a code path using Reflector. I've got deeper and deeper, but ended up at a method call that looks like: [MethodImpl(MethodImplOptions.InternalCall)] private extern void SomeMethod(int someParameter); This markup on the method tells the framework to call a C++ function somewhere. Is there any way to find out what method actually gets called, and in turn what else is likely to be called? NB: I don't really want to see the source code of this method, I just want to know the possible things that could throw the exception I am

How to get a nice class diagram for built-in .net classes?

佐手、 提交于 2019-12-05 10:32:45
To get an overview for the CodeDom classes in .Net I tried to create a class diagramm using Visual Studio 2010 built-in class designer, but I did not find the way how I could feed the .Net built-in classes and types into it, the only I can get is to add my own classes from Class View window. I also tried it with UML diagramms in VS2010, and I couldn't import the classes. I was looking for a similar option in MS Visio and though it does provide support for class diagramm I could not generate something there. I found the AutoDiagrammer project on CodeProject webpage and tried to use it as a

Can someone please explain this lazy evaluation code?

夙愿已清 提交于 2019-12-05 08:04:00
So, this question was just asked on SO: How to handle an "infinite" IEnumerable? My sample code: public static void Main(string[] args) { foreach (var item in Numbers().Take(10)) Console.WriteLine(item); Console.ReadKey(); } public static IEnumerable<int> Numbers() { int x = 0; while (true) yield return x++; } Can someone please explain why this is lazy evaluated? I've looked up this code in Reflector, and I'm more confused than when I began. Reflector outputs: public static IEnumerable<int> Numbers() { return new <Numbers>d__0(-2); } For the numbers method, and looks to have generated a new

Modify Compiled .Net Exe

夙愿已清 提交于 2019-12-05 00:35:50
I have an application written in C# (without the source of course), that needs to be changed a little bit. For example, I need to stop a few lines of code that create an unnecessary menu. So I think I should comment them out. The source code is not obfuscated. I know I can completely decompile, change, and compile again, using tools like Reflector/Reflexil. But everyone knows that by doing this, many parts of code won't compile again! Is there a way in Reflector (or any other product) that a part of could be disabled/changed without this process? Thanks. You might want to try dnSpy. It is a

Is there a way to prevent dll from being opened in a software like reflector?

社会主义新天地 提交于 2019-12-04 14:05:34
HI, Is there a way to prevent a particular dll in C# being opened in reflector. I can open many of the dll's and can get the code using reflector. But when trying to open some dll's it shows an error message stating that "The particual dll does not contain a CLI header.". How can I make a dll like this?? Are you sure that these DLLs are managed-code-dlls? I don't think so, if they don't contain the CLI header, they aren't written in C#. And for your question, you can't prevent a managed-DLL from being opened in a decompiler, all what you can do is to obfuscate it. If you want to protect your

Biztalk Orchestration reverse engineer

自作多情 提交于 2019-12-04 12:58:41
My situation is: Old developer left without the code so I can not add any enhancement or fix the bug. Do we have any service/tool that I can reverse the Orchestration (+ Mapping) to original format (from DLL/MSI, or Running BizTalk application)? If the reverse won't work I would like to see the Orchestration flow like the Visual studio designer. That's is good enough for me to trace everything You have several options Use a de-compiler (such as .NET Reflector ). You can then extract a string that is the contents of the ODX file as well as the XSLT for any maps. (I copied the string called

.net 破解工具集合

*爱你&永不变心* 提交于 2019-12-04 01:34:08
一、反编译类 1、 .NET Reflector .NET Reflector是一个.NET工具。.NET开发人员用它来反编译和观察内在内容,了解应用程序接口(API)、组件、框架以及所使用的所有关键代码是如何工作的。此外,还可以通过自身的代码、第三方组件和所使用的任何编译的.NET代码跟踪漏洞。可在Visual Studio中查看第三方代码,就像浏览自己的代码一样。最新版本已收费。 2、ILSpy: ILspy是因为Red Gate宣布免费版的.NET Reflector(同样是反编译软件)将会在2011年2月停止。所以爱好免费软件的开发者们转而开发自己的反编译软件。于是ILspy就因运而生了。 3、JustDecompile JustDecompile是Telerik公司推出一个免费的.net反编译工具,支持插件,与Visual Studio 集成,能够创建Visual Studio project文件。JustDecompile与Reflector相比的话,个人更喜欢JustDecompile,因为他免费,而且对于一些C#动态类型的反编译效果比较好,对于某个第三方程序集,如果它缺乏文档,或者是一个bug 或性能问题的根源,反编译往往是最快捷的解决方案。Telerik已经将 Reflexil 、程序集编辑器(assembly editor)和 De4Dot

Can i reverse engineer my own dll?

不羁的心 提交于 2019-12-03 13:08:17
问题 We've got a .NET project at work, which we lost (human error). The person who wrote the code said she had three projects in the solution => one webform, one winform and one class library. Now, we have the final DLLs and website. Is there anything we can do with this? For the class library, I was thinking about using Reflector to copy/paste the code and, with time, rename MethodNames and variables, etc.. to some nice english stuff. For the website, not sure. Does anyone have any ideas or

.NET Reflector for Mono [closed]

…衆ロ難τιáo~ 提交于 2019-12-03 11:01:38
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Is there an equivalent of .NET Reflector for Mono? Quick googling did not find anything... Or can I run Reflector on Mono (say, in Mac OS X)? Nicolas As I was looking for a Mono decompiler, I found this page and tested the answers : Mono.Cecil works great but it's a library and I was looking for a GUI ILSpy doesn't run under Mono (Linux) since it uses WPF. Same for .NET CodeReflect, JustDecompile and dotPeek. Perhaps