Tools and configuration for copying and transforming object files.

Namespaces

Name

Description

coff

COFF‐specific object‐file copying and stripping operations.

dxbc

DXContainer‐specific object‐file copying and stripping operations.

elf

ELF‐format object copy and transform operations.

macho

Mach‐O‐specific object‐file copying and stripping operations.

wasm

Wasm‐specific object‐file copying and stripping operations.

xcoff

XCOFF‐specific object‐file copying and stripping operations.

Types

Name

Description

AddressUpdate

Absolute or relative adjustment applied to a section address.

COFFConfig

COFF‐specific configuration for copying or stripping a single file.

CommonConfig

Configuration for copying or stripping a single file.

ConfigManager

Holds common and per‐format configuration for a single objcopy operation.

DXContainerConfig

DXContainer‐specific configuration for copying or stripping a single file.

ELFConfig

ELF‐specific configuration for copying or stripping a single file.

MachOConfig

Mach‐O specific configuration for copying/stripping a single file.

MachineInfo

Machine architecture description used when selecting an ELF output target.

MultiFormatConfig

Interface providing common and per‐format configuration for an objcopy operation.

NameMatcher

Matcher that checks symbol or section names against command‐line patterns.

NameOrPattern

A single literal name, regex, or glob pattern used to match symbol/section names.

NewSectionInfo

Section name and body for a newly added or replaced section.

NewSymbolInfo

Symbol description supplied by the ‐‐add‐symbol option.

RemoveNoteInfo

Description of an ELF note to remove, as specified by ‐‐remove‐note.

SectionFlagsUpdate

Describes a request to replace the flags of a named section.

SectionPatternAddressUpdate

Address update applied to every section whose name matches a pattern.

SectionRename

Describes a section rename, optionally with replacement flags.

WasmConfig

Wasm‐specific configuration for copying or stripping a single file.

XCOFFConfig

XCOFF‐specific configuration for copying or stripping a single file.

Enums

Name

Description

AdjustKind

How an address or LMA adjustment should be applied to a value.

DiscardType

Local‐symbol discard policy selected by ‐‐discard‐all / ‐‐discard‐locals.

FileFormat

Object‐file format selected for input or output.

MatchStyle

Matching style used when interpreting user‐supplied name patterns.

SectionFlag

Section attribute flags set by ‐‐set‐section‐flags or ‐‐rename‐section.

SymbolFlag

Symbol attribute flags accepted by ‐‐add‐symbol.

Functions

Name

Description

executeObjcopyOnArchive

Applies the transformations described by Config to each member in archive Ar. Writes a result in a file specified by Config.OutputFilename.

executeObjcopyOnBinary

Applies the transformations described by Config to In and writes the result into Out.

getObjectFormatName

Returns the format name of B if it is an ObjectFile, or "" otherwise.

printCopyMessage

Prints information about the input and output files involved in a copy operation to stdout.

Created with MrDocs