about summary refs log tree commit diff stats
path: root/src/elfs/elfloader_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/elfs/elfloader_private.h')
-rw-r--r--src/elfs/elfloader_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elfs/elfloader_private.h b/src/elfs/elfloader_private.h
index a6116ad7..d2bc2559 100644
--- a/src/elfs/elfloader_private.h
+++ b/src/elfs/elfloader_private.h
@@ -12,6 +12,7 @@ typedef struct kh_defaultversion_s kh_defaultversion_t;
 struct elfheader_s {
     char*       name;
     char*       path;   // Resolved path to file
+    char*       soname; // soname of the elf
     size_t      numPHEntries;
     Elf64_Phdr  *PHEntries;
     size_t      numSHEntries;
@@ -86,6 +87,7 @@ struct elfheader_s {
     int         init_done;
     int         fini_done;
     int         refcnt;     // ref count for the elf
+    int         malloc_hook_2;  // this elf hook malloc, hacking it
 
     char*       memory;     // char* and not void* to allow math on memory pointer
     void**      multiblock;