![]() |
|
#1
|
|||
|
|||
|
Armadillo crashes Olly
Hi all,
Maybe this is old news but I think it might help the new guys as it helped me. As some of us know, Armadillo uses OutputDebugStringA() which sends a badly formatted message causing Ollydbg to crash. Perhaps this will be taking care of in the next version of Olly but until then here is what I got to share. First here is the code where Olly crashes Code:
0042E125 8B45 0C MOV EAX,DWORD PTR SS:[EBP+C] ; Moves Address where deadly msg is to EAX 0042E128 50 PUSH EAX ; Push this address on Stack 0042E129 8D95 FCEDFFFF LEA EDX,DWORD PTR SS:[EBP-1204] 0042E12F 52 PUSH EDX 0042E130 E8 1F8B0700 CALL OLLYDBG.004A6C54 ; Inside this call is where Olly dies Code:
0042E130 E8 9193FEFF CALL OLLYDBG.004174C6 ; Now Call my routine to Fix deadly msg Code:
004174C6 8138 44656275 CMP DWORD PTR DS:[EAX],75626544 ; Check if it's the deadly message "Debug string: %s%s%s%s%s%s%s%s%s%s%s%..." 004174CC 75 07 JNZ SHORT OLLYDBG.004174D5 ; If its not, Jump Over Fix 004174CE C740 0E 4F4B0000 MOV DWORD PTR DS:[EAX+E],4B4F ; Fix by making message say "Debug string: OK" 004174D5 E9 7AF70800 JMP OLLYDBG.004A6C54 ; Jump to the location where the original Call goes Since I have 10+ post I can now thank people Big thanks goes to gabri3l who was able to find the cause of crash. Also to diablo2oo2 for his Universal Patcher (dUP) that I used and Author of Ollydbg. And everyone in this thread hxxp://www.woodmann.com/forum/showthread.php?t=6153 I hope somr people will learn from this, Have a great day, Flagmax. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help unpacked .dll now crashes | Mitchjs | General Discussion | 3 | 04-28-2008 07:41 |
| Armadillo 4.42 & Olly | TmC | General Discussion | 1 | 04-23-2006 09:22 |
| Ida2Sice crashes Softice?! | bEaST | General Discussion | 0 | 09-07-2005 22:17 |
| OllyScript 0.85 and Olly 1.10 crashes ??!? | Shub-Nigurrath | General Discussion | 6 | 07-11-2004 19:10 |