Crate codedefender_config

Crate codedefender_config 

Source
Expand description

codedefender-config provides the Rust data structures used for serializing and deserializing CodeDefender YAML configuration files and analysis results. These structures are used by both the CodeDefender CLI and its backend services.

This crate is intended to be consumed by tools that integrate with or generate CodeDefender config files.

Structs§

AnalysisFunction
Information about a single function found during analysis.
AnalysisMacroProfile
Grouping of functions under a named macro profile.
AnalysisReject
Reason why a function was rejected from analysis.
AnalysisResult
Results from binary analysis, returned to the frontend.
AssemblerSettings
Assembler-level codegen settings.
BitWidths
Bit widths to apply transformations to.
CDCompilerSettings
Compiler configuration (IR + codegen) for a profile.
CDConfig
Top-level config file structure.
CDModuleSettings
Global obfuscation settings for the module.
CDProfile
Profile definition used to apply passes to symbols.
CustomSectionName
Custom .text section name override.
FakePdbString
Fake PDB string settings to confuse debuggers.
IDADecompilerCrasher
Pass that crashes IDA’s decompiler.
LifterSettings
Configuration settings for lifting x86 instructions into IR.
LoopEncodeSemantics
Configuration for the Loop Encode Semantics pass.
MixedBooleanArithmetic
Configuration for Mixed Boolean Arithmetic pass.
MutationEngine
Configuration for Mutation Engine pass.
ObscureConstants
Constant obfuscation pass.
ObscureControlFlow
Control-flow obfuscation pass.
ObscureReferences
Memory reference obfuscation pass.
OptimizationSettings
IR optimization settings.
Semantics
Instruction-level semantics used in transformations.
TetherExtraction
Tether extraction pass.
YamlConfig
Root YAML config structure.
YamlProfile
Obfuscation profile for YAML configuration.

Enums§

MutationEngineExtension
Available SIMD extension types used by mutation engines.
ObfuscationPass
All possible obfuscation passes.
PeEnvironment
Supported PE environments.
YamlSymbol
Symbol representation used in YAML: either name or RVA.

Constants§

YAML_CONFIG_VERSION
Current supported YAML config version.