Skip to content

Instantly share code, notes, and snippets.

@rschulman
Created April 18, 2014 20:40
Show Gist options
  • Save rschulman/11063454 to your computer and use it in GitHub Desktop.
Save rschulman/11063454 to your computer and use it in GitHub Desktop.
(gdb) x/10i 0x00100be2
=> 0x100be2 <install_gdt+28>: ljmp $0x8,$0x100be9
0x100be9 <install_gdt.reload_CS>: mov $0x10,%ax
0x100bed <install_gdt.reload_CS+4>: mov %eax,%ds
0x100bef <install_gdt.reload_CS+6>: mov %eax,%es
0x100bf1 <install_gdt.reload_CS+8>: mov %eax,%fs
0x100bf3 <install_gdt.reload_CS+10>: mov %eax,%gs
0x100bf5 <install_gdt.reload_CS+12>: mov %eax,%ss
0x100bf7 <install_gdt.reload_CS+14>: ret
0x100bf8 <idt_flush>: mov 0x4(%esp),%eax
0x100bfc <idt_flush+4>: lidtl (%eax)
(gdb) si
0x0000e05b in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment