Export (0) Print
Expand All
Expand Minimize

/FUNCTIONPADMIN (Create Hotpatchable Image)

Prepares an image for hotpatching. For more information on hotpatching, see http://www.microsoft.com/technet/security/topics/patch/patchmanagement.mspx.


/FUNCTIONPADMIN[:space]

where,

space (optional)

The amount of padding to add to the beginning of each function, 5, 6, or 16. x86 images require five bytes of padding, x64 images require 6 bytes, and images built for the Itanium Processor Family require 16 bytes of padding at the beginning of each function.

By default, the compiler will add the correct amount of space to the image, based on the machine type of the image.

In order for the linker to produce a hotpatchable image, the .obj files must have been compiled with /hotpatch (Create Hotpatchable Image).

When you compile and link an image with a single invocation of cl.exe, /hotpatch implies /functionpadmin.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.

  2. Click the Linker folder.

  3. Click the Command Line property page.

  4. Type the option into the Additional Options box.

To set this linker option programmatically

Community Additions

ADD
Show:
© 2014 Microsoft