about summary refs log tree commit diff stats
path: root/src/box64context.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WOW64] More tweaks towards PE build (#2519)Yang Liu2025-04-101-33/+0
|
* Decoupled alternate functions from bridge (#2500)Yang Liu2025-04-031-0/+1
|
* Moved more OS-dependent functions to os.h (#2491)Yang Liu2025-04-011-0/+1
|
* Introduced box64cpu.h for exported interpreter and dynarec functions (#2490)Yang Liu2025-04-011-1/+1
|
* [ENV] Fixed a crash when BOX64_ROLLING_LOG is used on command lineptitSeb2025-03-111-1/+1
|
* [ENV] Initial refactor of env variables infrastructure (#2274)Yang Liu2025-01-211-8/+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
* Spelling/typo fixes in code and documentation updates (#2223)olegos22024-12-281-1/+1
| | | | | | | | | | | * Fix typo DLOpenned->DLOpened * Fix a typo in comments: versionned->versioned * Fix a typo in comment: cleanning->cleaning * Update COMPILE.md and USAGE.md * A few more typos in comments
* [BOX32] Small change on how tls memory is allocatedptitSeb2024-12-171-2/+2
|
* [RBTREE] Unify naming and prevent unintended symbol exposure (#2005)Jim Huang2024-11-061-2/+2
| | | | | Red-black tree operations now consistently use the 'rbtree_' prefix, and internal functions remain unexposed. Tested on RV64GC, resulting in a 498-byte reduction in the .text section size.
* Improve debugging trace of rb_treeptitSeb2024-10-081-1/+1
|
* [BOX32][WRAPPER] Added 32bits wrapped openalptitSeb2024-09-231-0/+2
|
* Improved wrapped function clone handling of CLONE_NEWUSER flagptitSeb2024-09-091-1/+1
|
* [CI] Refactored CI (#1795)Yang Liu2024-09-051-4/+0
| | | | | | | | | | | | | | | | | * [CI] Enable Box32 tests on LA64 * upgrade QEMU * [COSIM] Removed thread-safe tests * Use regular cosim in CI * [CI] Simplified "Test Box64" * exclude certain tests when testing with cosim * review * box64.pod too
* Added preliminary Box32 support (#1760)ptitSeb2024-08-261-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [COSIM] Added thread-safe tests (#1477)Yang Liu2024-04-301-0/+5
| | | | | | | | | | | | | * [COSIM] Added thread-safe tests * Added more notest * Run cosim in CI * Disable tests for RISC-V for now * Simplify * Initialize notest
* Added ability to staticaly build box64 (for #1045 and #310, maybe a few ↵ptitSeb2024-02-261-0/+4
| | | | others tickets)
* [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more ↵ptitSeb2024-02-151-2/+4
| | | | cleaning need to be done, but that's a first step (should help #422, #360, #1046 and probably others)
* [DYNAREC] use an rbtree for dynablock size and max_db_size updateptitSeb2024-01-231-0/+10
|
* Some more rollback on tls destructor (more work needed on threads cleanup ↵ptitSeb2023-10-171-1/+1
| | | | handling)
* Various changes on pthread cancel and tls destructor, should be easier to ↵ptitSeb2023-10-131-2/+4
| | | | maintain
* 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
* | Added ability to trace and dump 32bits codeptitSeb2023-06-171-0/+2
| |
* | Added support for creating 32bits selector (no 32bits execution yet)ptitSeb2023-06-171-0/+16
| |
* | Optimized Exit bridge managmentptitSeb2023-05-101-0/+3
| |
* | [DYNAREC] Disabled custom mutex for nowptitSeb2023-05-071-1/+13
|/
* Another fix for dlopen/dlclose sequence (should be ok now, at last)ptitSeb2023-04-161-2/+2
|
* [ELFLOADER] Improved handling of Failed-to-load library (and unloading of ↵ptitSeb2023-04-101-7/+31
| | | | libs too)
* [ELFLOADER] Improved handling of default versionsptitSeb2023-04-101-4/+0
|
* [DYNAREC] Added BOX64_DYNAREC_TEST to run interpeter and dynarec at the same ↵ptitSeb2023-03-271-1/+4
| | | | time and compare states
* fix some spelling mistakes (#640)josch2023-03-261-3/+3
|
* Refactored OpenGL symbol fetching and managmentptitSeb2023-03-051-0/+2
|
* [DYNAREC] Use custom mutex, improved Signal while FillBlocks64 and atomic ↵ptitSeb2023-02-121-10/+21
| | | | handling
* Refactored (again) lib init/fini mecanismptitSeb2023-01-011-1/+2
|
* Added box64rc configuration file handlingptitSeb2022-11-271-0/+2
|
* Better handling of rolling logsptitSeb2022-11-151-16/+27
|
* More flexibility for BOX64_ROLLING_LOGptitSeb2022-10-261-4/+10
|
* Made a custom implementation of pthread_onceptitSeb2022-10-261-8/+0
|
* [DYNAREC] Use customMalloc for internal dynarec stuff (fixed starbound)ptitSeb2022-10-241-1/+1
|
* Refactored, again, elfloader symbol fetching (ported from box86)ptitSeb2022-10-221-49/+4
|
* Improved usage of x86_64 bash with BOX64_BASH env varptitSeb2022-09-151-0/+1
|
* All box internal memory alloc use __libc_ internal one (except on Android, ↵ptitSeb2022-08-061-25/+25
| | | | using libc one gather from dlsym)
* Added BOX64_ROLLING_LOG=1 for a 'Just in Time LOG=2' on signalptitSeb2022-07-301-0/+12
|
* Reworked TLS to limit resizing, as it tends to break Unity3D gamesptitSeb2022-07-031-1/+1
|
* Improved initial stack buildptitSeb2022-04-241-3/+3
|
* Include pthread.h when used (should help #249)ptitSeb2022-03-051-0/+1
|
* More work on readlinkat and clone syscallptitSeb2022-03-011-0/+3
|
* Small change on unload of box64ptitSeb2021-11-191-7/+7
|
* [DYNAREC] some fixes to alternate handling and vsyscall supportptitSeb2021-09-121-3/+3
|