OSDN Git Service

Avoid segmentation faults in forwarder function checks.
[mingw/pexports.git] / README
1 PEXPORTS 0.44 README
2 ============================================
3
4 Anders Norlander <anorland@hem2.passagen.se>
5 URL: hem2.passagen.se/anorland/
6
7 Hacked by Paul.Sokolovsky@technologist.com
8 URL: http://www.is.lg.ua/~paul/devel/binutils.html
9
10 Hacked by Tor Lillqvist <tml@iki.fi>
11
12 ============================================
13
14 PEXPORTS is a program to extract exported symbols from a PE image
15 (executable). It can perform a simple check on the size of the
16 arguments of the exported functions, provided there is a header with
17 prototypes for the functions. This is useful when you want the
18 decorated function names for functions using the stdcall calling
19 convention. GCC is used to do the preprocessing so it must be in your
20 path.
21
22 Note that the Windows version uses ';' as path separator,
23 while if built for Cygwin it uses ':'.
24
25 Command line options:
26 =====================
27         -h <header> parse header
28         -o print function ordinals
29         -p <preprocessor> set preprocessor
30         -v verbose mode
31
32 Header files are searched for in the following directories:
33 1. Current directory
34 2. Directories in C_INCLUDE_PATH
35 3. Directories in CPLUS_INCLUDE_PATH
36
37 NOTE: The header parser is *very* primitive, and might be of
38 questionable usefulness. It only tries to find function prototypes and
39 check the number of arguments a function expects. It is NOT a complete
40 C parser, there are probably many conditions when it will fail
41 (especially complex parameter types), although I it works fine for me.
42 Please do not report bugs, but feel free to send patches.
43
44 RELEASE 0.45
45 =================
46 * Incorporate patches from 0.44-1-mingw32 release
47
48 RELEASE 0.44
49 =================
50 * Handle also 64-bit executables. Make it work also if built as 64-bit
51   code. Remove all gcc -Wall warnings. Make it compilable also with
52   MSVC. Disable Wow64 file system redirection when running as a 32-bit
53   process on 64-bit Windows. Distribute just sources.
54
55 RELEASE 0.43
56 =================
57 * There were bug which led to wrong subcategorizing of symbols as
58   code/data. I thought it was fixed in version on the site, but it turns
59   out that almost year there was wrong version. I greatly apologize to
60   everyone whom it cause problems and confusion.
61
62 RELEASE 0.42
63 =================
64 * Data/non-data symbols are now distinguished.
65
66 RELEASE 0.41
67 =================
68 * The header parser now accepts all kinds of parameters.
69
70 RELEASE 0.4
71 =================
72 * Function pointer parameters are now handled
73 * Handling of function attributes improved
74 * It is no longer always necessary to include windows.h for headers
75   that required it but did not include it themselves.
76
77 RELEASE 0.3
78 =================
79 * Completely rewritten parser (the previous one was *very* bad).
80   It is now possible to generate .DEF files for windows system
81   dlls (kernel32,user32,gdi32,shell32 etc)
82 * Enhanced symbol handling (symbols are sorted in a tree).
83
84 RELEASE 0.2
85 =================
86 * Fixed bug with unnamed parameters that are pointers.
87 * Extra whitespace is no longer printed
88 * Binary versions available for mingw32 and cygwin32
89
90 RELEASE 0.1
91 =================
92 * Initial release.
93 Pexports, Copyright (C) 1998 Anders Norlander
94 This program has ABSOLUTELY NO WARRANTY; This is free software, and you are
95 welcome to redistribute it under certain conditions; see COPYING
96 for details.