blob: 26a26e301a968b4481190af63e00a15dd0f9a769 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <assert.h>
#include <libelfu/libelfu.h>
size_t elfu_mPhdrCount(ElfuElf *me)
{
ElfuPhdr *mp;
size_t i = 0;
assert(me);
CIRCLEQ_FOREACH(mp, &me->phdrList, elem) {
i++;
}
return i;
}
|