aboutsummaryrefslogtreecommitdiff
path: root/pk/elf.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-30Use kassert in load_elf (#327)Zixian Cai1-3/+3
2024-04-17mprotect whole ELF segment, not just file portionAndrew Waterman1-3/+3
2024-04-17Don't mmap ELF segments with zero fileszAndrew Waterman1-2/+4
2024-04-17Add ELF header sanity checkAndrew Waterman1-0/+2
2023-05-01pk: fix __do_brk when new addr is not feasible (#295)xukl1-0/+1
2021-03-25pk: only access user memory through explicit accessorsAndrew Waterman1-1/+2
2019-10-01Only accept statically linked binaries (#176)Luís Marques1-0/+3
2019-03-24Fix build with newer newlibAndrew Waterman1-2/+2
2016-12-06avoid non-standard predefined macrosAndrew Waterman1-1/+1
2016-11-13Fix ld.so load address at 4 KiBAndrew Waterman1-6/+10
2016-11-02Acquire write permissions before zeroing page in ELF loaderAndrew Waterman1-1/+4
2016-09-21make sure pages for ELF sections have correct protection (#40)Howard Mao1-2/+16
2016-08-09Disallow execution of RVC binaries on non-RVC pkAndrew Waterman1-0/+4
2016-04-06Use panic, not die, to terminate elf loaderAndrew Waterman1-1/+2
2016-03-09Refactor pk, bbl, machine into separate librariesAndrew Waterman1-91/+46
2016-03-05Disentangle PK and BBL a bitAndrew Waterman1-4/+5
2016-02-19Remove incorrect code supporting ELF32 on RV64 and vice-versaAndrew Waterman1-2/+7
2015-04-19Fix loading of misaligned ELF segmentsAndrew Waterman1-1/+1
2015-03-12Update to new privileged specAndrew Waterman1-20/+53
2014-12-11Relocate binaries that conflict with the pk's address spaceAndrew Waterman1-3/+9
2014-02-04Abandon MIPS convention for indicating syscall errors in register a3Andrew Waterman1-5/+4
2013-11-25Update to new privileged ISAAndrew Waterman1-1/+0
2013-07-13Support Linux ABI and (optionally) virtual memoryAndrew Waterman1-38/+40
2013-03-25add BSD licenseAndrew Waterman1-0/+2
2013-03-25add clean-room elf.h to avoid GPL entanglementAndrew Waterman1-4/+4
2011-06-19temporary undoing of renamingAndrew Waterman1-0/+71
2011-06-19Renamed packagesAndrew Waterman1-71/+0
2011-05-20[pk] fixed elf loaderAndrew Waterman1-4/+11
2011-05-19[pk] made PK smallerAndrew Waterman1-7/+14
2011-04-12[sim,pk] fixed minor pk bugs and trap codesAndrew Waterman1-1/+1
2011-04-08[pk,fesvr] pk now loads elfs itselfAndrew Waterman1-0/+57