Skip to main content

Module options

Module options 

Source

ModulesΒ§

cgopts πŸ”’
dbopts πŸ”’
desc πŸ”’
mitigation_coverage
parse
target_modifier_consistency_check πŸ”’

MacrosΒ§

hash_opt πŸ”’
hash_substruct πŸ”’
insert πŸ”’
options πŸ”’
Defines all CodegenOptions/DebuggingOptions fields and parsers all at once. The goal of this macro is to define an interface that can be programmatically used by the option parser to initialize the struct without hardcoding field names all over the place.
redirect_field πŸ”’
setter_for πŸ”’
top_level_options πŸ”’

StructsΒ§

CodegenOptions
CollectedOptions
ExtendedTargetModifierInfo
Extended target modifier info. For example, when external target modifier is β€˜-Zregparm=2’: Target modifier enum value + user value (β€˜2’) from external crate is converted into description: prefix (β€˜Z’), name (β€˜regparm’), tech value (β€˜Some(2)’).
OptionDesc
Options
The top-level command-line options struct.
TargetModifier
A recorded -Zopt_name=opt_value (or -Copt_name=opt_value) which alter the ABI or effectiveness of exploit mitigations.
UnstableOptions

EnumsΒ§

CodegenOptionsTargetModifiers
OptionsTargetModifiers
RemovedOption πŸ”’
Indicates whether a removed option should warn or error.
UnstableOptionsTargetModifiers

ConstantsΒ§

CG_OPTIONS
Z_OPTIONS

FunctionsΒ§

build_options πŸ”’
tmod_push_impl πŸ”’

Type AliasesΒ§

OptionDescrs πŸ”’
OptionSetter πŸ”’