about summary refs log tree commit diff stats
path: root/src/librarian/librarian.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [ENV] Initial refactor of env variables infrastructure (#2274)Yang Liu2025-01-211-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* Fixed dlsym with RTLD_NEXT and preloaded libsptitSeb2025-01-151-0/+61
|
* [BOX32] Improved elf memory managment for 32bits processptitSeb2025-01-111-1/+1
|
* [TRACE] Fixed a potential segfault when trying to trace a function from a ↵ptitSeb2024-09-191-1/+1
| | | | dlopenn'd lib
* [BOX32] Small improvments on memory managementptitSeb2024-09-041-2/+2
|
* [TRACE] Improved trace on symbol nameptitSeb2024-08-291-1/+15
|
* Added preliminary Box32 support (#1760)ptitSeb2024-08-261-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] prepare elfheader_t structure for 32bits elfsptitSeb2024-08-171-2/+6
|
* Some work on gtk and co wrappingptitSeb2024-03-071-4/+4
|
* [ELFLOADER] Fixes some issue with symbol version matching and unload of ↵ptitSeb2024-03-041-1/+8
| | | | failled libs (for #1311, probably other too)
* Added ability to staticaly build box64 (for #1045 and #310, maybe a few ↵ptitSeb2024-02-261-0/+6
| | | | others tickets)
* This should improve stability when unloading libsptitSeb2024-02-241-2/+2
|
* [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more ↵ptitSeb2024-02-151-226/+143
| | | | 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/+26
|
* Reworked exit, unloading libs and running Fini as it should (plus a ↵ptitSeb2024-01-191-3/+2
| | | | workaround for nvidia driver not unloading)
* Removed a bridge field from librarian, it's not used anymoreptitSeb2023-12-211-4/+0
|
* [ELFLOADER] Some fixes to localy openned libs when symbols might collide ↵ptitSeb2023-11-281-28/+30
| | | | with main binary
* [ELFLOADER] Better handling of dlopen library without RTLD_GLOBAL flagsptitSeb2023-08-271-28/+78
|
* [ELFLOADER] Adjusted fetching of symbol (help Steam Unity3d linux games, ↵ptitSeb2023-08-191-5/+89
| | | | like Canabalt)
* [TRACE] Fixed crash when tracing a function that is not defined in main at ↵ptitSeb2023-07-221-0/+5
| | | | beggining
* Merge pull request #896 from josch/exeptitSeb2023-07-211-0/+0
|\ | | | | remove executable bits
| * remove executable bitsJohannes Schauer Marin Rodrigues2023-07-211-0/+0
| | | | | | | | Closes: #895
* | [ELFLOADER] Reworked R_X86_64_COPY and R_X86_64_GLOB_DAT handling, improving ↵ptitSeb2023-07-151-0/+4
| | | | | | | | c++ program compatibility
* | [ELFLOADER] Added a check if lib version is compatible with what the elf ↵ptitSeb2023-07-091-8/+8
| | | | | | | | loading it wants (helps Linux games on Steam)
* | Fix for local library open using dlopen that are then promoted to global ↵ptitSeb2023-04-281-7/+22
|/ | | | with another dlopen (help java 17, probably other too)
* Improved/fixed (agaaaaain) Load/Unload of library (might help #740 &nd #742)ptitSeb2023-04-251-12/+11
|
* Fixed and improved __cxa_atexit handlingptitSeb2023-04-221-2/+2
|
* [ELFLOADER] Improved handling of Failed-to-load library (and unloading of ↵ptitSeb2023-04-101-29/+51
| | | | libs too)
* [ELFLOADER] Improved handling of default versionsptitSeb2023-04-101-36/+56
|
* Fixed some isse with last lib init/fini refactor (fixed ut2004, maybe ↵ptitSeb2023-01-281-2/+2
| | | | pokewilds too)
* Refactored (again) lib init/fini mecanismptitSeb2023-01-011-83/+56
|
* Try to improve some TLS RelocationptitSeb2022-12-291-1/+1
|
* Also use size when selecting symbol for R_X86_64_COPY and R_X86_64_GLOB_DAT ↵ptitSeb2022-11-131-15/+20
| | | | relocations
* Better fix, again, for dlsym(RTLD_NEXT, ...)ptitSeb2022-10-291-2/+2
|
* Better fix for dlsym(RTLD_NEXT, ...)ptitSeb2022-10-291-8/+11
|
* Fix for dlsym(RTLD_NEXT, ...)ptitSeb2022-10-291-0/+2
|
* Forgot a bunch of other box_ malloc/realloc/calloc/free useptitSeb2022-10-231-8/+8
|
* Refactored, again, elfloader symbol fetching (ported from box86)ptitSeb2022-10-221-129/+131
|
* Small refactor and simplification of library_t structure and box64context_tptitSeb2022-10-191-3/+3
|
* Fixed an issue with dlsym(RTLD_NEXT, ...) not always finding the symbolsptitSeb2022-09-101-1/+1
|
* All box internal memory alloc use __libc_ internal one (except on Android, ↵ptitSeb2022-08-061-11/+11
| | | | using libc one gather from dlsym)
* Changed various log level for libdl file open errorptitSeb2022-07-091-1/+1
|
* Fixed an issue with GetNoSelfSymbolStartEnd function that would find in ↵ptitSeb2022-06-051-10/+11
| | | | self first
* Do not use alloca here, it's not temporary storageptitSeb2022-04-181-2/+1
|
* Fix some special case on mmap64 wrappingptitSeb2022-03-071-0/+1
|
* Fixed dlinfo (helps wine)ptitSeb2022-03-061-1/+1
|
* Fixed a rare case of segfaultptitSeb2022-03-061-0/+2
|
* Various changes and improvement centered around steam (but still not good ↵ptitSeb2022-03-041-3/+35
| | | | enough)
* Small cleanup on unloading lib messagesptitSeb2022-01-091-2/+2
|
* Added wrapped gtk2 (enough to launch Dwarf Fortress and some simple gtk2 ↵ptitSeb2021-09-181-14/+14
| | | | samples)