.net 反编译利器 dnspy
Binaries
Latest release: https://github.com/0xd4d/dnSpy/releases
Latest build (possibly unstable): https://ci.appveyor.com/project/0xd4d/dnspy/build/artifacts
Features
- Assembly editor
- Decompiler
- Debugger
- Tabs and tab groups
- Themes (blue, dark, light and high contrast)
Themes
dnSpy looks for *.dntheme files in the <dnSpy-bin-dir>\dntheme directory and the user's %APPDATA%\dnSpy\dnthemedirectory. If you wish to override a standard theme, copy the file to %APPDATA%\dnSpy\dntheme and edit the file.
Keyboard shortcuts
| Key | Description |
|---|---|
| Ctrl+F | (Text view) Search |
| F3 | (Text view) Find next match |
| Shift+F3 | (Text view) Find previous match |
| ESC | (Text view) Remove selected markers or close search box |
| Backspace | Navigate back in history |
| Alt+Left Arrow | Navigate back in history |
| Alt+Right Arrow | Navigate forward in history |
| F5 | (Debugger) Debug an assembly |
| Ctrl+F5 | (Debugger) Start without debugging |
| F5 | (Debugger) Continue debugging |
| Shift+F5 | (Debugger) Stop debugging |
| Ctrl+Shift+F5 | (Debugger) Restart debugged program |
| F9 | (Text view) Toggle breakpoint at caret |
| Ctrl+F9 | (Text view) Toggle enable/disable breakpoint at caret |
| Ctrl+Shift+F9 | Delete all breakpoints |
| F10 | (Debugger) Step over |
| Ctrl+Shift+F10 | (Debugger) Set next statement |
| F11 | (Debugger) Step into next method |
| Shift+F11 | (Debugger) Step out of current method |
| Ctrl+Pause | (Debugger) Break |
| Alt+* | (Debugger) Show next statement |
| Ctrl+D | (Text view) Go to token |
| Ctrl+Shift+D | (Text view) Go to MD table row |
| Shift+Alt+R | (Text view) Go to highlighted reference's MD table row |
| Ctrl+G | (Text view) Go to line |
| Ctrl+X | (Text view) Show current instruction in hex editor or open hex editor |
| Ctrl+T | Open a new tab |
| Ctrl+W | Close current tab |
| Ctrl+F4 | Close current tab |
| Ctrl+Tab | Go to next tab |
| Ctrl+Shift+Tab | Go to previous tab |
| Ctrl+K | Open search pane |
| Ctrl+T | (Search pane) Select Type |
| Ctrl+M | (Search pane) Select Member |
| Ctrl+S | (Search pane) Select Literal |
| Alt+Enter | (Text view, Tree view) Edit current type, method, field, etc |
| F12 | (Text view) Follow reference at caret |
| Enter | (Text view) Follow reference at caret |
| Ctrl+F12 | (Text view) Follow reference at caret in a new tab |
| Ctrl+Enter | (Text view) Follow reference at caret in a new tab |
| Ctrl+Click | (Text view) Follow the clicked reference in a new tab |
| Ctrl+Alt+W | (Text view) Toggle word wrap |
| Shift+Dbl Click | (BP/Call stack/Search/etc windows) Open BP/method/etc in a new tab |
| Ctrl+C | (Text view) Copy selected text |
| Ctrl+B | (Text view, IL language) Copy selected lines as IL hex bytes |
| Ctrl+E | (Text view) Edit IL instructions |
| Ctrl+S | Save code |
| Ctrl+Shift+S | Save all modified assemblies and netmodules |
| Ctrl+O | Open assembly |
| Ctrl+Z | (Assembly Editor) Undo |
| Ctrl+Y | (Assembly Editor) Redo |
| Ctrl+Shift+Z | (Assembly Editor) Redo |
| Ctrl++ | (Text view) Zoom In |
| Ctrl+- | (Text view) Zoom Out |
| Ctrl+0 | (Text view) Zoom Reset |
| Ctrl+Scroll Wheel | (Text view) Zoom In/Out |
| Alt+Click | (Text view) Don't follow the clicked reference so it's possible to start selecting text without being taken to the definition. References are only followed if none of Ctrl, Alt and Shift are pressed or if Ctrl is pressed. |
| F7 | Give text editor keyboard focus |
| Ctrl+Alt+0 | Give text editor keyboard focus |
| Ctrl+Alt+L | Give tree view keyboard focus |
| Ctrl+Alt+B | (Debugger) Show Breakpoints window |
| Alt+F9 | (Debugger) Show Breakpoints window |
| Ctrl+Alt+C | (Debugger) Show Call Stack window |
| Alt+7 | (Debugger) Show Call Stack window |
| Ctrl+Alt+H | (Debugger) Show Threads window |
| Ctrl+Alt+U | (Debugger) Show Modules window |
| Ctrl+Alt+E | (Debugger) Show Exceptions window |
| Alt+4 | (Debugger) Show Locals window |
| Alt+6 | (Debugger) Show Memory 1 window |
| Ctrl+Alt+1 | (Debugger) Show Memory 1 window |
| Ctrl+Alt+2 | (Debugger) Show Memory 2 window |
| Ctrl+Alt+3 | (Debugger) Show Memory 3 window |
| Ctrl+Alt+4 | (Debugger) Show Memory 4 window |
| Shift+Alt+Enter | Toggle full screen mode |
| Tab | (Text view) Move to the next reference. Does nothing if the caret is not on a reference. |
| Shift+Tab | (Text view) Move to the previous reference. Does nothing if the caret is not on a reference. |
| N | (Method Editor) Nop instruction |
| I | (Method Editor) Invert branch |
| B | (Method Editor) Convert to unconditional branch |
| P | (Method Editor) Remove instruction and add an equal number of pops that the original instruction popped |
| S | (Method Editor) Simplify instructions, eg. convert ldc.i4.8 to ldc.i4 with 8 as operand |
| O | (Method Editor) Optimize instructions, eg. convert ldc.i4 with 8 as operand to ldc.i4.8 |
| F | (Method Editor) Add a new instruction before selection |
| C | (Method Editor) Add a new instruction after selection |
| A | (Method Editor) Append a new instruction |
| U | (Method Editor) Move selection up |
| D | (Method Editor) Move selection down |
| Del | (Method Editor) Remove selected instructions |
| Ctrl+Del | (Method Editor) Remove all instructions |
| Ctrl+T | (Method Editor) Copy selection as text |
| Ctrl+X | (Method Editor) Cut selected instructions |
| Ctrl+C | (Method Editor) Copy selected instructions |
| Ctrl+V | (Method Editor) Paste instructions |
| Ctrl+Alt+V | (Method Editor) Paste instructions after selection |
| Ctrl+M | (Method Editor) Copy operand's MD token |
| Ctrl+R | (Method Editor) Copy RVA of instruction |
| Ctrl+F | (Method Editor) Copy file offset of instruction |
| Ctrl+R | (Text view) Analyze reference at caret |
| Tab | (Hex editor) Switch caret from hex bytes to ASCII or back |
| Ctrl+C | (Hex editor) Copy binary data |
| Ctrl+Shift+8 | (Hex editor) Copy UTF-8 encoded data |
| Ctrl+Shift+U | (Hex editor) Copy Unicode encoded data |
| Ctrl+Shift+P | (Hex editor) Copy data as a C# array |
| Ctrl+Shift+B | (Hex editor) Copy data as a VB array |
| Ctrl+Shift+C | (Hex editor) Copy hex editor screen contents |
| Ctrl+Alt+O | (Hex editor) Copy offset |
| Ctrl+G | (Hex editor) Go to offset |
| Ctrl+8 | (Hex editor) Paste (UTF-8) |
| Ctrl+U | (Hex editor) Paste (Unicode) |
| Ctrl+B | (Hex editor) Paste (#Blob data with compressed length) |
| Ctrl+L | (Hex editor) Show 'Select' dialog box |
| Ctrl+D | (Hex editor) Show only the selected bytes |
| Ctrl+Shift+D | (Hex editor) Show all bytes |
| Ctrl+Alt+S | (Hex editor) Save selection |
Credits
For license info, authors and other credits, see README.txt.
Build instructions
First grab the code using git:
git clone https://github.com/0xd4d/dnSpy.git
cd dnSpy
git submodule update --init --recursive
Use Visual Studio 2010 or later or run debugbuild.bat / releasebuild.bat to build it once you have all dependencies. You probably don't need Visual Studio installed to run the *.bat files. The C# compiler is usually installed if you have the .NET Framework installed. Otherwise, download and install Microsoft Build Tools.
Dependencies
The git command above should've downloaded the correct versions. If you can't use git, grab the code from these links. dnlib must have THREAD_SAFE defined when you compile it.
.net 反编译利器 dnspy的更多相关文章
- 8款非常不错的.Net反编译利器
本人搜集了下8款非常不错的.Net反编译利器: 1.Reflector Reflector是最为流行的.Net反编译工具.Reflector是由微软员工Lutz Roeder编写的免费程序.Refle ...
- 游戏反编译工具dnSpy
dnSpy使用的工具下载地址为: https://github.com/cnxy/dnSpy/archive/v4.0.0.zip 或 dnSpy官方下载地址: https://github.com/ ...
- [转][C#].Net反编译利器
来自:https://www.cnblogs.com/zsuxiong/p/5117465.html 有以下8款非常不错的.Net反编译利器: 1.Reflector Reflector是最为流行的. ...
- 【原创】Java批量反编译利器(jd-gui)介绍
Java反编译利器(jd-gui)介绍 当要做白盒测试或安全测试时,我们需要借助工具扫描被测代码,相信大家都遇到过没有源代码,而需要反编译的情形吧,也可能大家用过jad工具,我这里介绍下方便的工具jd ...
- Android逆向之旅---反编译利器Apktool和Jadx源码分析以及错误纠正
Android逆向之旅---反编译利器Apktool和Jadx源码分析以及错误纠正 http://blog.csdn.net/jiangwei0910410003/article/details/51 ...
- 一个APK反编译利器Apktool
一个APK反编译利器Apktool APK 本地化 [http://www.andmoto.com/viewthread.php?tid=3873] 说起APK的汉化,目前大部分教程都是让用H ...
- 转载文章----IL反编译利器——Ildasm.exe和Reflector.exe:
转载地址:http://www.cnblogs.com/yangmingming/archive/2010/02/03/1662546.html 一:Ildasm.exe简介 这一微软VS自带工具, ...
- Java反编译利器-Jad, Jode, Java Decompiler等及其IDE插件
转自:http://blog.csdn.net/superbeck/article/details/5189231 对于长年使用Java的程序员,大部分应该都会或多或少的使用到反编译软件.毕竟,不可能 ...
- java 反编译利器JD-JUI
下载地址: http://download.csdn.net/download/suixingbugai/4145221
随机推荐
- Delphi的核心优势:三快一多
快是指:开发快(RAD开发),编译快(好像是没有用到LL(1),从而避免了潜在的歧义),运行快(原生代码). 多是指:开发符合PME标准的可视化控件,易开发,易使用,所以第三方控件特别多,这个不用解释 ...
- Linux下core文件产生的一些注意问题
前面转载了一篇文章关于core文件的产生和调试使用的设置,但在使用有一些需要注意的问题,如 在什么情况 才会正确地产生core文件. 列出一些常见问题: 一,如何使用core文件 1. 使用core文 ...
- Inorder Successor in BST 解答
Question Given a binary search tree and a node in it, find the in-order successor of that node in th ...
- Java学习作业(14.4.21)
前三次作业都是基础语法.真的好水啊.从这次开始记录. 1.编写Java程序,把当前目录下扩展名为txt的文件的扩展名全部更名为back. import java.io.*; import java.l ...
- JavaScript面向对象之类的创建
JavaScript对象的定义: 在js中函数极为对象,对象分为二种:对象字变量产生的对象连接到Object.prototype:函数对象连接到Function.prototype 方法:当一个函数被 ...
- Html 加载音乐代码mp3
<object data="__PUBLIC__/home/mp3/media.mp3" type="application/x-mplayer2" wi ...
- 开源 免费 java CMS - FreeCMS2.0 会员我的评论
项目地址:http://www.freeteam.cn/ 我的评论 从左側管理菜单点击我的评论进入. 在这里能够查看当前登录会员的全部评论记录. 删除评论 选择评论然后点击删除button能够完毕删除 ...
- Ruby新手教程和技巧
Ruby真的比Java更好? Ruby On Rails 创始人:对Java 说再见 这两周以来环绕Java发生的两件大事:EclipseCon 和TheServerSide Java Sympo ...
- 要理解javascript中间apply和call
apply和call它是javascript一个非常重要的方法,.虽然与程序平时很少接触,但JS到处都在使用这个框架2方法. 2个方法是在Function.prototype中.也就是说每一个JS函数 ...
- Linux 与 unix shell编程指南——学习笔记
第一章 文件安全与权限 文件访问方式:读,写,执行. 针对用户:文件属主,同组用户,其它用户. 文件权限位最前面的字符代表文件类型,常用的如 d 目录:l 符号链 ...
