#include <stdio.h>
-#include <libelf.h>
-#include <gelf.h>
+#include <libelf/libelf.h>
+#include <libelf/gelf.h>
#include <libelfu/libelfu.h>
#include "printing.h"
continue;
}
- if (elfu_segmentContainsSection(&phdr, &shdr)) {
+ if (PHDR_CONTAINS_SCN_IN_MEMORY(&phdr, &shdr)) {
printf(" %d %s\n", i, segmentTypeStr(phdr.p_type));
}
}
{
printf(" %jd: %s\n",
(uintmax_t) elf_ndxscn(scn),
- elfu_sectionName(e, scn));
+ elfu_eScnName(e, scn));
}