共用方式為


EDITBIN Options

You can use EDITBIN to modify object files, executable files, and dynamic-link libraries (DLLs). Options specify the changes that EDITBIN makes.

An option consists of an option specifier, which is either a dash ( – ) or a forward slash ( / ), followed by the name of the option. Option names cannot be abbreviated. Some options take arguments that are specified after a colon ( : ). No spaces or tabs are allowed within an option specification. Use one or more spaces or tabs to separate option specifications on the command line. Option names and their keyword arguments or file name arguments are not case-sensitive. For example, -bind and /BIND mean the same thing.

EDITBIN has the following options:

Option

Purpose

/ALLOWBIND

Specifies whether a DLL can be bound.

/ALLOWISOLATION

Specifies DLL or executable file manifest lookup behavior.

/APPCONTAINER

Specifies whether the app must run within an AppContainer—for example, a Windows Store app.

/BIND

Sets the addresses for the entry points in the specified objects to speed load time.

/DYNAMICBASE

Specifies whether the DLL or executable image can be randomly rebased at load-time by using address space layout randomization (ASLR).

/ERRORREPORT

Reports internal errors to Microsoft.

/HEAP

Sets the size of the executable image’s heap in bytes.

/HIGHENTROPYVA

Specifies whether the DLL or executable image supports high entropy (64-bit) address space layout randomization (ASLR).

/INTEGRITYCHECK

Specifies whether to check the digital signature at load time.

/LARGEADDRESSAWARE

Specifies whether the object supports addresses that are larger than two gigabytes.

/NOLOGO

Suppresses the EDITBIN startup banner.

/NXCOMPAT

Specifies whether the executable image is compatible with Windows Data Execution Prevention.

/REBASE

Sets the base addresses for the specified objects.

/RELEASE

Sets the checksum in the header.

/SECTION

Overrides the attributes of a section.

/STACK

Sets the size of the executable image’s stack in bytes.

/SUBSYSTEM

Specifies the execution environment.

/SWAPRUN

Specifies that the executable image must be copied to the swap file, and then run from there.

/TSAWARE

Specifies that the app is designed to run in a multi-user environment.

/VERSION

Sets the version number in the header.

See Also

Reference

C/C++ Build Tools

EDITBIN Reference