Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2009, 10:57
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 468
Rept. Given: 11
Rept. Rcvd 32 Times in 25 Posts
Thanks Given: 69
Thanks Rcvd at 247 Times in 94 Posts
WhoCares Reputation: 32
[Solved]IDA 5.2 can't recognize XP SP3 symbols

I'm using IDA v5.2. It can identify XP SP0 symbols but can't identify XP SP3 symbols. Don't know why.

I downloaded "WindowsXP-KB936929-SP3-x86-symbols-full-ENU.exe" and extracted "ntdll.pdb" to system32 directory(sure current OS is XP SP3), then loaded ntdll.dll and ntdll.pdb with IDA. It could't identify "sub_7C93B077" as "LdrpInitialize" though it said "total 1016 symbols loaded" in the log window.

But the same procedure works for XP SP0 ntdll.dll/ntdll.pdb.

BTW:
IDA v5.4 can use windbg engine now:
_http://www.hex-rays.com/idapro/debugger/windbg_tut.pdf


Edit:
Finally I found the answer: just create an empty directory "symsrv.yes" in IDA directory, it will load SP3 pdb symbols.
_http://hi.baidu.com/0xfei/blog/item/9c74aad9f710f4ef39012fa4.html
Attached Images
File Type: png 20091201105505143.png (125.7 KB, 10 views)
__________________
AKA Solomon/blowfish.
Reply With Quote
  #2  
Old 12-01-2009, 13:54
bilbo bilbo is offline
Friend
 
Join Date: Jul 2004
Posts: 103
Rept. Given: 36
Rept. Rcvd 15 Times in 12 Posts
Thanks Given: 15
Thanks Rcvd at 17 Times in 11 Posts
bilbo Reputation: 15
Strangely enough, I don't have your problem and I don't find anywhere the script quoted in BAIDU forum.

If I try to create the directory SYMSRV.YES it stays empty all the time. The symbols are downloaded even without the presence of that directory (the symbols file name is NTDLL.PD_ and not NTDLL.PDB). The symbols are not saved on the hard disk.

Best regards, bilbo
Reply With Quote
  #3  
Old 12-01-2009, 14:29
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 468
Rept. Given: 11
Rept. Rcvd 32 Times in 25 Posts
Thanks Given: 69
Thanks Rcvd at 247 Times in 94 Posts
WhoCares Reputation: 32
I download all symbol packages manually from MS official site(_http://www.microsoft.com/whdc/DevTools/Debugging/symbolpkg.mspx), not by IDA symbol retriever, so the file suffix is "pdb".

The script is the decompiled procedure of IDA end user license agreement dialog(with HexRays decompiler).

The "symsrv.yes" trick works for me.(XP SP3 and IDA v5.2). Actually the empty "symsrv.yes" file/directory is used by Microsoft "symsrv.dll" for the agreement of license agreement. You can also find this empty file in windbg directory.
__________________
AKA Solomon/blowfish.
Reply With Quote
Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IDA can't automatically recognize try/finally structures by Borland compilers WhoCares General Discussion 2 10-09-2004 20:52
Can someone recognize this code??? yaa General Discussion 6 10-06-2003 04:37


All times are GMT +8. The time now is 23:52.


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