debian man page for gendef

Query: gendef

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

gendef(1)						      General Commands Manual							 gendef(1)

NAME
gendef - DLL export extractor
SYNOPSIS
gendef [options] <DLL>
DESCRIPTION
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 inter- ested 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.
SEE ALSO
genidl(1)
AUTHORS
gendef was written by Kai Tietz and Jonathan Yong of the MinGW-w64 project. This manual page was written by Stephen Kitt <steve@sk2.org>, based on information provided with the program and in the project's wiki, for the Debian GNU/Linux system (but may be used by others). gendef Oct 6, 2011 gendef(1)
Related Man Pages
dlltool(1) - linux
site-lib(5) - centos
gendef(1) - debian
h8300-hitachi-coff-dlltool(1) - debian
site-lib(5) - debian
Similar Topics in the Unix Linux Community
Dll
How to create .SO file (DLL)
Experts !!! I Need HELP immediately..!
c calling conventions
Cygwin Errors: Yaml Configuration issues