about summary refs log tree commit diff stats
path: root/src/elfs/elfloader.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [BOX32] Fixed main Elf init not always calledptitSeb2024-09-301-3/+7
|
* [ANDROID][BOX32] Fix __libc_init, Fix Some Warnings (#1887)Pablo Labs2024-09-291-3/+5
| | | | | | | * [ANDROID][BOX32] Fix __libc_init, Fix Some Warnings * Fix More Warnings * Revert fillALProcWrapper() change
* [NON4K][ELFLOADER] more Elfloader work for non-4k pagesize OS ([BOX32] too)ptitSeb2024-09-231-2/+4
|
* [NON4K] Fixed some typos ([BOX32] too)ptitSeb2024-09-231-1/+1
|
* [NON4K] Try to fix elfloader when elf wants to load at an address ↵ptitSeb2024-09-231-0/+5
| | | | not-compatible with pagesize
* [ELFLOADER] Fixed PROTECTED symbol that were not loaded correctlyptitSeb2024-09-211-0/+4
|
* [BOX32] Partial handling of wrapped dl_iterate_phdrptitSeb2024-09-161-1/+7
|
* [BOX32] Better handling for FILE*ptitSeb2024-09-011-3/+3
|
* [TRACE] Improved trace on symbol nameptitSeb2024-08-291-0/+19
|
* Added preliminary Box32 support (#1760)ptitSeb2024-08-261-26/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve the ReserveHigMemory helper function * [BOX32] Added some wrapping infrastructure * [BOX32] More wrapped 32bits lib infrastructure * [BOX32] Added callback and tls 32bits handling * [BOX32] Added more 32bits, around wrappers and elfs * [BOX32] Added the 32bits version of myalign * [BOX32] More wrapped libs and 32bits fixes and imrpovments * [BOX32] Added some 32bits tests * [BOX32] Try to enable some Box32 build and test on the CI * [BOX32] Disable Box32 testing on CI platform that use qemu * [BOX32] Another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Small fix for another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Yet another fix for another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Fixed a typo in CI script * [BOX32] Better scratch alighnment and enabled more tests * [BOX32] Added (partial) wrapped 32bits librt * [BOX32] Added mention of Box32 in README * [BOX32] Added phtread handling, and numerous fixes to 32bits handling. [ARM64_DYNAREC] Fixed access to segment with negative offset * [BOX32] Added system libs and cpp testing, plus some more fixes * [BOX32] Fix previous commit * [BOX32] Better stack adjustment for 32bits processes * [BOX32] Added getenv wrapped 32bits function and friends * [BOX32] Don't look for box86 for a Box32 build * [BOX32] Don't do 32bits cppThreads test for now on CI * [BOX32] Enabled a few more 32bits tests * [BOX32] For ld_lib_path for both CppThreads tests * [BOX32] [ANDROID] Some Fixes for Android Build * [BOX32] Still need to disable cppThread_32bits test on CI for some reason * [BOX32] [ANDROID] Don't show PreInit Array Warning (#1751) * [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to … (#1752) * [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to push before * [BOX32] [ANDROID] Try to Create __libc_init * [BOX32] [ANDROID] Try to disable NEEDED_LIBS for now (libdl is not wrapped) * [BOX32] Updated generated files * [BOX32] Added 32bits context functions * [BOX32] Added 32bits signal handling * [BOX32] Added some missing 32bits elfloader functions * [BOX32] Fix build on x86_64 machine * [BOX32] Better fix for x86_64 build * [BOX32] Actually added missing libs, and re-enabled cppThreads_32bits test * [BOX32] Added wrapped 32bits libdl * [BOX32] Try to re-enabled Box32 test on CI for ARM64 builds * [BOX32] fine-tuning Box32 test on CI for ARM64 builds * [BOX32] More fine-tuning to Box32 test on CI for ARM64 builds * [BOX32] Enabled Box32 test on CI for LA64 and RV64 builds too * [BOX32] re-Disabled Box32 test on CI for LA64 and RV64 builds, not working for now * [BOX32] Temporarily disabled cppThreads_32bits test on CI --------- Co-authored-by: KreitinnSoftware <pablopro5051@gmail.com> Co-authored-by: KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>
* [BOX32] Added 32bits elf reloc type rel handlingptitSeb2024-08-171-30/+13
|
* [BOX32] Added 32bits elf alloc and loadptitSeb2024-08-171-1/+6
|
* [BOX32] Added 32bits elf header parser and dumperptitSeb2024-08-171-1/+1
|
* [BOX32] prepare elfheader_t structure for 32bits elfsptitSeb2024-08-171-159/+225
|
* [BOX32] Start differentiate 64bits from 32bits in elf parserptitSeb2024-08-161-14/+14
|
* Fixes (#1659)rajdakin2024-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replaced some tabs with spaces * Fixed some signedness warnings * Added more debug info * Fixed an improper alignment * [WRAPPEDWAYLAND] Added return statements to wrappers * [EMU] [AVX] Fixed some issues * [ARM DYNAREC] Fixed some minor warnings * [ARM DYNAREC] Removed unused macro arguments * [EMU] Fixed a noisy warning * [ARM DYNAREC] Removed "empty body" warnings * [EMU] Fixed an opcode in dynarec, non-cosim builds * [LA64 DYNAREC] Minor warning fixes * [LA64 DYNAREC] Fixed empty body warnings * [LA64 DYNAREC] Added parenthesis around assignments in if statements * [LA64 DYNAREC] Fixed missing parenthesis in macro definitions * [RV64 DYNAREC] Fixed minor warnings * [RV64 DYNAREC] Fixed wrong/missing parentheses * [WRAPPER] Fixed the WaylandClient callback signatures
* Handle `.relr.dyn` section (#1626)Yip Coekjan2024-07-021-0/+28
|
* Changed the workaround for MiniMetro/Steam, using rcfile now (for #1311)ptitSeb2024-05-091-2/+7
|
* [ELFLOADER] Added a fix for Uniengine Heaven linux crashing at load, but ↵ptitSeb2024-05-051-0/+7
| | | | might need something more generic at some point
* [ELFLOADER] Fixed some residual issue with elfloader (espacially on non-4K ↵ptitSeb2024-04-021-8/+12
| | | | pagesize) (should help #1398 #1271 maybe help #939 and probably others)
* Improve memory handling for wine, againptitSeb2024-03-271-1/+3
|
* [ELFLOADER] small change on free elf memoryptitSeb2024-03-101-2/+2
|
* Improved unload of libs (help wine when dlopen / dlclose is supposed to ↵ptitSeb2024-03-091-2/+2
| | | | unload the lib so it can be dlopen again)
* [ELFLOADER] Fixes some issue with symbol version matching and unload of ↵ptitSeb2024-03-041-12/+7
| | | | failled libs (for #1311, probably other too)
* Added ability to staticaly build box64 (for #1045 and #310, maybe a few ↵ptitSeb2024-02-261-2/+8
| | | | others tickets)
* Removed some debug leftover (at least change from LOG_INFO to LOG_DEBUG)ptitSeb2024-02-171-1/+1
|
* [ELFLOADER] Better handling of STB_GNU_UNIQUE binded symbol (prevent dlclose)ptitSeb2024-02-161-0/+15
|
* [ELFLOADER] Improved inter-library dependancie managmentptitSeb2024-02-161-10/+33
|
* [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more ↵ptitSeb2024-02-151-479/+227
| | | | cleaning need to be done, but that's a first step (should help #422, #360, #1046 and probably others)
* Added support for RTLD_DEEPBIND flag on dlopenptitSeb2024-02-111-26/+46
|
* Small fix for FindNearestSymbolNameptitSeb2024-02-111-1/+1
|
* [ELFLOADER] Do not memset the remaining of page when mmap'ing, it's already ↵ptitSeb2024-02-091-2/+2
| | | | done (and might not be possible depending on the protection)
* Reworked, again, exit processptitSeb2024-02-061-0/+2
|
* Made PageSize detection / Handling dynamic. nd fixed elfloading for pagesize ↵ptitSeb2024-01-311-51/+46
| | | | not 4K. The define are still there but might be removed shortly (for #1231, #1226, #1189, #1175, #999, #384 and probably a few other)
* [ELFLOADER] Zero'd memory when using mmap and filesize smaller than memsizeptitSeb2024-01-211-0/+2
|
* Fixes (#1207)rajdakin2024-01-181-3/+3
| | | | | | | | | | | * Fixed signed/unsigned issues and other cosmetics * [WRAPPERS] Fixed missing `return`s in `my_` functions * [EMU] More fixes * [STEAM] Forgot one cleanup * [WRAPPER] Fixed wrappedpulse callback signatures
* Round size to pagesize on the tracked memoryptitSeb2024-01-161-1/+1
|
* [ELFLOADER] Fixed some issue with COPY/GLOB_DATA symbol relocationsptitSeb2024-01-151-12/+8
|
* [ELFLOADER] More elf alignment sections adjustmentsptitSeb2024-01-081-11/+9
|
* [ELFLOADER] Another attempt at elf allignement fixesptitSeb2024-01-081-20/+29
|
* [ELFLOADER] Try to harden the memory allocationptitSeb2024-01-081-1/+11
|
* Fixed a warningptitSeb2023-12-061-1/+1
|
* [TRACE] Better trace for an issue inside a wrapperptitSeb2023-12-061-4/+6
|
* Improved bridge name storage/retreivalptitSeb2023-12-011-3/+1
|
* [ELFLOADER] Use a fallback if allocated memory not at expected address for ↵ptitSeb2023-11-291-2/+8
| | | | elf with vaddr
* [ELFLOADER] Some fixes to localy openned libs when symbols might collide ↵ptitSeb2023-11-281-7/+8
| | | | with main binary
* [ELFLOADER] Small improvment to have correct R/W attribute set on elf memoryptitSeb2023-11-151-3/+5
|
* [ELFLOADER] Small changes on elf memory managmentptitSeb2023-11-131-4/+4
|
* [ELFLOADER] Some more fixes to elf memory managerptitSeb2023-11-131-3/+4
|
* [ELFLOADER] Fixed align issue (may help #1057) (#1058)Yang Liu2023-11-121-2/+2
|