about summary refs log tree commit diff stats
path: root/src/include/box64context.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WOW64] Finished skeleton code for PE build (#2542)Yang Liu2025-04-171-1/+2
| | | | | * [WOW64] Finished skeleton code for PE build * move musl to external
* [WOW64] More tweaks towards PE build (#2519)Yang Liu2025-04-101-2/+0
|
* Made custommem OS-independent (#2517)Yang Liu2025-04-091-0/+15
|
* Moved more OS-dependent functions to os.h (#2491)Yang Liu2025-04-011-10/+0
|
* Added os.h for future usage (#2488)Yang Liu2025-04-011-1/+0
|
* [ENV] Initial refactor of env variables infrastructure (#2274)Yang Liu2025-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [LA64] SIGRTMAX is 127 for ABI 1.0 (#2134)Leslie Zhai2024-12-111-0/+4
| | | | | | | * [LA64] SIGRTMAX is 127 for ABI 1.0 * [LA64] Added LARCH64_ABI_1 CMake option * [LA64] Change MAX_SIGNAL to 128 for ABI 1.0
* [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.
* Improved clone wrapped function compatibilityptitSeb2024-10-301-0/+1
|
* [BOX32] Refactored X11 wrapping, and add a few more functionsptitSeb2024-10-081-0/+1
|
* Added preliminary Box32 support (#1760)ptitSeb2024-08-261-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [INTERPRETER] Fixed CMPXCHG16B opcode for la64 (#1506)Yang Liu2024-05-201-1/+1
| | | it's not the best we can do, but it fixes things. Will came up something better with scq extension later.
* Changed the workaround for MiniMetro/Steam, using rcfile now (for #1311)ptitSeb2024-05-091-0/+1
|
* Added some hack to rename wine binary process too (help mesa pick up the ↵ptitSeb2024-02-241-0/+3
| | | | correct binary being run)
* [ELFLOADER] Improved inter-library dependancie managmentptitSeb2024-02-161-0/+2
|
* [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more ↵ptitSeb2024-02-151-0/+1
| | | | 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/+2
|
* Workaround to handle SIGMAX properly (should help #1056)ptitSeb2023-11-151-4/+4
|
* [ELFLOADER] Better handling of dlopen library without RTLD_GLOBAL flagsptitSeb2023-08-271-0/+1
|
* 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
* | Fixed some warnings/build errorsptitSeb2023-07-161-1/+2
| |
* | [ELFLOADER] Reworked R_X86_64_COPY and R_X86_64_GLOB_DAT handling, improving ↵ptitSeb2023-07-151-0/+1
| | | | | | | | c++ program compatibility
* | A few cosmetic fixes (#858)Alexandre Julliard2023-06-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [DYNAREC] Don't include pthread.h in C files. It's already included from box64context.h. Since there's no pthread.h on Win32, including it only once avoids having to add ifdefs everywhere. * [DYNAREC] Remove some duplicate definitions of the GETG helper macros. * Declare void functions with an explicit void. To avoid 'function declaration is not a prototype' warnings when using -Wstrict-prototypes. * Avoid including bridge_private.h in files that don't need it. * Avoid defining ZYDIS_RUNTIME_ADDRESS_NONE. It's not used, and conflicts with the original Zydis headers.
* | Added ability to trace and dump 32bits codeptitSeb2023-06-171-0/+1
| |
* | Added support for creating 32bits selector (no 32bits execution yet)ptitSeb2023-06-171-2/+4
| |
* | [RV64_DYNAREC] Added F3 0F B8 POPCNT opcode and fixed LOCK CMPXCHG16B for ↵xctan2023-05-281-0/+3
| | | | | | | | | | | | | | | | | | ML2 (#808) * [RV64_DYNAREC] Added lock to F0 48 0F C7 LOCK CMPXCHG16B opcode * [RV64_DYNAREC] Added F3 0F B8 POPCNT opcode * [RV64_DYNAREC] Moved 16B lock to box64context
* | Optimized Exit bridge managmentptitSeb2023-05-101-0/+1
| |
* | [DYNAREC] Disabled custom mutex for nowptitSeb2023-05-071-1/+14
|/
* Improved/fixed (agaaaaain) Load/Unload of library (might help #740 &nd #742)ptitSeb2023-04-251-0/+1
|
* Improve loading/unloading of libs, and fixed a regression when dlopen a lib ↵ptitSeb2023-04-121-0/+1
| | | | after some dlclose
* [ELFLOADER] Improved handling of Failed-to-load library (and unloading of ↵ptitSeb2023-04-101-0/+2
| | | | libs too)
* [ELFLOADER] Improved handling of default versionsptitSeb2023-04-101-2/+0
|
* [DYNAREC] Added BOX64_DYNAREC_TEST to run interpeter and dynarec at the same ↵ptitSeb2023-03-271-0/+1
| | | | time and compare states
* fix some spelling mistakes (#640)josch2023-03-261-5/+5
|
* Refactored OpenGL symbol fetching and managmentptitSeb2023-03-051-4/+1
|
* [DYNAREC] Finetuned the jump table memory allocationptitSeb2023-03-021-1/+0
|
* [DYNAREC] Use custom mutex, improved Signal while FillBlocks64 and atomic ↵ptitSeb2023-02-121-5/+23
| | | | handling
* Refactored (again) lib init/fini mecanismptitSeb2023-01-011-2/+6
|
* Better handling of rolling logsptitSeb2022-11-151-0/+5
|
* Remove dynablocklist (#438)ptitSeb2022-10-311-1/+1
| | | | | | * [DYNAREC] Removed dynablock sons handling * [DYNAREC] Removed dynablocklist, and attached dynablocks to the jumptable * [DYNAREC] Changed handling of HotPage (part of Protection now) * [DYNAREC] Fixed some performance issues (especially with heavily threaded programs)
* More flexibility for BOX64_ROLLING_LOGptitSeb2022-10-261-4/+2
|
* Made a custom implementation of pthread_onceptitSeb2022-10-261-2/+0
|
* Refactored, again, elfloader symbol fetching (ported from box86)ptitSeb2022-10-221-3/+3
|
* Small refactor and simplification of library_t structure and box64context_tptitSeb2022-10-191-17/+8
|
* Improved usage of x86_64 bash with BOX64_BASH env varptitSeb2022-09-151-0/+1
|
* Small improvment to BOX64_ROLLING_LOG=1ptitSeb2022-07-301-1/+1
|
* Added BOX64_ROLLING_LOG=1 for a 'Just in Time LOG=2' on signalptitSeb2022-07-301-0/+7
|
* Reworked TLS to limit resizing, as it tends to break Unity3D gamesptitSeb2022-07-031-2/+4
|