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
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user