From f5eac562c915811c27969949c178f8fe96a12e47 Mon Sep 17 00:00:00 2001 From: norly Date: Sun, 26 May 2013 22:16:54 +0100 Subject: Validate input at libelf level This way we can just assume that stuff works later on and keep the code clean and simple. It especially establishes that the file has a sane format and is thus understandable and editable. --- include/libelfu/elfops.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libelfu/elfops.h') diff --git a/include/libelfu/elfops.h b/include/libelfu/elfops.h index 58da4cf..cf40090 100644 --- a/include/libelfu/elfops.h +++ b/include/libelfu/elfops.h @@ -7,6 +7,8 @@ #include +int elfu_eCheck(Elf *e); + char* elfu_eScnName(Elf *e, Elf_Scn *scn); Elf_Scn* elfu_eScnByName(Elf *e, char *name); -- cgit v1.2.3