Searched refs:elf_begin (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/man/man3elf/
H A DMakefile28 elf_begin.3elf \
128 elf_end.3elf := LINKSRC = elf_begin.3elf
129 elf_memory.3elf := LINKSRC = elf_begin.3elf
130 elf_next.3elf := LINKSRC = elf_begin.3elf
131 elf_rand.3elf := LINKSRC = elf_begin.3elf
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dpcom.c30 * elf_begin(ELF_C_READ) and examine search the ELF file
130 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
170 * Initialize the elf library, must be called before elf_begin()
194 if ((elf = elf_begin(fd, ELF_C_READ, 0)) == NULL) {
195 (void) fprintf(stderr, "elf_begin() failed: %s\n",
H A Dtpcom.c34 * of elf_begin(ELF_C_READ).
141 while ((_elf = elf_begin(pep->pe_fd, cmd,
198 * Initialize the elf library, must be called before elf_begin()
234 if ((elf = elf_begin(fd, ELF_C_READ, 0)) == NULL) {
236 (void) fprintf(stderr, "elf_begin() failed: %s\n",
H A Dacom.c166 * Initialize the elf library, must be called before elf_begin()
196 if ((elf = elf_begin(fd, ELF_C_RDWR, 0)) == NULL) {
197 (void) fprintf(stderr, "elf_begin() failed: %s\n",
H A Ddcom.c31 * dcom creates a new ELF file using elf_begin(ELF_C_WRITE).
175 if ((telf = elf_begin(tfd, ELF_C_WRITE, 0)) == NULL) {
176 (void) fprintf(stderr, "elf_begin(ELF_C_WRITE) failed: %s\n",
360 * Initialize the elf library, must be called before elf_begin()
385 if ((elf = elf_begin(fd, ELF_C_READ, 0)) == NULL) {
386 (void) fprintf(stderr, "elf_begin() failed: %s\n",
H A Ddispsyms.c30 * elf_begin(ELF_C_READ) and examine search the ELF file
298 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
339 * Initialize the elf library, must be called before elf_begin()
363 if ((elf = elf_begin(fd, ELF_C_READ, 0)) == NULL) {
364 (void) fprintf(stderr, "elf_begin() failed: %s\n",
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dmain.c193 if ((arf = elf_begin(fd, cmd, arf)) == 0) {
206 while ((elf = elf_begin(fd, cmd, arf)) != 0) {
/illumos-gate/usr/src/cmd/boot/symdef/
H A Dsymdef.c87 elfp = elf_begin(fd, ELF_C_READ, NULL);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dinput.c137 while ((melf = elf_begin(fd, cmd, elf)) != NULL) {
197 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
257 while ((melf = elf_begin(fd, cmd, elf)) != NULL) {
295 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
H A Dctfconvert.c96 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c99 if ((elf = elf_begin(fd, ELF_C_RDWR, NULL)) == NULL)
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c77 elfdes = elf_begin(fd, ELF_C_READ, (Elf *)0);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_original_elf_init.c115 elf_file_pointer = elf_begin(fd, what_kind_of_elf_read, 0);
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c89 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
182 * so directly do elf_begin()
184 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
208 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c157 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
/illumos-gate/usr/src/head/
H A Dlibelf.h159 Elf *elf_begin(int, Elf_Cmd, Elf *);
/illumos-gate/usr/src/cmd/mdb/tools/findfp/sparc/
H A Dfindfp.c119 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A DsymintOpen.c170 if ((pfile_p->pf_elf_p = elf_begin(pfile_p->pf_fildes,
H A Drdelf.c53 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
54 (void) fprintf(stderr, "%s: elf_begin failed\n", cmdname);
403 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
404 (void) fprintf(stderr, "%s: elf_begin failed\n", cmdname);
/illumos-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c155 elf = elf_begin(fd, ELF_C_READ, NULL);
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c188 while (!found && ((_elf = elf_begin(fd, cmd, elf)) != NULL)) {
440 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dllib-lelf102 Elf * elf_begin(int, Elf_Cmd, Elf *);
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c120 elf = elf_begin(fd, ELF_C_READ, NULL);
514 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dmain.c638 } else if ((_elf = elf_begin(fd,
689 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
959 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c235 if ((ielf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
260 if ((oelf = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) {
752 if ((melf = elf_begin(0, ELF_C_IMAGE, oelf)) == NULL) {

Completed in 115 milliseconds

123