angr.analyses.decompiler.optimization_passes.win_stack_canary_simplifier

class angr.analyses.decompiler.optimization_passes.win_stack_canary_simplifier.WinStackCanarySimplifier

Bases: OptimizationPass

Removes stack canary checks from decompilation results for Windows PE files.

we need to run this pass before performing any full-function simplification. Otherwise the effects of _security_cookie will be propagated.

ARCHES = ['X86', 'AMD64']
PLATFORMS = ['windows']
STAGE: OptimizationPassStage = 2
NAME = 'Simplify stack canaries in Windows PE files'
DESCRIPTION = 'Removes stack canary checks from decompilation results for Windows PE files.\n\n    we need to run this pass before performing any full-function simplification. Otherwise the effects of\n    _security_cookie will be propagated.'
__init__(*args, **kwargs)