Skip to content
Snippets Groups Projects
Commit 4b467689 authored by nkennedy's avatar nkennedy
Browse files

Make room for twitcher guard if enabled ok hiser@ ip:peasoup

Former-commit-id: 96da97f420d7940ceaa4c7d7c6fa9c27edb79b35
parent 3d8ec906
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
PROGS=p1transform.exe nulltransform.exe integertransformdriver.exe
CC=g++
CFLAGS= -g -Wall
CFLAGS= -g -Wall $(TWITCHER_FLAGS)
INCLUDE=-I. -I../../include -I../../xform -I../../beaengine/include -I../../libIRDB/include/ -I../../libMEDSannotation/include/ -I../../libtransform/include/
LIBS=-L../../lib -lxform -lIRDB-core -lIRDB-cfg -lBeaEngine_s_d -lpqxx -lMEDSannotation -ltransform
......
......@@ -234,6 +234,11 @@ void PNStackLayout::AddCanaryPadding()
unsigned int size = 8;
// Twitcher adds another guard
#ifdef TWITCHER_GUARD
size += 8;
#endif
sort(mem_objects.begin(),mem_objects.end(),CompareRangeDisplacedOffset);
//counts the additional padding added, does not take into consideration previous padding
unsigned int total_padding =0;
......
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