diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-19 11:28:24 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-19 11:28:24 +0100 |
| commit | 6a2183189462127c2b23abc882245adc25eb644d (patch) | |
| tree | 02858c07a1b9f1f8e83673c21880f287d7d203e1 /src/elfs/elfparser.c | |
| parent | ee49851de412dd9d0047807b49ef7814e000f620 (diff) | |
| download | box64-6a2183189462127c2b23abc882245adc25eb644d.tar.gz box64-6a2183189462127c2b23abc882245adc25eb644d.zip | |
Now handling the BIND_NOW flags in elf header
Diffstat (limited to 'src/elfs/elfparser.c')
| -rwxr-xr-x | src/elfs/elfparser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/elfs/elfparser.c b/src/elfs/elfparser.c index 1fd3ca01..7b83e07e 100755 --- a/src/elfs/elfparser.c +++ b/src/elfs/elfparser.c @@ -278,6 +278,10 @@ elfheader_t* ParseElfHeader(FILE* f, const char* name, int exec) h->VerDef = (Elf64_Verdef*)ptr; printf_dump(LOG_DEBUG, "The DT_VERDEF is at address %p\n", h->VerDef); break; + case DT_FLAGS: + h->flags = val; + printf_dump(LOG_DEBUG, "The DT_FLAGS is 0x%x\n", h->flags); + break; } } if(h->rel) { |