summaryrefslogtreecommitdiff
path: root/tools/apriori/source.h
diff options
context:
space:
mode:
author Hristo Bojinov <hristo@google.com> 2010-08-02 10:26:17 -0700
committer Hristo Bojinov <hristo@google.com> 2010-08-02 14:25:01 -0700
commit96be7205dce97977909e93b73f48779fcce3bc65 (patch)
treeae0cf3b9f076c1ed41893e5ec81abcd46c6b85e3 /tools/apriori/source.h
parent778c2b690025a91b55b2e841921605c55baf652c (diff)
Working ASLR implementation.
ASLR for shared libraries is controlled by "-a" in ota_from_target_files. Binary files are self-contained (supported by apriori/soslim). Signed-off-by: Hristo Bojinov <hristo@google.com> Change-Id: I500e325bf4a70a8d69a2ab9b2938e83dadb4e65d
Diffstat (limited to 'tools/apriori/source.h')
-rw-r--r--tools/apriori/source.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/apriori/source.h b/tools/apriori/source.h
index a5d96bd2f6..5381a296a7 100644
--- a/tools/apriori/source.h
+++ b/tools/apriori/source.h
@@ -62,7 +62,8 @@ struct source_t {
Elf_Data *shstrtab_data;
int elf_fd;
int newelf_fd; /* fd of output file, -1 if output == NULL */
- struct stat elf_file_info;
+ int newelf_relo_fd; /* fd of relocaion output file */
+ struct stat elf_file_info;
GElf_Ehdr elf_hdr, oldelf_hdr;
size_t shstrndx;
int shnum; /* number of sections */