Skip to content
Snippets Groups Projects
set_env_vars 718 B
Newer Older
export ZAFL_TRACE_MAP_FIXED_ADDRESS=0x10000
export AFL_SKIP_BIN_CHECK=1
Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
export ZAFL_HOME=$PWD
if [ -z "$ZAFL_INSTALL" ]; then

	# manifest.txt doesn't exist in the installed development
	if [[ -f manifest.txt ]]; then
		# we're in dev mode
		export ZAFL_INSTALL=$PWD/install
	else
		# we're in release mode
		export ZAFL_INSTALL=$ZAFl-home
	fi
Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
fi
export PS_INSTALL=$ZAFL_INSTALL/zipr_umbrella
Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed

cd $ZAFL_HOME/zipr_umbrella
source ./set_env_vars

Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
unset DAFFY_HOME
export DAFFY_HOME

Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ZAFL_HOME/zest_runtime/lib

Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
cd $ZAFL_HOME

export PATH=$PATH:$ZAFL_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SECURITY_TRANSFORMS_HOME/lib

Jason Hiser's avatar
Jason Hiser committed

Jason Hiser's avatar
Jason Hiser committed