Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env sh
- ODFLAGS="-d"
- if [ "$1" == "-raw" ]; then
- ODFLAGS+=" -M no-aliases"
- shift
- fi
- TMPFILE="$(mktemp)"
- echo "$*" | as -o "$TMPFILE" && objdump $ODFLAGS "$TMPFILE"
- rm -f "$TMPFILE"
Add Comment
Please, Sign In to add comment