Next Generation Emulation banner

1 - 5 of 5 Posts

·
Premium Member
Joined
·
907 Posts
Discussion Starter #1
when you got a error message in debug mode.
then cxbx writes it to the kernel logging.

my question..

when you got a error for example XapiInit devices ..
EmuXapi (0x374): EmuXInitDevices
(
Unknown1 : 0x00000000
Unknown2 : 0x00000000
);
EmuMain (0x374): Recieved Exception (Code := 0xC0000005)

EIP := 0x00000081 EFL := 0x00010216
EAX := 0x00000011 EBX := 0x00000000 ECX := 0xFFFFFFFF EDX := 0x00000012
ESI := 0x00000000 EDI := 0x01C93804 ESP := 0x020DFE38 EBP := 0x020DFE54

etc.

is this exception of the function EmuXInitDevices or is this a error of the next function that will be executed ??
 

·
Premium Member
Joined
·
180 Posts
It can be either. That one is kernel thunk 0x81 (look at EIP) - this isn't intercepted yet. This is probably because code is running inside of a HLF that isnt being detected yet.

caustik
 

·
Registered
Joined
·
1,056 Posts
yeah then see if you overwrite a reg and insert shellcode and set the eip to a jmp reg then you will root your own box. donno Im bored.
 

·
Premium Member
Joined
·
907 Posts
Discussion Starter #4
ok, so these errors can be both.. thx
this one was changed by the inl files of 3911 :)

but because now i get a XInput error. so thats why i wanne to know..
if it was of the Xinput or the function thats comas after Xinput..
Xinpt was the last normal logging . and after that i get a exception ..

its funny playing with those HLed files. you can see the changes in the cxbx logging if its working or not.

greetz,
_Tj
 

·
Premium Member
Joined
·
180 Posts
yeah, welcome to my world shadow_tj :) - it can be very tough to debug where crashes occur. generally you can backtrace and reverse engineer what function has crashed, but alot of the times its much more complicated, unfortunately.

on exception, cxbx attempts to flush stdio which should usually give you the last debug printf's - then you can try to cause a breakpoint to happen just at this last "OK" spot and step into the disassembly until you can find out where things are going wrong.

caustik
 
1 - 5 of 5 Posts
Top