History log of /seL4-test-master/projects/seL4_libs/libsel4utils/src/elf.c
Revision Date Author Comments
# 74769364 22-Jul-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

riscv: Add FENCE.I instruction in ELF loading code

Writes to executable memory may not become visible to execution until
after FENCE.I instruction. This prevents programs loaded by this
function crashing due to invalid program instructions.


# e9a9ff4f 18-Jul-2019 Yu Hou <Yu.Hou@data61.csiro.au>

Trivial: Style fix

make the style checker happy


# e23dc54b 19-May-2019 Yu Hou <Yu.Hou@data61.csiro.au>

seL4_libs: remove autoconf.h from seL4_libs

this commit removes autoconf.h generation from each lib and
append '#include <<lib_name>/gen_config.h>' after each
'#include <autoconf.h>' since autoconf.h is only the for the
kernel config now. This is a temporarily solution, since we
currently don't have a way to tell which header files each file
is trying to include when it includes 'autoconf.h'


# dbd4f65b 27-Feb-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

libsel4utils: check variable before dereferencing


# 6d9968d6 22-Jan-2019 James Ye <james.ye@data61.csiro.au>

libsel4utils: transition to new libelf API


# 3fd534bf 22-Apr-2018 Thibaut Perami <thibaut.perami@data61.csiro.au>

libsel4utils: Handle GrantReply right


# 6e844e14 12-Mar-2018 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

Minor build warning fixes


# b9927ab0 26-Feb-2018 Kent McLeod <Kent.Mcleod@data61.csiro.au>

SELFOUR-1221: Support elf segment frame sharing

It is possible for the linker to generate segments that both overlap the
same frame. The elf loader now handles this by being aware that the
vspace reservation for its segment may overlap with other adjacent
segments.

It still tracks an individual reservation for each segment. But the
first of last frame of its segment may have been stored in the adjacent
segment's reservation. The frame gets given to the reservation with the
more permissive access rights. If the rights are the same, then the
frame is given to the segment with the lower address. When loading or
manipulating these loadable sections, regions need to be passed around
with their entire array so that the functions can look into adjacent
regions to use their reservations if necessary.


# 6a356234 26-Feb-2018 Kent McLeod <Kent.Mcleod@data61.csiro.au>

sel4utils: remove duplicate entry_point code


# de4e9f1c 26-Feb-2018 Kent McLeod <Kent.Mcleod@data61.csiro.au>

sel4utils: split loadable region counting function

Want to reuse internally without having to pull the elf pointer out of
the cpio archive every time.


# f53b07c1 28-Sep-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libsel4utils: Explicitly cast integer to pointer type


# 9152ea98 25-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1083 Store name in test case and use C89, add elf_get_section

The test name is stored inside the testcase struct in order to make it
simpler to extract the test cases from sel4test-tests.

I changed the DEFINE_TEST_WITH_TYPE macro to use C89 instead of C99
style assignment because the domains.cxx (C++) tests would not compile
with C99-style assignment for strings.

I added sel4utils_elf_get_section() so that sel4test-driver can extract
the section containing test cases from sel4test-tests.


# 2ac35765 07-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libsel4utils: Provide wrappers for retrieving ELF program headers


# 9214341c 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses


# bc289580 11-Apr-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Remove #ifdef guards for the existance of different libraries

These libraries are now all part of this same repository, and so they will always exist.
Guarding for them adds unnecessary complexity


# e5e6146b 18-Jul-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

SELFOUR-567: use seL4_CapRights_t


# 1186e1a3 09-Jun-2016 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libsel4utils: Collapse some unnecessary forward declarations.


# a7e6e055 15-May-2016 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libsel4utils: Mark some strings as const.


# 67c869cf 29-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

all: s/LOG_*/ZF_LOG*


# a4f1d3ac 28-Oct-2015 Siwei Zhuang <siwei.zhuang@nicta.com.au>

libsel4utils: fix typos.