首页 > 代码库 > how to convert from hex to disasm

how to convert from hex to disasm

cat ascii.hex | ascii2binary -b h -t us > ascii.bin

  

x86dis -e 0 -s att -f ascii.bin 

  

echo "d8 01 77 c4 90 90 90 90" | ascii2binary -b h -t uc | x86dis -e 0 -s intel

  

echo "d801 77c4" | ascii2binary -b h -t us | x86dis -e 0 -s intel