History log of /seL4-refos-master/projects/util_libs/libelf/include/elf/elf64.h
Revision Date Author Comments
# 8301834b 10-Oct-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

trivial: Style libelf


# 049f5543 11-Feb-2019 James Ye <james.ye@data61.csiro.au>

libelf: remove duplicate and add missing functions

By normalising return types, most functions in `elfxx.c` can be merged and
moved into `elf.c`.

Also add missing prototypes and functions for accessing ELF fields.
- getSectionStringTableIndex
- getSectionNameOffset
- getSectionOffset
- getSectionLink
- getSectionInfo
- getSectionAddrAlign
- getSectionEntrySize


# 32981258 11-Feb-2019 James Ye <james.ye@data61.csiro.au>

libelf: normalise types

Use size_t and uintptr_t where appropriate.
Add enum elf_addr_type for physical/virtual memory.


# 1f3cd557 11-Feb-2019 James Ye <james.ye@data61.csiro.au>

libelf: delete struct definitions

These definitions are also provided by musllibc or newlib.


# be5d5f65 29-Jan-2019 James Ye <james.ye@data61.csiro.au>

libelf: introduce memory safety

The size of the buffer containing the ELF file needs to be known to
access it safely.

Change all public void * references to elf_t *, which requires a size
parameter.


# f47b6ea1 28-Jan-2019 James Ye <james.ye@data61.csiro.au>

libelf: re-order functions

Re-order functions based on purpose and ELF header location.


# 08dbc484 28-Jan-2019 James Ye <james.ye@data61.csiro.au>

libelf: delete unnecessary functions

This deletes:

elf_getProgramHeaderInfo: This is an awkward convenience function that
appears to be unused.

elfxx_getProgramSegmentTable,
elfxx_getSegmentType: Functions with different names but the same
functionality already exist.

elfxx_getSegmentInfo: Both of the above.


# 55d3fcb8 23-Jan-2019 James Ye <james.ye@data61.csiro.au>

libelf: normalise indents and whitespace


# 5761b927 28-Sep-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

pragma once and for all


# 8763b090 26-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1083 optionally return section ID in elf_getSectionNamed


# 07658868 04-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libelf: Implement helpers for retrieving alignment

The program headers have helpers for retrieving every value except the alignment,
this commit adds a helper for that.


# 03ede780 23-Aug-2016 Kent McLeod <kent.mcleod@nicta.com.au>

Remove trailing whitespace


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

libelf: Qualify some const char * parameters.