• R/O
  • HTTP
  • SSH

pexports: Repository summary

Windows DLL exported symbols listing utility

Recent Commits RSS

Rev. Time Author Message
df99146 2015-09-08 21:45:52 Keith Marshall master Added tag v0_47 for changeset be3d231ad8ea
819d4fe 2015-09-08 21:44:40 Keith Marshall v0_47 Prepare, tag, and publish 0.47 release.
466c07d 2015-09-08 06:00:26 Keith Marshall Avoid uint32_t difference overflow in 64-bit pointer adju...
76ec49c 2015-09-08 05:19:27 Keith Marshall Eliminate Microsoft inspired obfuscated typedef insanity.
47e0c86 2013-05-31 05:15:48 Keith Marshall Prepare, tag, and publish 0.46 release.
6595f89 2013-05-31 05:15:16 Keith Marshall v0_46 Prepare, tag, and publish 0.46 release.
06429d0 2013-05-31 05:07:47 Keith Marshall Assemble licence and documentation tarballs for distribut...
4888aed 2009-09-15 14:06:00 Keith Marshall Unpublished release.
d2c3086 2013-05-30 07:16:30 Keith Marshall Force a remake, on package version updates.
a504d2b 2013-05-30 07:11:14 Keith Marshall Update program identification, via configuration process.

Recently edited Tags

Name Rev. Time Author
v0_47 819d4fe 2015-09-08 21:44:40 Keith Marshall
v0_46 6595f89 2013-05-31 05:15:16 Keith Marshall
v0_45 59648a7 2009-09-15 15:05:46 Charles Wilson
v0_44 0ec50ab 2009-09-15 14:38:43 Charles Wilson
mingw_utils_v0_3 907e82c 2009-09-15 12:32:56 Charles Wilson
start 907e82c 2009-09-15 12:32:56 Charles Wilson
v0_43 907e82c 2009-09-15 12:32:56 Charles Wilson


Name Rev. Time Author Message
master df99146 2015-09-08 21:45:52 Keith Marshall Added tag v0_47 for changes...



Anders Norlander <anorland@hem2.passagen.se>
URL: hem2.passagen.se/anorland/

Hacked by Paul.Sokolovsky@technologist.com
URL: http://www.is.lg.ua/~paul/devel/binutils.html

Hacked by Tor Lillqvist <tml@iki.fi>

Hacked by Keith Marshall <keithmarshall@users.sourceforge.net>


PEXPORTS is a program to extract exported symbols from a PE image
(executable). It can perform a simple check on the size of the
arguments of the exported functions, provided there is a header with
prototypes for the functions. This is useful when you want the
decorated function names for functions using the stdcall calling
convention. GCC is used to do the preprocessing so it must be in your

Note that the Windows version uses ';' as path separator,
while if built for Cygwin (or *nix) it uses ':'.

Command line options:
        -h <header> parse header
        -o print function ordinals
        -p <preprocessor> set preprocessor
        -v verbose mode

Header files are searched for in the following directories:
1. Current directory
2. Directories in C_INCLUDE_PATH
3. Directories in CPLUS_INCLUDE_PATH

NOTE: The header parser is *very* primitive, and might be of
questionable usefulness. It only tries to find function prototypes and
check the number of arguments a function expects. It is NOT a complete
C parser, there are probably many conditions when it will fail
(especially complex parameter types), although I it works fine for me.
Please do not report bugs, but feel free to send patches.

* Eliminate Microsoft style typedef obfuscation.
* Correct a further potential segmentation fault, resulting from
  overflow when computing 32-bit offset differences, which are then
  applied to 64-bit pointers.

* Corrects two potential segmentation fault bugs.
* Now supports building "out-of-source", to facilitate parallel builds
  for differing hosts; (verified for mingw32, 32-bit and 64-bit linux).
* Now uses the GNU (autoconf managed) build procedure; run configure
  before make, when building, ("in-source" or "out-of-source").

* Incorporate patches from 0.44-1-mingw32 release
* Reinstate binary distribution for mingw32 host only;
  (distributed source is host-agnostic).

* Handle also 64-bit executables. Make it work also if built as 64-bit
  code. Remove all gcc -Wall warnings. Make it compilable also with
  MSVC. Disable Wow64 file system redirection when running as a 32-bit
  process on 64-bit Windows. Distribute just sources.

* There were bug which led to wrong subcategorizing of symbols as
  code/data. I thought it was fixed in version on the site, but it turns
  out that almost year there was wrong version. I greatly apologize to
  everyone whom it cause problems and confusion.

* Data/non-data symbols are now distinguished.

* The header parser now accepts all kinds of parameters.

* Function pointer parameters are now handled
* Handling of function attributes improved
* It is no longer always necessary to include windows.h for headers
  that required it but did not include it themselves.

* Completely rewritten parser (the previous one was *very* bad).
  It is now possible to generate .DEF files for windows system
  dlls (kernel32,user32,gdi32,shell32 etc)
* Enhanced symbol handling (symbols are sorted in a tree).

* Fixed bug with unnamed parameters that are pointers.
* Extra whitespace is no longer printed
* Binary versions available for mingw32 and cygwin32

* Initial release.
Pexports, Copyright (C) 1998 Anders Norlander
This program has ABSOLUTELY NO WARRANTY; This is free software, and you are
welcome to redistribute it under certain conditions; see COPYING
for details.
Show on old repository browser