Skip to content

Instantly share code, notes, and snippets.

@cwgreene
Created July 24, 2020 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwgreene/cb3b6823a23ff18124d22fa4bffa6436 to your computer and use it in GitHub Desktop.
Save cwgreene/cb3b6823a23ff18124d22fa4bffa6436 to your computer and use it in GitHub Desktop.
#!/bin/bash
input=$(mktemp /tmp/ghidra_input.txt.XXXXX)
output=$(mktemp /tmp/ghidra_output.txt.XXXXX)
directory=$(dirname $(realpath $0))
tee $input | "$directory/decompile_real" | tee $output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment