15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
define hook-stop
|
|
# Translate the segment:offset into a physical address
|
|
printf "[%4x:%4x] ", $cs, $eip
|
|
x/i $cs*16+$eip
|
|
end
|
|
|
|
set disassembly-flavor intel
|
|
set architecture i8086
|
|
|
|
layout asm
|
|
layout reg
|
|
|
|
target remote localhost:26000
|
|
break *0x7c00
|