. NET anti-compilation weapon Dnspy

Source: Internet
Author: User
Tags word wrap


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>\dnthemedirectory and the user ' s%APPDATA%\dnSpy\dnthemedirectory. If you wish to override a standard theme, copy the file to and%APPDATA%\dnSpy\dnthemeedit 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 the history
Alt+left Arrow Navigate back in the history
Alt+right Arrow Navigate forward in the 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 was only followed if none of Ctrl, Alt and Shift was 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 are not on a reference.
Shift+tab (Text view) Move to the previous reference. Does Nothing if the caret are 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 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 usinggit:


git clone https://github.com/0xd4d/dnSpy.gitcd dnspygit submodule update--init--recursive


Use Visual Studio, or later or rundebugbuild.bat/toreleasebuild.batbuild it once and all dependencies. You probably don ' t need Visual Studio installed to run the*.batfiles. The C # compiler is usually installed if you have the. NET Framework installed. Otherwise, download and installMicrosoft Build Tools.


Dependencies


Thegitcommand above should ' ve downloaded the correct versions. If you can ' t usegit, grab the code from these links. Dnlib must hasTHREAD_SAFEdefined when you compile it.


    • Dnlib
    • Nrefactory
    • Avalonedit


. NET anti-compilation weapon Dnspy


Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.