Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-26-2004, 14:47
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 358
Rept. Given: 143
Rept. Rcvd 24 Times in 13 Posts
Thanks Given: 196
Thanks Rcvd at 168 Times in 51 Posts
TQN Reputation: 24
Smile Some my experiences with OllyDbg

- OllyDbg can not find and stop at the entry point of a EXE which did not have IAT (did not contain any import functions). The exception will throw in NTDLL.DLL and the exe will terminate. IDA debugger, WinDbg are same. They can not debug this exe, and seem that the OS can not run this kind of EXE.
- If we have installed Visual Studio 6, we will have the MFC42.pdb file in System32 directory. When OllyDbg load a exe which uses MFC42.dll, OllyDbg will load and read debug information from the MFC42.pdb and it will take a long time (seem to hang). So I must move the MFC42.pdb to my symbols directory.
- If we rename OllyDbg.exe to another name (to anti anti-OllyDbg), almost plugins will not run. So I think we need modify plugin.h to dynamic load OllyDbg export functions by GetModuleHandle(NULL) and GetProcAddress(xxx).
- We can develop OllyDbg plugin with Delphi. I know we have many Delphi Coder in this forum here, so why we can not use Delphi to write plugin ?. I am porting plugin.h to plugin.pas for Delphi 6 and 7. I am finished 50%. Wait for few days. I attached a simple plugin with source, written with Delphi 7. Hope you will enjoy, test and reuse it for your plugins written in Delphi.
Regards
Attached Files
File Type: rar DPlugin.rar (21.7 KB, 31 views)
File Type: rar Test.rar (1.9 KB, 21 views)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 22:45.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )