From 277f54230425f976ad169bcf0ccc7e434b1a680b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 15 Nov 2022 12:58:40 +0100 Subject: Better handling of rolling logs --- src/include/box64context.h | 5 +++++ src/include/x64run.h | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/box64context.h b/src/include/box64context.h index 1d7d8b58..682cdae8 100755 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -189,6 +189,11 @@ extern box64context_t *my_context; // global context box64context_t *NewBox64Context(int argc); void FreeBox64Context(box64context_t** context); +// Cycle log handling +void freeCycleLog(box64context_t* ctx); +void initCycleLog(box64context_t* context); +void print_cycle_log(int loglevel); + // return the index of the added header int AddElfHeader(box64context_t* ctx, elfheader_t* head); diff --git a/src/include/x64run.h b/src/include/x64run.h index c69290fd..78903bbc 100755 --- a/src/include/x64run.h +++ b/src/include/x64run.h @@ -10,6 +10,5 @@ uint32_t LibSyscall(x64emu_t *emu); void PltResolver(x64emu_t* emu); extern uintptr_t pltResolver; int GetTID(); -void print_cycle_log(int loglevel); #endif //__X64RUN_H_ \ No newline at end of file -- cgit 1.4.1