From 8e3fd4233ae2118333af2da58436d48f3b0cecc4 Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Fri, 1 Dec 2023 12:35:17 +0100 Subject: [PATCH] Add STACK_CANARY for Ethereum and clones not using standard path --- makefile_conf/chain/ethereum.mk | 3 ++- makefile_conf/chain/goerli.mk | 3 ++- makefile_conf/chain/ropsten.mk | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/makefile_conf/chain/ethereum.mk b/makefile_conf/chain/ethereum.mk index 6d52a8b..16e4b8c 100644 --- a/makefile_conf/chain/ethereum.mk +++ b/makefile_conf/chain/ethereum.mk @@ -11,4 +11,5 @@ APP_LOAD_PARAMS += --path "12381/3600" --curve bls12381g1 DEFINES += HAVE_ETH2 APPNAME = "Ethereum" DEFINES_LIB= -APP_LOAD_FLAGS=--appFlags 0xa40 \ No newline at end of file +DEFINES += HAVE_BOLOS_APP_STACK_CANARY +APP_LOAD_FLAGS=--appFlags 0xa40 diff --git a/makefile_conf/chain/goerli.mk b/makefile_conf/chain/goerli.mk index 1de9039..1f8e37d 100644 --- a/makefile_conf/chain/goerli.mk +++ b/makefile_conf/chain/goerli.mk @@ -12,4 +12,5 @@ APP_LOAD_PARAMS += --path "12381/3600" --curve bls12381g1 DEFINES += HAVE_ETH2 APPNAME = "Eth Goerli" DEFINES_LIB= -APP_LOAD_FLAGS=--appFlags 0xa40 \ No newline at end of file +DEFINES += HAVE_BOLOS_APP_STACK_CANARY +APP_LOAD_FLAGS=--appFlags 0xa40 diff --git a/makefile_conf/chain/ropsten.mk b/makefile_conf/chain/ropsten.mk index d3415ad..793a314 100644 --- a/makefile_conf/chain/ropsten.mk +++ b/makefile_conf/chain/ropsten.mk @@ -12,4 +12,5 @@ APP_LOAD_PARAMS += --path "12381/3600" --curve bls12381g1 DEFINES += HAVE_ETH2 APPNAME = "Eth Ropsten" DEFINES_LIB= -APP_LOAD_FLAGS=--appFlags 0xa40 \ No newline at end of file +DEFINES += HAVE_BOLOS_APP_STACK_CANARY +APP_LOAD_FLAGS=--appFlags 0xa40