• Michalis Pappas's avatar
    qemu: Add support for stack canary protection · f68d22e8
    Michalis Pappas authored
    
    
    Allow qemu users to enable stack protection. Since the virt platform
    does not provide an RNG, use a basic, timer-based, canary generation,
    similarly to FVP.
    
    Increase SRAM size and BL2 size to fit images when stack protection is
    enabled.
    
    Notice that stack protection is not enabled by default in qemu.
    
    Fixes ARM-software/tf-issues#568
    Signed-off-by: default avatarMichalis Pappas <mpappas@fastmail.fm>
    f68d22e8
qemu_stack_protector.c 640 Bytes