home *** CD-ROM | disk | FTP | other *** search
- This is the README for class-dump, a useful adjunct to otool and
- AppInspector. This command-line utility can display the classes,
- instance variables, methods, and protocols an executable or
- shared library presents to the Objective C runtime system. The
- output resembles the syntax used in header files. More detailed
- information can be found on the manual page.
-
-
- Notes for version 1.3.1:
-
- If you are running 3.2 (Lightning5S or Thunder5S):
-
- Copy NS3.2/class-dump to an appropriate place, such as
- /usr/local/bin, or ~/Unix/bin. This version is identical to
- version 3.1, except for a minor fix to correct a byte ordering
- problem. This is the first release to be compiled "fat" for
- both m68k and i486.
-
-
- Notes for version 1.3:
-
- This is primarily a bug fix release. The major change is that
- pointers to arrays are now decoded correctly (oops!). It also
- properly handles zero-sized bitfields and empty structs, and
- some changes necessitated by newer versions of gcc.
-
- There's some stronger sanity checking on protocols, and an
- (unfinished) attempt to deal with a NeXT-gcc bug that causes
- @encode(long long) to return nothing! (This is probably the
- reason why BugNeXT.app gives it indigestion.)
-
- The only really "new" feature is that if you tell class-dump to
- examine foo.app it will interpret that as foo.app/foo (since app
- wrappers are now the rule rather than the exception--it's a
- useful shortcut).
-
-
- If you are running the 2.x Release:
-
- Copy NS2.1/class-dump to an appropriate place, such as
- /usr/local/bin, or ~/Unix/bin. While this version will run on
- a 3.x system, it will only handle 2.x files.
-
-
- If you are running the 3.0 or 3.1 (Lightning4H) Release:
-
- Copy NS3.0/class-dump to an appropriate place, such as
- /usr/local/bin, or ~/Unix/bin. This version is a superset of
- the NS2.1 executable. It understands 3.x's protocols, expanded
- method types, and strong typing. (It will also read 2.x
- executables, so there is no need to keep the NS2.1 version
- around if you can run this.)
-
-
- If you are running NS/FIP:
-
- Sorry, this release of class-dump only supports the m68k
- architecture.
-
-
- What to do with the manual page:
-
- You can copy man/class-dump.l to /usr/man/manl and the right
- thing should happen. You can also use
-
- nroff -man man/class-dump.l
- to produce the ASCII version
-
- ptroff -t -man man/class-dump.l >man/class-dump.ps
- to product the PostScript version
- (suitable for Preview)
-
-
- Licensing:
-
- class-dump is a copyrighted work, distributed free of charge
- for personal, educational, and noncommercial use. It may not
- be sold for profit, nor incorporated in products sold for
- profit without the express permission of the author. However,
- recognized NeXT User Groups may include it on diskettes, tapes,
- CD-ROMs, or other media priced above time-and-materials costs
- for fundraising purposes. This software may be placed on
- Internet archive sites or other public software archives
- provided that no "download" or other "enhanced services"
- charges are assessed for access.
-
- Only a nonexclusive license to use is granted; all other rights
- are retained by the copyright holder.
-
- Please do not redistribute modified versions of this package.
-
-
- Source code availablility:
-
- Source code is not currently available.
-
-
- Author's address:
-
- Eric P. Scott
- Department of Computer Science
- San Francisco State University
- 1600 Holloway Avenue
- San Francisco, CA 94132
- USA
-
- <eps@cs.sfsu.edu> (NeXT Mail discouraged)
-