Skip to content
Snippets Groups Projects
Commit 50cb77dc authored by an7s's avatar an7s
Browse files

Add demo floating canary script

Former-commit-id: 53356b80cb0e84a0dd3dadda9126f6c26cfce761
parent ea8c9258
No related branches found
No related tags found
No related merge requests found
......@@ -954,6 +954,7 @@ tools/cfar_configs/cfar_structNoc_structP1Canaries_probHeaprand_zipr.sh -text
tools/cfar_configs/cfar_structNoc_structP1Canaries_structNos_structNol_structNoh_zipr.sh -text
tools/cfar_configs/cfar_structNoc_structP1Canaries_structNos_structNol_zipr.sh -text
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_structNogOF_phase1_zipr.sh -text
tools/cfar_configs/cfar_structNogOF_structSS_phase1_zipr.sh -text
......
#!/bin/bash
if [ ! -z $NO_FLOAT ];
then
$PEASOUP_HOME/tools/cfar.sh "$@" --backend zipr --step-option zipr:"--zipr:seed $$" --structured_noc --structured_nos --step-option zipr:"--large_only:on true" --step non_overlapping_stack=on --config_name $(basename $0 .sh|sed "s/cfar_//") --step set_interpreter=on --step-option set_interpreter:"--interp /target_apps/ld-nol.so" --step nol=on --structured_p1_canaries --step p1transform=on --step noh=on
else
$PEASOUP_HOME/tools/cfar.sh "$@" --backend zipr --step-option zipr:"--zipr:seed $$" --structured_noc --structured_nos --step-option zipr:"--large_only:on true" --step non_overlapping_stack=on --config_name $(basename $0 .sh|sed "s/cfar_//") --step set_interpreter=on --step-option set_interpreter:"--interp /target_apps/ld-nol.so" --step nol=on --structured_p1_canaries --step p1transform=on --step noh=on --step-option p1transform:"--floating_canary"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment