projects
/
centaur.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Redesign data structures, make basic reladd work.
[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
}