Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created May 8, 2013 07:24
Show Gist options
  • Save Eugeny/5538810 to your computer and use it in GitHub Desktop.
Save Eugeny/5538810 to your computer and use it in GitHub Desktop.
void isrq6(isrq_registers_t* regs) {
10000b: 55 push rbp
10000c: 48 89 e5 mov rbp,rsp
10000f: 48 83 ec 10 sub rsp,0x10
100013: 48 89 7d f8 mov QWORD PTR [rbp-0x8],rdi
klog('e', "Invalid opcode, rip=%lx", regs->rip);
100017: 48 8b 45 f8 mov rax,QWORD PTR [rbp-0x8]
10001b: 48 8b 80 98 00 00 00 mov rax,QWORD PTR [rax+0x98]
100022: 48 89 c2 mov rdx,rax
100025: 48 be 28 20 19 00 00 movabs rsi,0x192028
10002c: 00 00 00
10002f: bf 65 00 00 00 mov edi,0x65
100034: b8 00 00 00 00 mov eax,0x0
100039: 48 b9 6e f5 17 00 00 movabs rcx,0x17f56e
100040: 00 00 00
100043: ff d1 call rcx
Debug::MSG_DUMP_REGISTERS.post(NULL);
100045: be 00 00 00 00 mov esi,0x0
10004a: 48 bf 40 b4 2c 00 00 movabs rdi,0x2cb440
100051: 00 00 00
100054: 48 b8 0c 7d 10 00 00 movabs rax,0x107d0c
10005b: 00 00 00
10005e: ff d0 call rax
Scheduler::get()->logTask();
100060: 48 b8 e7 08 10 00 00 movabs rax,0x1008e7
100067: 00 00 00
10006a: ff d0 call rax
10006c: 48 89 c7 mov rdi,rax
10006f: 48 b8 fe b1 10 00 00 movabs rax,0x10b1fe
100076: 00 00 00
100079: ff d0 call rax
AddressSpace::current->dump();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment