GDB: without symbol name?
GDB: without symbol name?
- Subject: GDB: without symbol name?
- From: "Yung-Luen Lan" <email@hidden>
- Date: Mon, 6 Mar 2006 03:09:18 +0800
Hi all:
I want to build my own dictionary files which can be read by
Dictionary.app. Because there's no documented API, I tried to reverse
engineering on it. (Yes, I know Dictionary Manager is carbon API, but
there is Cocoa wrapper in Dictionary.app)
Because F-script anywhere and class-dump is our friend, I know there's
some class called: "DSDictionaryObj", "DCMDictionaryObj", etc.
Then, I ran gdb on Dictionary.app. Ooops, I cannot find those class:
info classes DSDictionaryObj
No classes matching "DSDictionaryObj"
info classes DCMDictionaryObj
No classes matching "DCMDictionaryObj"
Why these symbols all disappeared? They must be somewhere static so
class-dump can extract the information without dealing with runtime.
Instead hooking the wrapper class, I decide to make a break at the
carbon API: DCMFindRecords().
Here's the backtrace:
#0 0x9188b2b0 in DCMFindRecords ()
#1 0x0000ac24 in ?? ()
#2 0x0000a84c in ?? ()
#3 0x0000a35c in ?? ()
#4 0x928e73b4 in forkThreadForFunction ()
#5 0x9002b1e0 in _pthread_body ()
What does the "??" means? How does it possible to stripe out the
symbols and I still can lookup them by F-script anywhere?
Thanks.
yllan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden