commit | 9b409f5b1d566cd330be4e52a19076ecf3330db0 | [log] [tgz] |
---|---|---|
author | cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sat Jun 24 19:57:45 2006 +0000 |
committer | cerion <cerion@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sat Jun 24 19:57:45 2006 +0000 |
tree | 9530c77777f84b395152ebdbebca17b41199ab65 | |
parent | ad61c930aae0c58cfc22f360116396198225afc1 [diff] |
handy script to decode ppc instructions - thanks to Stephen McCamant for this one. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5977 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/auxprogs/dump_insn_ppc.sh b/auxprogs/dump_insn_ppc.sh new file mode 100755 index 0000000..6c9c1d1 --- /dev/null +++ b/auxprogs/dump_insn_ppc.sh
@@ -0,0 +1,4 @@ +#!/bin/zsh + +objdump -b binary -m powerpc -EB -D \ + =(perl -e 'print pack "N", hex $ARGV[0]' $1) | tail +7