Attention is currently required from: Arthur Heymans, Kapil Porwal.
3 comments:
File payloads/libpayload/arch/x86/exception.c:
printf("EIP: 0x%08x\n", exception_state->regs.eip);
printf("CS: 0x%04x\n", exception_state->regs.cs);
printf("EFLAGS: 0x%08x\n", exception_state->regs.eflags);
printf("EAX: 0x%08x\n", exception_state->regs.eax);
printf("ECX: 0x%08x\n", exception_state->regs.ecx);
printf("EDX: 0x%08x\n", exception_state->regs.edx);
printf("EBX: 0x%08x\n", exception_state->regs.ebx);
printf("ESP: 0x%08x\n", exception_state->regs.esp);
printf("EBP: 0x%08x\n", exception_state->regs.ebp);
printf("ESI: 0x%08x\n", exception_state->regs.esi);
printf("EDI: 0x%08x\n", exception_state->regs.edi);
printf("DS: 0x%04x\n", exception_state->regs.ds);
printf("ES: 0x%04x\n", exception_state->regs.es);
printf("SS: 0x%04x\n", exception_state->regs.ss);
printf("FS: 0x%04x\n", exception_state->regs.fs);
printf("GS: 0x%04x\n", exception_state->regs.gs);
Needs 64bit version.
Acknowledged
File payloads/libpayload/arch/x86/exec_64.S:
/* Jump to the code */
call *8(%rbp)
This is not going to work. The ABI uses registers, not stack to pass on the jump addr.
Acknowledged
File payloads/libpayload/arch/x86/main.c:
unsigned long loader_eax; /**< The value of EAX passed from the loader */
unsigned long loader_ebx; /**< The value of EBX passed from the loader */
Only used for multiboot stuff. Does not apply to long mode.
Acknowledged
To view, visit change 81968. To unsubscribe, or for help writing mail filters, visit settings.