about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/elfs/elfparser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/elfs/elfparser.c b/src/elfs/elfparser.c
index 453e507e..07599df6 100755
--- a/src/elfs/elfparser.c
+++ b/src/elfs/elfparser.c
@@ -246,6 +246,10 @@ elfheader_t* ParseElfHeader(FILE* f, const char* name, int exec)
                     h->initarray_sz = val / sizeof(Elf64_Addr);
                     printf_log(LOG_DEBUG, "The DT_INIT_ARRAYSZ is %zu\n", h->initarray_sz);
                     break;
+                case DT_PREINIT_ARRAYSZ:
+                    if(val)
+                        printf_log(LOG_NONE, "Warning, PreInit Array (size=%d) present and ignored!\n", val);
+                    break;
                 case DT_FINI: // Exit hook
                     h->finientry = ptr;
                     printf_log(LOG_DEBUG, "The DT_FINI is at address %p\n", (void*)h->finientry);