ghex first.bin
hexdump first.bin
qemu-system-x86_64 first.bin
qemu-system-x86_64 -drive file=first.bin,format=raw
qemu-system-x86_64 -nographic -drive file=first.bin,format=raw
In Qemu, go to monitor in graphic mode:
Ctrl
+Alt
+2
In Qemu with -nographic:
Ctrl
+ A, X to exitCtrl
+ A, C to go to monitor
In Qemu monitor:
- xp /
n
iaddress
to disassemblen
bytes start fromaddress