Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-graph-copy
Commits
3f641000
Commit
3f641000
authored
Sep 13, 2016
by
Arjan Oortgiese
Browse files
Use relative addresses from __ARRAY__ for PIC compiled binaries (e.g. Android)
parent
5acbe0f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/copy_graph_to_string.c
View file @
3f641000
...
...
@@ -21,7 +21,7 @@
# endif
#endif
#if defined (MACH_O64)
#if defined (MACH_O64)
|| defined (PIC)
// Use positions relative to _ARRAY_ for address space layout randomization systems.
# define USE_DESC_RELATIVE_TO_ARRAY 1
#endif
...
...
common/copy_string_to_graph.c
View file @
3f641000
...
...
@@ -21,7 +21,7 @@
# endif
#endif
#if defined (MACH_O64)
#if defined (MACH_O64)
|| defined (PIC)
// Use positions relative to _ARRAY_ for address space layout randomization systems.
# define USE_DESC_RELATIVE_TO_ARRAY 1
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment