1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

LibELF: Move validation methods to their own file

These validate_elf_* methods really had no business being static
methods of ELF::Image. Now that the ELF namespace exists, it makes
sense to just move them to be free functions in the namespace.
This commit is contained in:
Andrew Kaster 2020-04-11 12:32:38 -06:00 committed by Andreas Kling
parent 21b5909dc6
commit 61acca223f
7 changed files with 234 additions and 163 deletions

View file

@ -64,7 +64,8 @@ ELF_OBJS = \
../LibELF/DynamicObject.o \
../LibELF/DynamicLoader.o \
../LibELF/Loader.o \
../LibELF/Image.o
../LibELF/Image.o \
../LibELF/Validation.o
OBJS = $(AK_OBJS) $(LIBC_OBJS) $(ELF_OBJS)