gendef1
Dll export extractor
Usage
gendef [options]
<DLL>
Overview
gendef dumps DLL export information from 32- and 64-bit Windows executables (respectively PE32 and PE32+ executables).
Options
--
Dump to stdout
-
-h, --help -
Briefly describe the syntax and options.
-
-a, --assume-stdcall -
Assume functions with ambiguous calling conventions use stdcall.
-
-I, --include-def-path <path> -
Add additional search paths in which to look for hint .def files.
-
-f, --no-forward-output -
Don't output forwarders.
Output
By default gendef writes the DLL export information to a file named after the DLL, replacing .dll with .def.
Known issues
For 32-bit DLLs, gendef cannot detect if a function with no return value (void) exported by a DLL uses stdcall or cdecl. Two workarounds are available: either use the "-a" option to force stdcall calling conventions, or generate .def files for any DLLs the DLL you're interested in depends upon. gendef will read other .def files found in the working directory to determine the calling convention in use.
64-bit DLLs are not affected, since they only use a single calling convention.
Releases
Unchanged in 7 releases since Debian 7 (Wheezy).