about summary refs log tree commit diff stats
path: root/src/include/custommem.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WOW64] More tweaks towards PE build (#2519)Yang Liu2025-04-101-2/+0
|
* [WOW64] Add wow64 PE build scaffolding (#2513)Yang Liu2025-04-081-6/+2
|
* [DYNAREC] Introduced DYNAREC_DIRTY=2 and changed a profile to use itptitSeb2025-03-121-0/+1
|
* Removed isDBFromAddressRange and added that function to ↵ptitSeb2025-03-071-2/+1
| | | | cleanDBFromAddressRange as it was used only 1 time and followed by that function anyway
* [DYNARC] Forgot this file from previous commitptitSeb2024-12-231-0/+1
|
* Improved memory tracking and 32bits memory allocationptitSeb2024-12-211-0/+6
|
* Added a new memExist helper function and use it instead of getMmapped were ↵ptitSeb2024-11-301-0/+1
| | | | it make sense
* [DYNAREC] Only test page protection when needed (and using a fester way) ↵ptitSeb2024-11-091-0/+1
| | | | (should address the performance regression of #2009)
* Some refactor (and small bugfixes) around Custom Mem ManagerptitSeb2024-09-041-0/+11
|
* [BOX32] Added 32bits elf alloc and loadptitSeb2024-08-171-0/+3
|
* [DYNAREC] Re-introduce a simple HotPage handling, to speedup heavily ↵ptitSeb2024-05-031-0/+4
| | | | obfuscated program loading
* [ARM64_DYNAREC][32BITS] Small optim on jump table for 32bits access (1 less ↵ptitSeb2024-02-041-0/+1
| | | | read, or 2 in SAVE_MEM configuration)
* [DYNAREC] Reworked a bit the Strange SEGSIGV handlingptitSeb2024-02-031-0/+2
|
* [DYNAREC] Handling of memfd_create backed mmap on dynarec (help #1234 but ↵ptitSeb2024-02-011-2/+4
| | | | doesn't solve it completly)
* [DYNAREC] Small improvment in dynablock/protectDB handlingptitSeb2024-01-291-0/+1
|
* Added a new option BOX64_MMAP32 to use 32bits mapping on external MMAP (help ↵ptitSeb2024-01-231-0/+3
| | | | Snapdragon device running Vulkan with Wine/Wow64, active by default on SD845/SD888/SD8G2 profiles)
* Round size to pagesize on the tracked memoryptitSeb2024-01-161-0/+2
|
* [RBTREE] Reverted memory tracking to 32 bits (#1201)rajdakin2024-01-131-5/+5
|
* [MEMORY] Switched from a sparse array to a red-black tree (#1180)rajdakin2023-12-311-8/+5
| | | | | * [MEMORY] Switched from a sparse array to an RB tree * [RBTREE] Fixed the Android build
* [ELFLOADER] Small changes on elf memory managmentptitSeb2023-11-131-0/+1
|
* Better way to track mapped memoryptitSeb2023-11-051-2/+1
|
* [ELFLOADER] Fixed loading of elf with huge alignmentptitSeb2023-11-011-3/+3
|
* [ELFLOADER] Changed how memory is managed in elfloaderptitSeb2023-10-311-0/+1
|
* Another fix to wrapped mmap (should fix #1031, hopefully not creating more ↵ptitSeb2023-10-271-0/+1
| | | | regression)
* [DYNAREC] Introduce a config that should save a bit of mmemory at runtime ↵ptitSeb2023-10-011-0/+18
| | | | (ON for PIs and RK3399 only for now)
* [DYNAREC] Changed lock mecanism for memory protectionptitSeb2023-10-011-0/+1
|
* 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.
* [DYNAREC] General fixes and improvment for multithread and jit program. ↵ptitSeb2023-04-161-0/+1
| | | | Helps Java, mono and Unity3d program... (should help #519, #464, #433, #272, #232, #193, #112...)
* [DYNAREC] Never protect bridge memory (ported from box86)ptitSeb2023-04-021-3/+4
|
* [DYNAREC] Fixed (again) and improved new jmptable memory managerptitSeb2023-03-051-3/+3
|
* [DYNAREC] Finetuned the jump table memory allocationptitSeb2023-03-021-0/+13
|
* Merge branch 'main' into steam_chromeptitSeb2023-02-191-2/+2
|\
| * Simplified dynablock handling (reduced memory consuption)ptitSeb2023-02-191-2/+2
| |
* | Preliminary work to get steamwebhelper workingptitSeb2023-02-181-1/+5
|/
* Changed how mmap with MAP_32BITS flag is handled (help deadcells, maybe some ↵ptitSeb2022-11-281-1/+1
| | | | others)
* Small fixes and improvement to memory protection handlingptitSeb2022-11-141-0/+1
|
* Remove dynablocklist (#438)ptitSeb2022-10-311-3/+8
| | | | | | * [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)
* [DYNAREC] Improve memory protection tracking (help #361)ptitSeb2022-09-041-2/+3
|
* [DYNAREC] Add a mecanism to remember fixed address accessed with LOCK, so ↵ptitSeb2022-07-031-0/+6
| | | | MOV to/from them use a Memory Barrier automaticaly
* Improve findBlockNearHint function and friends, again (in sync with box86)ptitSeb2022-03-171-2/+1
|
* Chnaged memory protection tracking to reduce usage of lock, especially for ↵ptitSeb2021-11-051-3/+1
| | | | [DYNAREC] reduced mutrex and chances of deadlock (help RimWorld)
* Improved low memory pre-allocation and added 47bits pre-allocation for Wine64ptitSeb2021-07-011-0/+3
|
* Second passrajdakin2021-04-141-9/+9
|
* First passrajdakin2021-04-141-2/+2
|
* Improvement in internal mutex handling on signal, and [DYNAREC] multitasking ↵ptitSeb2021-04-111-0/+4
| | | | changes to the JmpTable
* More work on mmap and the MAP_32BIT flagptitSeb2021-04-041-3/+6
|
* Implemented a workaround for mmap64 with MAP_32BIT flagptitSeb2021-04-021-0/+3
|
* [DYNAREC] Improved Dynablock construction, stopping when overlaping block is ↵ptitSeb2021-03-281-0/+1
| | | | detected
* [DYNAREC] Added Basic blocks for dynarecptitSeb2021-03-141-4/+4
|
* Added custom memory handlingptitSeb2021-03-131-27/+27
|