about summary refs log tree commit diff stats
path: root/src/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [WOW64] Splitted freq and cleanup functions from x64emu (#2521)Yang Liu2025-04-112-16/+85
|
* [WOW64] More work on the PE wow64 build (#2518)Yang Liu2025-04-101-0/+21
| | | | | * [WOW64] More work on the PE wow64 build * added a TODO
* [DYNAREC] Improved handling of db_size rbtreeptitSeb2025-04-091-0/+310
|
* [DYNAREC] Better handling of self-loop and added CALLRET=2 settings (ARM64 ↵ptitSeb2025-04-091-0/+2
| | | | only, RV64 and LA64 todo)
* Decoupled alternate functions from bridge (#2500)Yang Liu2025-04-033-45/+49
|
* Moved more functions to os.h (#2497)Yang Liu2025-04-033-5/+3
| | | | | | | * Removed some unused function declarations * Moved more functions to os.h * review
* Moved more OS-dependent functions to os.h (#2491)Yang Liu2025-04-011-1/+2
|
* Introduced box64cpu.h for exported interpreter and dynarec functions (#2490)Yang Liu2025-04-012-3/+4
|
* Some cosmetic changes to C header files (#2487)Yang Liu2025-04-011-0/+28
| | | | | * [DYNAREC] Move cosim functions to a new header * Moved isNativeCall to elfloader
* [RCFILE] Fixed BOX64_EMULATED_LIBS that was broken when used inside an rcfileptitSeb2025-03-201-0/+3
|
* [BOX32] Change to get all created bricks to be conitgus on 32bits, as ↵ptitSeb2025-03-171-2/+8
| | | | address space is pretty small
* [RCFILE] Added range gdbjit support (#2414)Yang Liu2025-03-032-9/+29
|
* [RCFILE] Fixed load addr parse issue (#2413)Yang Liu2025-03-031-6/+7
|
* Limit to 11 the number of cpuid invalid parameter messageptitSeb2025-02-121-1/+7
|
* [RCFILE] Fixed ROLLING_LOG when setup in a profile onlyptitSeb2025-02-071-5/+11
|
* [RCFILE] Add some print of NODYNAREC and DYNAREC_TEST when applyedptitSeb2025-02-021-6/+21
|
* [ENV] More tweaks on recoding env mapping (#2309)Yang Liu2025-02-011-5/+5
| | | | | * [ENV] More tweaks on recoding env mapping * review
* [ENV] Fixed crash when rcfile does not exist (for #2295) (#2307)Yang Liu2025-02-011-4/+5
| | | | | * [ENV] Fixed crash when rcfile does not exist (for #2295) * review
* More improvmnet to map with fd trackingptitSeb2025-01-291-2/+22
|
* [ANDROID] Nope, re-disable map with fd tracking on AndroidptitSeb2025-01-291-0/+2
|