/
usr
/
include
/
/usr/include
mkdir
upload
Name
Size
Mode
Actions
arpa/
-
0755
rm
asm/
-
0755
rm
asm-generic/
-
0755
rm
bind9/
-
0755
rm
bits/
-
0755
rm
c++/
-
0755
rm
drm/
-
0755
rm
e2p/
-
0755
rm
et/
-
0755
rm
event2/
-
0755
rm
ext2fs/
-
0755
rm
finclude/
-
0755
rm
fontconfig/
-
0755
rm
freetype2/
-
0755
rm
fstrm/
-
0755
rm
gdbm/
-
0755
rm
GL/
-
0755
rm
gnu/
-
0755
rm
google/
-
0755
rm
gssapi/
-
0755
rm
gssrpc/
-
0755
rm
json-c/
-
0755
rm
kadm5/
-
0755
rm
krb5/
-
0755
rm
libexslt/
-
0755
rm
libltdl/
-
0755
rm
libpng16/
-
0755
rm
libxml2/
-
0755
rm
libxslt/
-
0755
rm
linux/
-
0755
rm
lzma/
-
0755
rm
misc/
-
0755
rm
mtd/
-
0755
rm
mysql/
-
0755
rm
ncurses/
-
0755
rm
ncursesw/
-
0755
rm
net/
-
0755
rm
netash/
-
0755
rm
netatalk/
-
0755
rm
netax25/
-
0755
rm
neteconet/
-
0755
rm
netinet/
-
0755
rm
netipx/
-
0755
rm
netiucv/
-
0755
rm
netpacket/
-
0755
rm
netrom/
-
0755
rm
netrose/
-
0755
rm
nfs/
-
0755
rm
openssl/
-
0755
rm
perf/
-
0755
rm
protobuf-c/
-
0755
rm
protocols/
-
0755
rm
python3.6m/
-
0755
rm
python3.12/
-
0755
rm
rdma/
-
0755
rm
rpc/
-
0755
rm
scsi/
-
0755
rm
security/
-
0755
rm
selinux/
-
0755
rm
sepol/
-
0755
rm
sound/
-
0755
rm
sys/
-
0755
rm
uuid/
-
0755
rm
video/
-
0755
rm
webp/
-
0755
rm
X11/
-
0755
rm
xcb/
-
0755
rm
xen/
-
0755
rm
a.out.h
4350
0644
edit
dl
rm
aio.h
7456
0644
edit
dl
rm
aliases.h
2031
0644
edit
dl
rm
alloca.h
1203
0644
edit
dl
rm
ar.h
1730
0644
edit
dl
rm
argp.h
25414
0644
edit
dl
rm
argz.h
6050
0644
edit
dl
rm
assert.h
4561
0644
edit
dl
rm
autosprintf.h
2383
0644
edit
dl
rm
byteswap.h
1404
0644
edit
dl
rm
bzlib.h
6245
0644
edit
dl
rm
complex.h
7163
0644
edit
dl
rm
com_err.h
2118
0644
edit
dl
rm
cpio.h
2267
0644
edit
dl
rm
cpuidle.h
844
0644
edit
dl
rm
crypt.h
9118
0644
edit
dl
rm
ctype.h
10963
0644
edit
dl
rm
curses.h
99625
0644
edit
dl
rm
cursesapp.h
6775
0644
edit
dl
rm
cursesf.h
27849
0644
edit
dl
rm
cursesm.h
19677
0644
edit
dl
rm
cursesp.h
8601
0644
edit
dl
rm
cursesw.h
49719
0644
edit
dl
rm
cursslk.h
7304
0644
edit
dl
rm
dbm.h
1414
0644
edit
dl
rm
dirent.h
12484
0644
edit
dl
rm
dlfcn.h
7238
0644
edit
dl
rm
elf.h
174828
0644
edit
dl
rm
endian.h
3189
0644
edit
dl
rm
entities.h
4930
0644
edit
dl
rm
envz.h
2866
0644
edit
dl
rm
err.h
2209
0644
edit
dl
rm
errno.h
1678
0644
edit
dl
rm
error.h
2039
0644
edit
dl
rm
eti.h
2891
0644
edit
dl
rm
etip.h
9702
0644
edit
dl
rm
evdns.h
2019
0644
edit
dl
rm
event.h
2744
0644
edit
dl
rm
evhttp.h
2035
0644
edit
dl
rm
evrpc.h
2015
0644
edit
dl
rm
evutil.h
1782
0644
edit
dl
rm
execinfo.h
1522
0644
edit
dl
rm
expat.h
44273
0644
edit
dl
rm
expat_config.h
3910
0644
edit
dl
rm
expat_external.h
6029
0644
edit
dl
rm
fcntl.h
10958
0644
edit
dl
rm
features.h
16062
0644
edit
dl
rm
fenv.h
5857
0644
edit
dl
rm
FlexLexer.h
6893
0644
edit
dl
rm
fmtmsg.h
3239
0644
edit
dl
rm
fnmatch.h
2295
0644
edit
dl
rm
form.h
18601
0644
edit
dl
rm
fpu_control.h
3583
0644
edit
dl
rm
fstab.h
3111
0644
edit
dl
rm
fstrm.h
13017
0644
edit
dl
rm
fts.h
8372
0644
edit
dl
rm
ftw.h
5251
0644
edit
dl
rm
gconv.h
4081
0644
edit
dl
rm
gcrypt.h
70361
0644
edit
dl
rm
gd.h
57777
0644
edit
dl
rm
gdbm.h
10345
0644
edit
dl
rm
gdcache.h
2898
0644
edit
dl
rm
gdfontg.h
553
0644
edit
dl
rm
gdfontl.h
551
0644
edit
dl
rm
gdfontmb.h
519
0644
edit
dl
rm
gdfonts.h
515
0644
edit
dl
rm
gdfontt.h
546
0644
edit
dl
rm
gdfx.h
497
0644
edit
dl
rm
gdpp.h
52162
0644
edit
dl
rm
gd_color_map.h
478
0644
edit
dl
rm
gd_errors.h
1503
0644
edit
dl
rm
gd_io.h
3125
0644
edit
dl
rm
gelf.h
11406
0644
edit
dl
rm
getopt.h
1468
0644
edit
dl
rm
gettext-po.h
15534
0644
edit
dl
rm
glob.h
6614
0644
edit
dl
rm
gnu-versions.h
2342
0644
edit
dl
rm
gnumake.h
2912
0644
edit
dl
rm
gpg-error.h
67879
0644
edit
dl
rm
gpgrt.h
67879
0644
edit
dl
rm
grp.h
6686
0644
edit
dl
rm
gshadow.h
4528
0644
edit
dl
rm
gssapi.h
181
0644
edit
dl
rm
iconv.h
1857
0644
edit
dl
rm
idn-free.h
2472
0644
edit
dl
rm
idn-int.h
20
0644
edit
dl
rm
idna.h
3564
0644
edit
dl
rm
ieee754.h
4910
0644
edit
dl
rm
ifaddrs.h
2840
0644
edit
dl
rm
inttypes.h
11892
0644
edit
dl
rm
jconfig-64.h
2225
0644
edit
dl
rm
jconfig.h
246
0644
edit
dl
rm
jerror.h
15088
0644
edit
dl
rm
jmorecfg.h
15049
0644
edit
dl
rm
jpegint.h
15586
0644
edit
dl
rm
jpeglib.h
49875
0644
edit
dl
rm
kdb.h
69285
0644
edit
dl
rm
keyutils.h
7698
0644
edit
dl
rm
krad.h
8933
0644
edit
dl
rm
krb5.h
402
0644
edit
dl
rm
langinfo.h
17848
0644
edit
dl
rm
lastlog.h
126
0644
edit
dl
rm
libaio.h
8937
0644
edit
dl
rm
libelf.h
20318
0644
edit
dl
rm
libgen.h
1385
0644
edit
dl
rm
libintl.h
4579
0644
edit
dl
rm
limits.h
5412
0644
edit
dl
rm
link.h
7218
0644
edit
dl
rm
locale.h
7674
0644
edit
dl
rm
ltdl.h
5709
0644
edit
dl
rm
lzma.h
9817
0644
edit
dl
rm
malloc.h
6102
0644
edit
dl
rm
math.h
53318
0644
edit
dl
rm
mcheck.h
2434
0644
edit
dl
rm
memory.h
955
0644
edit
dl
rm
menu.h
12197
0644
edit
dl
rm
mntent.h
3358
0644
edit
dl
rm
monetary.h
1803
0644
edit
dl
rm
mqueue.h
3759
0644
edit
dl
rm
ncurses.h
99625
0644
edit
dl
rm
ncurses_dll.h
4277
0644
edit
dl
rm
nc_tparm.h
4197
0644
edit
dl
rm
ndbm.h
2454
0644
edit
dl
rm
netdb.h
28099
0644
edit
dl
rm
nlist.h
1601
0644
edit
dl
rm
nl_types.h
1752
0644
edit
dl
rm
nss.h
1878
0644
edit
dl
rm
obstack.h
21306
0644
edit
dl
rm
panel.h
4123
0644
edit
dl
rm
paths.h
2977
0644
edit
dl
rm
pcre2.h
44802
0644
edit
dl
rm
pcre2posix.h
5804
0644
edit
dl
rm
png.h
144149
0644
edit
dl
rm
pngconf.h
22845
0644
edit
dl
rm
pnglibconf.h
7567
0644
edit
dl
rm
poll.h
22
0644
edit
dl
rm
pr29.h
2123
0644
edit
dl
rm
printf.h
6800
0644
edit
dl
rm
proc_service.h
3476
0644
edit
dl
rm
profile.h
12154
0644
edit
dl
rm
pthread.h
41269
0644
edit
dl
rm
pty.h
1569
0644
edit
dl
rm
punycode.h
9384
0644
edit
dl
rm
pwd.h
6158
0644
edit
dl
rm
regex.h
24715
0644
edit
dl
rm
regexp.h
1447
0644
edit
dl
rm
resolv.h
12153
0644
edit
dl
rm
re_comp.h
962
0644
edit
dl
rm
sched.h
4732
0644
edit
dl
rm
search.h
5223
0644
edit
dl
rm
semaphore.h
2399
0644
edit
dl
rm
setjmp.h
3669
0644
edit
dl
rm
sgtty.h
1343
0644
edit
dl
rm
shadow.h
5471
0644
edit
dl
rm
signal.h
12243
0644
edit
dl
rm
spawn.h
6690
0644
edit
dl
rm
stab.h
264
0644
edit
dl
rm
stdc-predef.h
2289
0644
edit
dl
rm
stdint.h
8469
0644
edit
dl
rm
stdio.h
30168
0644
edit
dl
rm
stdio_ext.h
2799
0644
edit
dl
rm
stdlib.h
35653
0644
edit
dl
rm
string.h
17587
0644
edit
dl
rm
stringprep.h
8227
0644
edit
dl
rm
strings.h
4752
0644
edit
dl
rm
syscall.h
25
0644
edit
dl
rm
sysexits.h
5232
0644
edit
dl
rm
syslog.h
24
0644
edit
dl
rm
tar.h
3785
0644
edit
dl
rm
term.h
41190
0644
edit
dl
rm
termcap.h
3473
0644
edit
dl
rm
termio.h
214
0644
edit
dl
rm
termios.h
3598
0644
edit
dl
rm
term_entry.h
8760
0644
edit
dl
rm
tgmath.h
31489
0644
edit
dl
rm
threads.h
6655
0644
edit
dl
rm
thread_db.h
16023
0644
edit
dl
rm
tic.h
13638
0644
edit
dl
rm
tiff.h
35983
0644
edit
dl
rm
tiffconf-64.h
3429
0644
edit
dl
rm
tiffconf.h
250
0644
edit
dl
rm
tiffio.h
23227
0644
edit
dl
rm
tiffio.hxx
1702
0644
edit
dl
rm
tiffvers.h
410
0644
edit
dl
rm
time.h
10360
0644
edit
dl
rm
tld.h
4650
0644
edit
dl
rm
ttyent.h
2494
0644
edit
dl
rm
uchar.h
2001
0644
edit
dl
rm
ucontext.h
2036
0644
edit
dl
rm
ulimit.h
1583
0644
edit
dl
rm
unctrl.h
3099
0644
edit
dl
rm
unistd.h
42738
0644
edit
dl
rm
utime.h
1501
0644
edit
dl
rm
utmp.h
3222
0644
edit
dl
rm
utmpx.h
4099
0644
edit
dl
rm
values.h
1955
0644
edit
dl
rm
verto-module.h
6640
0644
edit
dl
rm
verto.h
19437
0644
edit
dl
rm
wait.h
22
0644
edit
dl
rm
wchar.h
31111
0644
edit
dl
rm
wctype.h
5548
0644
edit
dl
rm
wordexp.h
2501
0644
edit
dl
rm
zbuff.h
11500
0644
edit
dl
rm
zconf.h
16262
0644
edit
dl
rm
zdict.h
17203
0644
edit
dl
rm
zlib.h
96261
0644
edit
dl
rm
zstd.h
119972
0644
edit
dl
rm
zstd_errors.h
3751
0644
edit
dl
rm
Edit:
/usr/include/gelf.h
(11406B)
/* This file defines generic ELF types, structures, and macros. Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2007, 2015 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify it under the terms of either * the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version or * the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version or both in parallel, as here. elfutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received copies of the GNU General Public License and the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _GELF_H #define _GELF_H 1 #include <libelf.h> #ifdef __cplusplus extern "C" { #endif /* Class independent type definitions. Correctly speaking this is not true. We assume that 64-bit binaries are the largest class and therefore all other classes can be represented without loss. */ /* Type for a 16-bit quantity. */ typedef Elf64_Half GElf_Half; /* Types for signed and unsigned 32-bit quantities. */ typedef Elf64_Word GElf_Word; typedef Elf64_Sword GElf_Sword; /* Types for signed and unsigned 64-bit quantities. */ typedef Elf64_Xword GElf_Xword; typedef Elf64_Sxword GElf_Sxword; /* Type of addresses. */ typedef Elf64_Addr GElf_Addr; /* Type of file offsets. */ typedef Elf64_Off GElf_Off; /* The ELF file header. This appears at the start of every ELF file. */ typedef Elf64_Ehdr GElf_Ehdr; /* Section header. */ typedef Elf64_Shdr GElf_Shdr; /* Section index. */ /* XXX This should probably be a larger type in preparation of times when regular section indices can be larger. */ typedef Elf64_Section GElf_Section; /* Symbol table entry. */ typedef Elf64_Sym GElf_Sym; /* The syminfo section if available contains additional information about every dynamic symbol. */ typedef Elf64_Syminfo GElf_Syminfo; /* Relocation table entry without addend (in section of type SHT_REL). */ typedef Elf64_Rel GElf_Rel; /* Relocation table entry with addend (in section of type SHT_RELA). */ typedef Elf64_Rela GElf_Rela; /* Relative relocation entry (in section of type SHT_RELR). */ typedef Elf64_Relr GElf_Relr; /* Program segment header. */ typedef Elf64_Phdr GElf_Phdr; /* Header of a compressed section. */ typedef Elf64_Chdr GElf_Chdr; /* Dynamic section entry. */ typedef Elf64_Dyn GElf_Dyn; /* Version definition sections. */ typedef Elf64_Verdef GElf_Verdef; /* Auxiliary version information. */ typedef Elf64_Verdaux GElf_Verdaux; /* Version dependency section. */ typedef Elf64_Verneed GElf_Verneed; /* Auxiliary needed version information. */ typedef Elf64_Vernaux GElf_Vernaux; /* Type for version symbol information. */ typedef Elf64_Versym GElf_Versym; /* Auxiliary vector. */ typedef Elf64_auxv_t GElf_auxv_t; /* Note section contents. */ typedef Elf64_Nhdr GElf_Nhdr; /* Move structure. */ typedef Elf64_Move GElf_Move; /* Library list structure. */ typedef Elf64_Lib GElf_Lib; /* How to extract and insert information held in the st_info field. */ #define GELF_ST_BIND(val) ELF64_ST_BIND (val) #define GELF_ST_TYPE(val) ELF64_ST_TYPE (val) #define GELF_ST_INFO(bind, type) ELF64_ST_INFO (bind, type) /* How to extract information held in the st_other field. */ #define GELF_ST_VISIBILITY(val) ELF64_ST_VISIBILITY (val) /* How to extract and insert information held in the r_info field. */ #define GELF_R_SYM(info) ELF64_R_SYM (info) #define GELF_R_TYPE(info) ELF64_R_TYPE (info) #define GELF_R_INFO(sym, type) ELF64_R_INFO (sym, type) /* How to extract and insert information held in the m_info field. */ #define GELF_M_SYM(info) ELF64_M_SYM (info) #define GELF_M_SIZE(info) ELF64_M_SIZE (info) #define GELF_M_INFO(sym, size) ELF64_M_INFO (sym, size) /* Get class of the file associated with ELF. */ extern int gelf_getclass (Elf *__elf); /* Return size of array of COUNT elements of the type denoted by TYPE in the external representation. The binary class is taken from ELF. The result is based on version VERSION of the ELF standard. */ extern size_t gelf_fsize (Elf *__elf, Elf_Type __type, size_t __count, unsigned int __version); /* Retrieve object file header. */ extern GElf_Ehdr *gelf_getehdr (Elf *__elf, GElf_Ehdr *__dest); /* Update the ELF header. */ extern int gelf_update_ehdr (Elf *__elf, GElf_Ehdr *__src); /* Create new ELF header if none exists. Creates an Elf32_Ehdr if CLASS is ELFCLASS32 or an Elf64_Ehdr if CLASS is ELFCLASS64. Returns NULL on error. */ extern void *gelf_newehdr (Elf *__elf, int __class); /* Get section at OFFSET. */ extern Elf_Scn *gelf_offscn (Elf *__elf, GElf_Off __offset); /* Retrieve section header. */ extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst); /* Update section header. */ extern int gelf_update_shdr (Elf_Scn *__scn, GElf_Shdr *__src); /* Retrieve program header table entry. */ extern GElf_Phdr *gelf_getphdr (Elf *__elf, int __ndx, GElf_Phdr *__dst); /* Update the program header. */ extern int gelf_update_phdr (Elf *__elf, int __ndx, GElf_Phdr *__src); /* Create new program header with PHNUM entries. Creates either an Elf32_Phdr or an Elf64_Phdr depending on whether the given ELF is ELFCLASS32 or ELFCLASS64. Returns NULL on error. */ extern void *gelf_newphdr (Elf *__elf, size_t __phnum); /* Get compression header of section if any. Returns NULL and sets elf_errno if the section isn't compressed or an error occurred. */ extern GElf_Chdr *gelf_getchdr (Elf_Scn *__scn, GElf_Chdr *__dst); /* Convert data structure from the representation in the file represented by ELF to their memory representation. */ extern Elf_Data *gelf_xlatetom (Elf *__elf, Elf_Data *__dest, const Elf_Data *__src, unsigned int __encode); /* Convert data structure from to the representation in memory represented by ELF file representation. */ extern Elf_Data *gelf_xlatetof (Elf *__elf, Elf_Data *__dest, const Elf_Data *__src, unsigned int __encode); /* Retrieve REL relocation info at the given index. */ extern GElf_Rel *gelf_getrel (Elf_Data *__data, int __ndx, GElf_Rel *__dst); /* Retrieve RELA relocation info at the given index. */ extern GElf_Rela *gelf_getrela (Elf_Data *__data, int __ndx, GElf_Rela *__dst); /* Update REL relocation information at given index. */ extern int gelf_update_rel (Elf_Data *__dst, int __ndx, GElf_Rel *__src); /* Update RELA relocation information at given index. */ extern int gelf_update_rela (Elf_Data *__dst, int __ndx, GElf_Rela *__src); /* Retrieve symbol information from the symbol table at the given index. */ extern GElf_Sym *gelf_getsym (Elf_Data *__data, int __ndx, GElf_Sym *__dst); /* Update symbol information in the symbol table at the given index. */ extern int gelf_update_sym (Elf_Data *__data, int __ndx, GElf_Sym *__src); /* Retrieve symbol information and separate section index from the symbol table at the given index. */ extern GElf_Sym *gelf_getsymshndx (Elf_Data *__symdata, Elf_Data *__shndxdata, int __ndx, GElf_Sym *__sym, Elf32_Word *__xshndx); /* Update symbol information and separate section index in the symbol table at the given index. */ extern int gelf_update_symshndx (Elf_Data *__symdata, Elf_Data *__shndxdata, int __ndx, GElf_Sym *__sym, Elf32_Word __xshndx); /* Retrieve additional symbol information from the symbol table at the given index. */ extern GElf_Syminfo *gelf_getsyminfo (Elf_Data *__data, int __ndx, GElf_Syminfo *__dst); /* Update additional symbol information in the symbol table at the given index. */ extern int gelf_update_syminfo (Elf_Data *__data, int __ndx, GElf_Syminfo *__src); /* Get information from dynamic table at the given index. */ extern GElf_Dyn *gelf_getdyn (Elf_Data *__data, int __ndx, GElf_Dyn *__dst); /* Update information in dynamic table at the given index. */ extern int gelf_update_dyn (Elf_Data *__dst, int __ndx, GElf_Dyn *__src); /* Get move structure at the given index. */ extern GElf_Move *gelf_getmove (Elf_Data *__data, int __ndx, GElf_Move *__dst); /* Update move structure at the given index. */ extern int gelf_update_move (Elf_Data *__data, int __ndx, GElf_Move *__src); /* Get library from table at the given index. */ extern GElf_Lib *gelf_getlib (Elf_Data *__data, int __ndx, GElf_Lib *__dst); /* Update library in table at the given index. */ extern int gelf_update_lib (Elf_Data *__data, int __ndx, GElf_Lib *__src); /* Retrieve symbol version information at given index. */ extern GElf_Versym *gelf_getversym (Elf_Data *__data, int __ndx, GElf_Versym *__dst); /* Update symbol version information. */ extern int gelf_update_versym (Elf_Data *__data, int __ndx, GElf_Versym *__src); /* Retrieve required symbol version information at given offset. */ extern GElf_Verneed *gelf_getverneed (Elf_Data *__data, int __offset, GElf_Verneed *__dst); /* Update required symbol version information. */ extern int gelf_update_verneed (Elf_Data *__data, int __offset, GElf_Verneed *__src); /* Retrieve additional required symbol version information at given offset. */ extern GElf_Vernaux *gelf_getvernaux (Elf_Data *__data, int __offset, GElf_Vernaux *__dst); /* Update additional required symbol version information. */ extern int gelf_update_vernaux (Elf_Data *__data, int __offset, GElf_Vernaux *__src); /* Retrieve symbol version definition information at given offset. */ extern GElf_Verdef *gelf_getverdef (Elf_Data *__data, int __offset, GElf_Verdef *__dst); /* Update symbol version definition information. */ extern int gelf_update_verdef (Elf_Data *__data, int __offset, GElf_Verdef *__src); /* Retrieve additional symbol version definition information at given offset. */ extern GElf_Verdaux *gelf_getverdaux (Elf_Data *__data, int __offset, GElf_Verdaux *__dst); /* Update additional symbol version definition information. */ extern int gelf_update_verdaux (Elf_Data *__data, int __offset, GElf_Verdaux *__src); /* Get auxv entry at the given index. */ extern GElf_auxv_t *gelf_getauxv (Elf_Data *__data, int __ndx, GElf_auxv_t *__dst); /* Update auxv entry at the given index. */ extern int gelf_update_auxv (Elf_Data *__data, int __ndx, GElf_auxv_t *__src); /* Get note header at the given offset into the data, and the offsets of the note's name and descriptor data. Returns the offset of the next note header, or 0 for an invalid offset or corrupt note header. */ extern size_t gelf_getnote (Elf_Data *__data, size_t __offset, GElf_Nhdr *__result, size_t *__name_offset, size_t *__desc_offset); /* Compute simple checksum from permanent parts of the ELF file. */ extern long int gelf_checksum (Elf *__elf); #ifdef __cplusplus } #endif #endif /* gelf.h */
Save
cmd:
run