From c9b6b5fbe0888f443a080c43fc38a215fddb42b3 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Wed, 9 Apr 2025 17:16:32 +0800 Subject: Added backtrace.h for holding backtrace-related functions (#2515) --- src/custommem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/custommem.c') 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 #include #include -#include #include #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"); -- cgit 1.4.1