diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-04-09 17:16:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-09 11:16:32 +0200 |
| commit | c9b6b5fbe0888f443a080c43fc38a215fddb42b3 (patch) | |
| tree | 4cc4b7dfa769110faeb7a778dcaa3b4a8d3928d9 /src/custommem.c | |
| parent | 62765f151a2fcd5c1bd4fe5d46fc6277d3a1bee3 (diff) | |
| download | box64-c9b6b5fbe0888f443a080c43fc38a215fddb42b3.tar.gz box64-c9b6b5fbe0888f443a080c43fc38a215fddb42b3.zip | |
Added backtrace.h for holding backtrace-related functions (#2515)
Diffstat (limited to 'src/custommem.c')
| -rw-r--r-- | src/custommem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/custommem.c b/src/custommem.c index f74666e7..90b14c7a 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -2,10 +2,10 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <pthread.h> #include <errno.h> #include "os.h" +#include "backtrace.h" #include "box64context.h" #include "debug.h" #include "x64trace.h" @@ -557,7 +557,7 @@ void* map128_customMalloc(size_t size, int is32bits) // mask size from this block p_blocks[i].size = 0; mutex_unlock(&mutex_blocks); - showNativeBT(LOG_NONE); + ShowNativeBT(LOG_NONE); testAllBlocks(); if(BOX64ENV(log)>=LOG_DEBUG) { printf_log(LOG_NONE, "Used 32bits address space map:\n"); @@ -663,7 +663,7 @@ void* internal_customMalloc(size_t size, int is32bits) // mask size from this block p_blocks[i].size = 0; mutex_unlock(&mutex_blocks); - showNativeBT(LOG_NONE); + ShowNativeBT(LOG_NONE); testAllBlocks(); if(BOX64ENV(log)>=LOG_DEBUG) { printf_log(LOG_NONE, "Used 32bits address space map:\n"); |