From caed2ae7573d472a65c152ee1bec17b98c74a7d1 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 12 Dec 2022 18:41:35 +0100 Subject: Use print_cycle_log here --- src/wrapped/wrappedlibc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index e2e6c672..0e3f3c93 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -361,13 +361,7 @@ void EXPORT my___stack_chk_fail(x64emu_t* emu) sprintf(buff, "%p: Stack is corrupted, aborting\n", (void*)emu->old_ip); #endif if(cycle_log) { - int j = (my_context->current_line+1)%cycle_log; - for (int i=0; ilog_call[k][0]) { - printf_log(LOG_INFO, "%s => return %s\n", my_context->log_call[k], my_context->log_ret[k]); - } - } + print_cycle_log(LOG_INFO); } StopEmu(emu, buff); } -- cgit 1.4.1