From 5d6307184941f6f2171153df6a5bb0105fcbce9e Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 10 Apr 2023 18:51:07 +0200 Subject: [ELFLOADER] Improved handling of Failed-to-load library (and unloading of libs too) --- src/include/box64context.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/box64context.h') diff --git a/src/include/box64context.h b/src/include/box64context.h index c4e88a83..2424c130 100755 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -213,6 +213,8 @@ void print_cycle_log(int loglevel); // return the index of the added header int AddElfHeader(box64context_t* ctx, elfheader_t* head); +// remove an elf from list (but list is never reduced, so there can be holes) +void RemoveElfHeader(box64context_t* ctx, elfheader_t* head); // return the tlsbase (negative) for the new TLS partition created (no partition index is stored in the context) int AddTLSPartition(box64context_t* context, int tlssize); -- cgit 1.4.1