about summary refs log tree commit diff stats
path: root/src/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WRAPPER] Improved pulse wrappingptitSeb2025-08-251-0/+14
|
* [CORE] Better trace_file logging (#2958)Yang Liu2025-08-211-5/+1
|
* [DYNAREC] Bump ARCH_VERSION (#2947)Yang Liu2025-08-181-3/+3
|
* Add O(1) early-out to eusing cached bounds (#2901)Chi-Kuan Chiu2025-08-051-2/+6
| | | | | | | | | | | | | | Add a fast-path in rb_get() and rb_get_64() that checks the tree’s cached leftmost->start and rightmost->end bounds before calling find_addr(). If the query address lies outside the address bounds, we return 0 immediately, avoiding an unnecessary tree walk. This mirrors the idea used in jserv/rbtree’s rb_cached_contains(), using cached min/max to short-circuit lookups. Behavior is unchanged (both functions still return 0 when not found); only negative lookups become cheaper. Co-authored-by: Jim Huang <jserv@ccns.ncku.edu.tw>
* [WRAPPER] Wrapped g_type_module_use, g_type_module_register_type and ↵Leslie Zhai2025-08-051-1/+1
| | | | | | | g_type_module_add_interface (#2895) * [WRAPPER] Wrapped g_type_module_use, g_type_module_register_type and g_type_module_add_interface * [WRAPPER] Removed duplicated my_GInterfaceInfo_t
* [RV64_DYNAREC][LA64_DYNAREC] Simplified defered flags handling and limited ↵Yang Liu2025-07-231-2/+2
| | | | case where UpdateFlags is actualy called (#2844)
* [DYNACACHE]LA64] Enabled dynacache for LA64 (#2836)Yang Liu2025-07-211-1/+1
| | | | | * [DYNACACHE]LA64] Enabled dynacache for LA64 * review
* [DYNAREC] Refactor hotpage detection and dynarec_dirty 1 & 2. Also adjust ↵ptitSeb2025-06-301-2/+12
| | | | some launcher/games flags
* [DYNAREC] Better check of limit for a dynablockptitSeb2025-06-241-1/+1
|
* [ARM64_DYNAREC] Improved handling of last_ipptitSeb2025-06-241-1/+1
|
* [DYNACACHE] Added support for unaligned addressesptitSeb2025-06-231-4/+23
|
* [DYNAREC] Refactored a bit BARRIER_FLOAT ([ARM64] olny for now, todo for ↵ptitSeb2025-06-231-1/+1
| | | | RV64 and LA64)
* [DYNACACHE] Introduced B64X_DYNACACHE=2 to use cache but not create new ↵ptitSeb2025-06-201-7/+4
| | | | ones, and made it default
* [DYNACACHE] Fixed a WarningptitSeb2025-06-201-1/+1
|
* [DYNACACHE][RV64] Enabled dynacache for RV64 (#2762)Yang Liu2025-06-201-1/+1
|
* [DYNACACHE] Make sure dynacache folder ends with pathsep (#2761)Yang Liu2025-06-201-29/+29
|
* [DYNACACHE] Try to fix non Dynarec buildptitSeb2025-06-191-1/+5
|
* [DYNACACHE] Introduced DynaCache for ARM64 (disabled by default)ptitSeb2025-06-191-6/+581
|
* [BIONIC] Fixed some compilation warnings (#2756)Yang Liu2025-06-181-3/+3
|
* [DYNACACHE] More work on dynache relocationptitSeb2025-06-151-0/+18
|
* Fix non-box32 buildptitSeb2025-06-131-1/+1
|
* [DYNACACHE] More preparation work for internal relocationsptitSeb2025-06-131-1/+36
|
* This should fix non-dynarec buildptitSeb2025-06-111-0/+6
|
* [DYNACACHE] Dynarec memory is now part of MMpa file tracking when possibleptitSeb2025-06-111-0/+18
|
* [DYNAREC] Improved mmap'd file trackingptitSeb2025-06-101-2/+10
|
* Refine the naming scheme in rbtree (#2717)Chi-Kuan Chiu2025-06-092-23/+23
| | | | | | | | | | | | | Replaced all occurrences of `rb_get_righter` with `rb_get_rightmost` and `rb_get_lefter` with `rb_get_leftmost` for improved semantic clarity. Also updated related function declarations, definitions, and usage across: - rbtree.c - rbtree.h - custommem.c - dynablock.c - env.c - box64context.c
* [RCFILE] Fixed MAXCPU so it works for wine apps tooptitSeb2025-06-081-2/+4
|
* [WOW64] Added rcfile support (#2708)Yang Liu2025-06-052-67/+53
| | | | | | | | | * [WOW64] Fixed more compilation warnings * [WOW64] Messing around with file APIs * [WOW64] Added rcfile support * [DOCS] Update rcfile usage on WowBox64
* [ENV][WOW64] Not every env var applies to WowBox64 (#2700)Yang Liu2025-06-021-52/+72
| | | | | * [ENV] Not every env var applies to WowBox64 * [DOCS] Updated env docs for WowBox64
* [WOW64] Added support for cosim (#2683)Yang Liu2025-05-301-18/+18
|
* fix: env BOX64_EMULATED_LIBS triggers sigsegv (#2686)liuli2025-05-301-1/+1
|
* [WOW64][ENV] Clean up a bit (#2681)Yang Liu2025-05-281-64/+7
|
* Reprint env configs when special libraries detected (#2657)Yang Liu2025-05-211-2/+1
|
* Better mmap file tracking when loading multiple file with same name (like ↵ptitSeb2025-05-211-4/+7
| | | | 32bits and 64bits version of a same dll in wine wow64)
* [WOW64] Initial implementation patches (#2619)André Zwing2025-05-111-0/+79
| | | | | | | * [WOW64] Add stub for VolatileRangesContains * [WOW64] Implement BTCpu[GS]etContext * [WOW64] Add env support
* [WRAPPER] Added more wrapped function to ffmpeg, and disable it with ↵ptitSeb2025-05-111-0/+173
| | | | NOGTK=1, as wrapping needs more work on structure callbacks
* [GDBJIT] Added a new option to register debuginfo only after trapped into ↵Yang Liu2025-05-092-11/+10
| | | | signalhandler (#2614)
* [ENV] Refactored file-mapping handling (#2612)Yang Liu2025-05-083-60/+37
| | | | | * [ENV] Refactored file-mapping handling * fix
* [DYNAREC] Use PE volatile metadata in dynarec (#2610)Yang Liu2025-05-071-6/+47
|
* Added a simple PE loaded dedicated for volatileMetadata (#2607)Yang Liu2025-05-062-9/+320
|
* [RCFILE] Fixed all regression of BOX64_ADDLIBS settingsptitSeb2025-05-051-0/+4
|
* Use `setProtection_mmap` in `NewBrick` (#2599)Chi-Kuan Chiu2025-05-031-1/+1
| | | | | | | NewBrick() currently uses setProtection() after box_mmap(), which fails to mark the region with the `MEM_MMAP` label. As a result, getMmapped() returns 0, even though the memory was allocated via mmap. Closes #2598
* [DYNAREC] Added ranged Dynablock dump (#2570)Yang Liu2025-04-241-24/+17
|
* [RBTREE] Fixed an edge case (#2562)rajdakin2025-04-221-1/+3
|
* [RBTREE] Cache boundary nodes and remove `add_range()` (#2557)Chi-Kuan Chiu2025-04-221-31/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cache leftmost and rightmost node Add two fields to `rbtree`: `lefter` and `righter`, to cache the leftmost and rightmost nodes respectively. This eliminates the need for O(log N) traversals in `rb_get_lefter()` and `rb_get_righter()`. Motivated by the Linux kernel's use of cached pointers for `rb_first()` and `rb_last()`, this change improves efficiency of boundary queries by replacing repeated tree walks with direct pointer dereference. Experiment: running `chess.exe` with Box64 + Wine (#2511) - ~3,500 insertions into the tree - 607 lightweight cache updates (single assignment) - 397 full tree traversals avoided This results in reduced runtime overhead for boundary checks, with memory cost (+2 pointer per tree). Expected benefits increase in larger or more dynamic workloads. Ref: https://docs.kernel.org/core-api/rbtree.html * Remove redundant add_range() wrapper The function `add_range()` was only called when `tree->root == NULL`. In such cases, the while-loop inside `add_range()` never runs, resulting in a call to `add_range_next_to()` with `prev == NULL`. Replaced it with direct calls to `add_range_next_to(tree, NULL, ...)`.
* [ENV][COSIM] Enable x87double only if it's off (#2554)Yang Liu2025-04-211-1/+2
|
* [DEBUG] Exposed a debug function to print an rbtreeptitSeb2025-04-201-20/+24
|
* Removed a function not used anymoreptitSeb2025-04-181-14/+0
|
* Eliminated many compilation warnings (#2535)Yang Liu2025-04-151-1/+2
|
* [WOW64] Added non-functional PE build (#2532)Yang Liu2025-04-142-778/+0
|