FWDSTAMP

Command line tool that provides the ability to add entry points known as forwarders to a dynamic link library (.DLL).

Usage: FWDSTAMP [options] infile deffile outfile

FWDSTAMP adds entry points, called forwarders, to a dynamic link library file (.DLL). Forwarders point to API functions or other exported code or data. They contain an import reference so that the final target address of the forwarded entry is contained in a different module. A forwarder might be called an imported export.

When a file has a fix-up to a forwarded entry point, the loader resolves that fix-up to the address of the entry point that the forwarder imports, by traversing the chain of forwarders until the end of the chain (a nonforwarded export) is reached. All forwarders are implicitly exported.

The imported entry point that a forwarder refers to may itself be another forwarder. The loader will process a chain of forwarders until a nonforwarder entry point is encountered.

There is no run-time cost to forwarders; however, there is a slight load-time cost as the loader resolves forwarder chains with their final addresses.

Parameters
[options] Specifies one of the following:


 * /? Displays FWDSTAMP help panel.


 * /V Increases the level of information FWDSTAMP should output.


 * infile Specifies the name of the dynamic link library file that LINK386 created. Use the file-name extension of DLL.


 * deffile Specifies the name of the module definition file (.DEF) that contains the forwarders.


 * outfile Specifies the name of the .DLL file that will contain the added forwarders.

Download
IBM Toolkit

Author

 * IBM