Source code: https://github.com/vitalfadeev/dasm
example:
./dasm opcode.o opcode.op_eq_s
Disassembly of section .text._D6opcode7op_eq_sFZi:
<_D6opcode7op_eq_sFZi>:
0: 55 push %rbp
1: 48 8b ecmov%rsp,%rbp
4: 48 39 d1cmp%rdx,%rcx
7: 75 0a
Just share.
Script for disassemble binary.
And script for bash completion. Complete symbol names.
Files:
./dasm
/etc/bash_completion.d/dasm
file <./dasm>
#!/bin/bash
# Author: abu, vital
# Description: puts disassembled objectfile to std-out
if [ $# = 2 ]; then
sstrg="