From 787466093303863a32498b06429d73aecb09e333 Mon Sep 17 00:00:00 2001
From: an7s <an7s@git.zephyr-software.com>
Date: Fri, 23 Feb 2018 20:16:38 +0000
Subject: [PATCH] Add xor_globals to duck season config

Former-commit-id: f87fe92f6b2b27074ab3cddc3301106369553227
---
 .gitattributes                                              | 1 +
 ..._structNogOFX_structSS_structDSX_structSI_phase1_zipr.sh | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100755 tools/cfar_configs/cfar_structNogOFX_structSS_structDSX_structSI_phase1_zipr.sh

diff --git a/.gitattributes b/.gitattributes
index f956b8eab..531e44347 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -987,6 +987,7 @@ tools/cfar_configs/cfar_structNoc_structP1Canaries_zipr.sh -text
 tools/cfar_configs/cfar_structNoc_structP1FloatingCanaries_structNos_structNol_structNoh_zipr.sh -text
 tools/cfar_configs/cfar_structNoc_zipr.sh -text
 tools/cfar_configs/cfar_structNogOFX_structSS_phase1_zipr.sh -text
+tools/cfar_configs/cfar_structNogOFX_structSS_structDSX_structSI_phase1_zipr.sh -text
 tools/cfar_configs/cfar_structNogOF_phase1_zipr.sh -text
 tools/cfar_configs/cfar_structNogOF_probHeaprand_zipr.sh -text
 tools/cfar_configs/cfar_structNogOF_structSS_phase1_zipr.sh -text
diff --git a/tools/cfar_configs/cfar_structNogOFX_structSS_structDSX_structSI_phase1_zipr.sh b/tools/cfar_configs/cfar_structNogOFX_structSS_structDSX_structSI_phase1_zipr.sh
new file mode 100755
index 000000000..dfb3e698d
--- /dev/null
+++ b/tools/cfar_configs/cfar_structNogOFX_structSS_structDSX_structSI_phase1_zipr.sh
@@ -0,0 +1,6 @@
+#!/bin/bash 
+source $(dirname $0)/../ps_wrapper.source $0
+
+
+$PEASOUP_HOME/tools/cfar.sh "$@" --backend zipr --step diehard=on --step-option zipr:"--zipr:seed $$" --structured_noc --structured_nos --step-option zipr:"--large_only:on true" --structured_p1_canaries  --step p1transform=on --step duck_season=on --step initialize_stack=on --structured_stack_init --structured_ds --step non_overlapping_stack=on --config_name $(basename $0 .sh|sed "s/cfar_//") --step move_globals=on --step xor_globals=on --step set_interpreter=on --step-option set_interpreter:"--interp /target_apps/ld-nol.so" --structured_nog --step-option zipr:"--large_only:nog_on true --large_only:overflow_protection true" --step noh=on --step nol=on --step stack_stamp=on --structured_stack_stamp --step-option move_globals:-d --step-option move_globals:.interp --step-option duck_season:--xor 
+
-- 
GitLab