欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
使用.NET Reflector插件FileDisassembler還原源碼-.NET教程...

 

.net reflector,它是一個(gè)類(lèi)瀏覽器和反編譯器,可以分析程序集并向您展示它的所有秘密。.net 框架向全世界引入了可用來(lái)分析任何基于 .net 的代碼(無(wú)論它是單個(gè)類(lèi)還是完整的程序集)的反射概念。反射還可以用來(lái)檢索有關(guān)特定程序集中包含的各種類(lèi)、方法和屬性的信息。使用 .net reflector,您可以瀏覽程序集的類(lèi)和方法,可以分析由這些類(lèi)和方法生成的 microsoft 中間語(yǔ)言 (msil),并且可以反編譯這些類(lèi)和方法并查看 c# 或 visual basic ?.net 中的等價(jià)類(lèi)和方法。

為了演示 .net reflector 的工作方式,我將加載和分析前面已經(jīng)顯示的 nunitexample 程序集。下圖顯示了 .net reflector 中加載的該程序集。



在 .net reflector 內部,有各種可用來(lái)進(jìn)一步分析該程序集的工具。要查看構成某個(gè)方法的 msil,請單擊該方法并從菜單中選擇 disassembler。

除了能夠查看 msil 以外,您還可以通過(guò)選擇 tools 菜單下的 decompiler 來(lái)查看該方法的 c# 形式。通過(guò)在 languages 菜單下更改您的選擇,您還可以查看該方法被反編譯到 visual basic .net 或 delphi 以后的形式。以下為 .net reflector 生成的代碼:

public void hashtableaddtest(){                hashtable hashtable1;                hashtable1 = new hashtable();                hashtable1.add("key1", "value1");                hashtable1.add("key2", "value2");                assert.areequal("value1", hashtable1["key1"], "wrong object returned!");                assert.areequal("value2", hashtable1["key2"], "wrong object returned!");                }                

前面的代碼看起來(lái)非常像我為該方法實(shí)際編寫(xiě)的代碼。以下為該程序集中的實(shí)際代碼:
public void hashtableaddtest(){                hashtable ht = new hashtable();                ht.add("key1", "value1");                ht.add("key2", "value2");                assert.areequal("value1", ht["key1"],  "wrong object returned!");                assert.areequal("value2", ht["key2"],  "wrong object returned!");                }                

盡管上述代碼中存在一些小的差異,但它們在功能上是完全相同的。

雖然該示例是一種顯示實(shí)際代碼與反編譯代碼之間對比的好方法,但在我看來(lái),它并不代表 .net reflector 所具有的最佳用途 — 分析 .net 框架程序集和方法。.net 框架提供了許多執行類(lèi)似操作的不同方法。例如,如果您需要從 xml 中讀取一組數據,則存在多種使用 xmldocument、xpathnavigator 或 xmlreader 完成該工作的不同方法。通過(guò)使用 .net reflector,您可以查看 microsoft 在編寫(xiě)數據集的 readxml 方法時(shí)使用了什么,或者查看他們在從配置文件讀取數據時(shí)做了哪些工作。.net reflector 還是一個(gè)了解以下最佳實(shí)施策略的優(yōu)秀方法:創(chuàng )建諸如 httphandlers 或配置處理程序之類(lèi)的對象,因為您可以了解到 microsoft 工作組實(shí)際上是如何在框架中生成這些對象的。

.net reflector 由 lutz roeder 編寫(xiě)

下載地址:http://www.aisto.com/roeder/dotnet


現在介紹一個(gè)它的插件。非常好用。還原源碼。!
www.denisbauer.com/downloads/reflector.filedisassembler.zip
這是插件下載地址!
打開(kāi)reflector,在view菜單下的add-ins,將dll添加到里面即可!
然后加載一個(gè)dll。選中它。選擇tools-file disassembler打開(kāi)右側f(wàn)ile disassembler窗口再選擇generate
這樣就還原了源碼。但可不是完全還原!


下面還有其它的plug-in



.net reflector add-ins
this website lists add-ins for .net reflector. after downloading one of the add-ins copy the files to the same directory as your reflector.exe file and load them via the add-ins command under the view menu. you can download reflector here.


--------------------------------------------------------------------------------

reflector.filedisassembler
this add-in can be used to dump the disassembler output to files for any reflector supported language.

website download


--------------------------------------------------------------------------------

reflector.delphilanguage
the delphi view that is used inside .net reflector provided as a language add-in.

website download



--------------------------------------------------------------------------------

reflector.mcpplanguage
this add-in extends reflector with a managed c++ language rendering module.

website download



--------------------------------------------------------------------------------

reflector.chromelanguage
this add-in extends reflector with a chrome language rendering module.

website download



--------------------------------------------------------------------------------

reflector.diff
this add-in shows differences between two versions of the same assembly.

website download


--------------------------------------------------------------------------------

reflector.visualstudio
this program is hosting .net reflector inside the visual studio 2003 ide. run reflector.visualstudio.exe to register the add-in with visual studio.

website download


--------------------------------------------------------------------------------

reflector.classview
shows class definitions as plain text with color coding. the menu item is registered under the "tools" menu.

website download



--------------------------------------------------------------------------------

reflector.codemodelview
this add-in shows the underlying code model objects for a selected node in .net reflector. the menu item is registered under the "tools" menu.

website download


--------------------------------------------------------------------------------

reflector.filegenerator
this add-in can be used to dump the disassembler output to files for any reflector supported language.

download


--------------------------------------------------------------------------------

reflector.graph
this add-in draws assembly dependency graphs and il graphs. it also supports method ranking and type ranking.

website



--------------------------------------------------------------------------------

reflector.openrunningassembly
opens an assembly or dependency from a process running on the system. the menu item is registered under the "tools" menu.

website download


--------------------------------------------------------------------------------

reflector.mbunit
this add-in allows loading and executing mbunit unit test fixtures in reflector. the source code is provided online.

website


--------------------------------------------------------------------------------
disclaimer: the content of this website is provided "as is" with no warranties, and confers no rights. 
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
強大的.NET反編譯工具Reflector
Reflector使用及其周邊插件
VS2005輔助工具整理
Reflector反編譯插件Reflexil 圖文使用教程
月光軟件站 - 編程文檔 - VC語(yǔ)言 - 每個(gè)開(kāi)發(fā)人員現在應該下載的十種必備工具
使用.NET Reflector類(lèi)瀏覽器和反編譯器
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久