about summary refs log tree commit diff stats
path: root/src/elfs/elfloader.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [TRACE] Better trace, using maplile name if available, and better write on a ↵ptitSeb2025-04-201-1/+4
| | | | dynablock memory log
* [WOW64] Added non-functional PE build (#2532)Yang Liu2025-04-141-0/+27
|
* [WOW64] Splitted freq and cleanup functions from x64emu (#2521)Yang Liu2025-04-111-22/+23
|
* Decoupled alternate functions from bridge (#2500)Yang Liu2025-04-031-0/+1
|
* Moved more functions to os.h (#2497)Yang Liu2025-04-031-1/+2
| | | | | | | * Removed some unused function declarations * Moved more functions to os.h * review
* Introduced box64cpu.h for exported interpreter and dynarec functions (#2490)Yang Liu2025-04-011-1/+2
|
* Some cosmetic changes to C header files (#2487)Yang Liu2025-04-011-1/+2
| | | | | * [DYNAREC] Move cosim functions to a new header * Moved isNativeCall to elfloader
* More improvmnet to map with fd trackingptitSeb2025-01-291-0/+9
|
* Added elf support to mmap trackingptitSeb2025-01-271-1/+2
|
* Fixed various issues introduced in the env infra refactor (#2281)Yang Liu2025-01-221-24/+0
| | | | | | | | | | | * Open trace file again after apply env files * dynrec_df=1 by default * more fixes * more fixes * more
* Added [BOX64] prefix for all the stdout logs (#2279)Yang Liu2025-01-211-7/+7
| | | | | | | * Added [BOX64] prefix for all the stdout logs * Remove some hardcoded prefix * review
* [ENV] Initial refactor of env variables infrastructure (#2274)Yang Liu2025-01-211-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ENV] Initial refactor of env variables infrastructure * Ported BOX64_DYNAREC_LOG * Ported more options * Ported BOX64_MALLOC_HACK * Ported BOX64_DYNAREC_TEST * Ported more options * Ported more options * Ported more options * Ported all options * Removed old rcfile parser * Fix * review * fix * fix * more fixes
* [BOX32] Improved elf memory managment for 32bits processptitSeb2025-01-111-11/+11
|
* [ELFLOADER] Fixed a typo in a hackptitSeb2024-12-031-1/+1
|
* [BOX32] Some improvment on steam handlingptitSeb2024-12-021-0/+8
|
* [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
|