Skip to content

melomac/Hopper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Hopper scripts

Hopper Disassembler Python v3 scripts for macOS.

To install, copy or symlink the scripts to ~/Library/Application Support/Hopper/Scripts. If Hopper is already running, you'll have to run the Reload Script Folder Content command from the Scripts menu.

Open current procedure in configured code editor for you to enjoy syntax coloring, highlighting, find keyboard shortcuts, etc.. Default editor is Sublime Text.

Requirements

Any supported editor: Sublime Text, Visual Studio Code, TextMate, BBEdit, SubEthaEdit, etc..

How to

On first launch, the script creates a JSON configuration file at: ~/Library/Application Support/Hopper/Scripts/Decompile to Editor.json

Here you have the JSON configuration default contents:

{
  "editor": "Sublime Text",
  "editors": {
    "BBEdit": [
      "/usr/local/bin/bbedit"
    ],
    "MacVim": [
      "/Applications/MacVim.app/Contents/MacOS/Vim",
      "-g"
    ],
    "SubEthaEdit": [
      "/usr/local/bin/see"
    ],
    "Sublime Text": [
      "/usr/local/bin/subl"
    ],
    "TextMate": [
      "/usr/local/bin/mate"
    ],
    "Visual Studio Code": [
      "/usr/local/bin/code"
    ]
  }
}

Set the editor value to your favorite editor. Add editors commands to support even more editors. The temporary filepath is the last command parameter.

Demangle all labels with Swift mangled names.

Attempt to load libswiftDemangle.dylib or run swift-demangle command-line interface on library load error.

Requirements

Xcode or Command Line Tools.

About

Hopper Disassembler scripts for OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages