When we learn C #, we usually have more or less contact with ildasm and reflector, both of which make our understanding of C # not just on the compiler level., but let's go deeper through the compiler. This is also hope to IL and reflector not very understanding or lazy understanding of the students can pay attention to, the same article I stillIn the form of QA to tell the two tools powerful and necessary.
Reflector, reflexil, De4Dot, IL command quick query table, reflexilde4dot
Http://files.cnblogs.com/files/quejuwen/ReflectorInstaller.rar
Http://files.cnblogs.com/files/quejuwen/ReflectorCrack.rar
Http://files.cnblogs.com/files/quejuwen/reflexil.zip
Http://files.cnblogs.com/files/quejuwen/de4dot-v3-1.zip
Name
Description
Add
Add two values and push the results to the computing stack.
Add. Ovf
Add the two integers,
method before executing the actual calling instruction.
Throw
Throws the exception object that is currently on the evaluation stack.
Unaligned
Indicates that the address currently on the evaluation stack may not be aligned with the natural size of the immediately ldind, stind, ldfld, stfld, ldobj, stobj, initblk, or cpblk directives.
Unbox
Converts the boxed representation of a value type to its unboxed form.
Unbox.any
1. Linq Class Entity Property Events
Original:
Switch
2. Attributes are called directly into the method
Original:
The error prompt is:
After modification:
Note: Set_xxx (A, B) directly remove the "set_". Get_xxx () In addition to removing the "get_", but also to remove the following parentheses.
Also, similar to this is to assign a value to a property size, which is called as a method, should be
Recently involved in
Today, I have no intention of using reflector to open a control. I found that many strings are connected to many of the following formats:
\ U7f51 \ u7edc \ u6280
Ah? What's going on? After processing? Fun, research.
Check whether it is ASCII, not. What should I do?
Take a closer look. It seems that a function a $ pst06000001 (string A_0, int32 A_1) has been called)
Well, you still need to contact the person who calls the bell. You can do this:
Reflections contains a lot of scanner, that is, the scanner, call the corresponding method needs to have a configuration corresponding to the scanner, or the program will throw an exception.Scanner structure:When used, we mainly use the reflections class to invoke.Reflections a portion of the scanner is configured by default,However, in the actual use of the need to add a lot of scanners, can be based on the exceptions thrown by the program to add a corresponding scanHow to use:New New New New N
Http://files.cnblogs.com/greatverve/ReflectorCn.rar
Reflector is written by Microsoft employee Lutz roeder for freeProgram. The emergence of reflector makes. Net programmers suddenly open, because this free tool can decompile the intermediate language in the. NET assembly into C # Or Visual BasicCode. In addition to converting Il to C # Or Visual Basic, reflector
1,
The interface is concise and the size is not enough.
1 m
(
. Net
ProgramOf course it's green software)
2
, Can be self-updated (unlike the intelligent upgrade of anti-virus software or some other programs,
Reflector
Only one main program)
3
, Almost unchanged recovery (
Private
Variable name will be renamed), can be decompiled into other
. Net
Language, such
C #, VB. Nett, Delphi, MC ++
And so on
4
, Even bette
Background introduction:Since the test process needs to write some cases to simulate the operation of SharePoint, in the actual application process, there are some actions can not be written immediately, there are a series of ways to try to solve:method to solve:1. Search Google directly to see if there are any previous jobs, but sometimes you won't find2. Use reflector to view the appropriate SharePoint DLLs to see what SharePoint's own actions look
I was looking for a plugin, but I found this.
Reflector is my current use of the most decompile tool, he may be the best, but with its update speed, I believe he will become the best Oh ~ ~Foreign software, there is still a problem with Chinese support, although we are Unicode, but the foreigner is not necessarily admit. Reflector decompile Code, Unicode characters in both English and Chinese are displayed
currentpos = 0;currentpos {inslength = 0;Data + = String.Format ("{0:x8}: {1}", Currentpos,disassembler.decode (IL, currentpos, out inslength)) + "\ r \ n";}}return data;}Return "This function does not do anti-compilation processing";}
1. Reflective PackersI have published in the 06 "hacker defense" in a "C # implementation from their own resources to extract EXE files," The main point is how to save the exe file in the form of resources in the PE file, and then self-release (imitation Troja
Label: style OS for SP file on problem code ad
Decompilation:
1. Path Problem: If path. Combine is encountered, change it accordingly.
2. Resource file problems:
Under reflector, right-click the resource files in the resources folder of the Resource Management window on the left, and select "Save as" to save.
For example, for tryassemb. form1.resx in the project folder, change it to form1.resx and move it to the tryassemb directory.
3. Open the "view
1 decompilation tool reflector reflector.rar
2. Add a plug-in that can decompile the entire Assembly: reflectorfiledisassembler.zip
3. After decompilation, the Chinese character is Unicode. Use this tool: unicode.rar.
After downloading these files:1. Open reflector first;2. Add plug-ins: Open the menu View --> add_ins --> Add and select filediscycler.3 use file --> open a DLL (ProgramSet). If you want to
Start. NET Reflector First, and then add the entry DLL or EXE. Then select Export Source code ... to generate the anti-compiled code file to the specified directory. At this stage, you will be able to see the anti-compiled project files in the specified directory in a moment. If you notice at this point, we find that our decompile code is not in the. sln file. So, we need to create a new empty project in VS and then include the Decompile project fi
Start. NET Reflector first, and then add the entry DLL or Exe. Then select Export Source code ... to generate the anti-compiled code file to the specified directory. At this stage, you will be able to see the anti-compiled project files in the specified directory in a Moment. If you notice at this point, we find that our decompile code is not in The. sln file. so, we need to create a new empty project in VS and then include the Decompile project fi
Lutz roeder's. Net reflector is a DLL or EXE file based on. NET Framework,Supports any version of. Net framwork. You do not need to install other software. In the. NET environment, you can view the. dll file and decompile it into il C # VB.net dilphi.Source code, The generatedCodeIt has a standardized structure and is easy to read and understand.The original version is not required for the Chinese version.
Install XP 2003Microsoft. NET Framework SDK
The well-known reflector tool can decompile C #, VB. NET, and Delphi
Program. This tool has been released for a long time. Lutz roeder has been upgrading and improving this tool. The current version is version 4.1.25.0. With this tool, I tried to open a program that I used to write in C #. After decompiling, C #
CodeAlmost nothing went wrong. It seems that there are not many secrets for. net programs. It should be said that it is a good thing for pe
goods, this is not a cow x technology Ah! SVN does not bias their plug-ins we have! Who makes you stupid x don't know Ah! See the wood, installed, directly in VS can see the familiar green dot red dot, right can directly commit or invoke other SVN command.In the modified file right click on show differences, you can clearly see the changes in the place, modify the area to the right of the slider bar also has a thoughtful color block hint, let you avoid unnecessary search.3,
After the anti-compilation project file is opened with VS2010, a series of error prompts appear when you open the form:First case:"The designer cannot process the code for line 152th: base. AutoScaleMode = Autoscalemode.font; The code in the method "
C # Reflection (Reflection)
Reflection refers to the ability of a program to access, detect, and modify its own state or behavior.
Assemblies contain modules, and modules contain types, and types contain members. Reflection provides an object that
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.