MdePkg: Introduced BaseStackCheckLib (cont.)
Liming proposed different changes compare to the latest patch. This commit ensures the changes goes in his direction. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <afish@apple.com> Signed-off-by: Olivier Martin <olivier.martin@arm.com Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15866 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
0923aa1c3a
commit
66c6d4d67e
@ -23,7 +23,7 @@
|
||||
#include <Library/PcdLib.h>
|
||||
|
||||
/// "canary" value that is inserted by the compiler into the stack frame.
|
||||
VOID *__stack_chk_guard = (VOID*)FixedPcdGet64 (PcdBaseStackCanary);
|
||||
VOID *__stack_chk_guard = (VOID*)0x0AFF;
|
||||
|
||||
// If ASLR was enabled we could use
|
||||
//void (*__stack_chk_guard)(void) = __stack_chk_fail;
|
||||
|
Reference in New Issue
Block a user