diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-01-11 10:25:27 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-01-11 10:26:02 +0100 |
| commit | f489761e682b75ede8754e9f9be48fa29ebaeb10 (patch) | |
| tree | eaa00441feadd61e7f0f291f7dfebd1fd7d3db2d /src/include | |
| parent | 56ccde005e9332662326b8446658e7a322633e46 (diff) | |
| download | box64-f489761e682b75ede8754e9f9be48fa29ebaeb10.tar.gz box64-f489761e682b75ede8754e9f9be48fa29ebaeb10.zip | |
[BOX32] Improved elf memory managment for 32bits process
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index ec1fb9d5..c710a249 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -196,6 +196,7 @@ void* box32_realloc(void* p, size_t s); void box32_free(void* p); void* box32_memalign(size_t align, size_t s); size_t box32_malloc_usable_size(void* p); +char* box32_strdup(const char* s); #define actual_calloc(A, B) (box64_is32bits?box32_calloc(A, B):box_calloc(A, B)) #define actual_malloc(A) (box64_is32bits?box32_malloc(A):box_malloc(A)) |