projects
/
centaur.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
26a26e301a968b4481190af63e00a15dd0f9a769
[centaur.git]
/
src
/
model
/
phdr.c
1
#include <assert.h>
2
#include <libelfu/libelfu.h>
3
4
5
size_t elfu_mPhdrCount(ElfuElf *me)
6
{
7
ElfuPhdr *mp;
8
size_t i = 0;
9
10
assert(me);
11
12
CIRCLEQ_FOREACH(mp, &me->phdrList, elem) {
13
i++;
14
}
15
16
return i;
17
}