live disassembler in vim similar to compiler explorer
- objdump
- vim
./disasm.sh some_file.c
disassembly output is refreshed every time you edit and save the code
supported environment vars:
CFLAGS
: compiler flags defaults to-O0 -gdwarf-2 -fno-stack-protector
ODFLAGS
: objdump flags defaults to--disassembler-options=intel --source
CC
: compiler binary (must be compatible with gcc-like params -c and -o). defaults to gccTIMEOUT
: maximum runtime for the binary, defaults to 1 (second)