#
897e086f |
|
11-Feb-2019 |
James Ye <james.ye@data61.csiro.au> |
libelf: add elf_check_magic function
|
#
11de8a2f |
|
29-Jan-2019 |
James Ye <james.ye@data61.csiro.au> |
libelf: const-qualify strings Strings returned by this library should be considered read-only. If string tables are to be modified, elf_getSection should be used.
|
#
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.
|
#
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.
|
#
fefd9217 |
|
28-Jan-2019 |
James Ye <james.ye@data61.csiro.au> |
libelf: make elfxx.h internal
|
#
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
|
#
0602472b |
|
23-Jan-2019 |
James Ye <james.ye@data61.csiro.au> |
libelf: remove debug functions These functions have not been maintained and are out of date.
|
#
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.
|
#
033ab78e |
|
04-Aug-2017 |
Adrian Danis <Adrian.Danis@data61.csiro.au> |
libelf: Retrieve ELF constants from underlying C library Use the System V defined ELF extension header to retrieve the ELF format constants. Other parts of this library could also be changed to use definitions from the standard ELF header, but these are the ones that generate name collisions when using both this library and the ELF header concurrently.
|
#
398af6af |
|
13-Jul-2017 |
Anna Lyons <Anna.Lyons@data61.csiro.au> |
Fix whitespace - remove trailing whitespace - remove duplicate blank lines - remove blank lines at end of file
|
#
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.
|