Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
4b467689
Commit
4b467689
authored
10 years ago
by
nkennedy
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/transforms/Makefile
+1
-1
1 addition, 1 deletion
tools/transforms/Makefile
tools/transforms/PNStackLayout.cpp
+5
-0
5 additions, 0 deletions
tools/transforms/PNStackLayout.cpp
with
6 additions
and
1 deletion
tools/transforms/Makefile
+
1
−
1
View file @
4b467689
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
tools/transforms/PNStackLayout.cpp
+
5
−
0
View file @
4b467689
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment