9 More Discussions You Might Find Interesting
1. Solaris
guys anyone knows a solution for this?
wrong ELF class: ELFCLASS64
pwrcard:cms-dev:/pcard16/pwrcard/src/interfaces/interface_host>isainfo -v
64-bit sparcv9 applications
vis2 vis
32-bit sparc applications
vis2 vis v8plus div32 mul32... (1 Reply)
Discussion started by: q8devilish
1 Replies
2. Shell Programming and Scripting
Hoping theres something already out there like this.
I have a list of proccesses who's "ps -elf" (field 10) values I need to continuously monitor and if the values of field 10 start to signiciantly increase (double, triple) then do something. The field 10 is the "memory size" field.
(these... (4 Replies)
Discussion started by: ajp7701
4 Replies
3. Programming
Hi!!! How do I create a file .ELF? What code should I use, could help me with a simple code or example? I know programming to Windows by important languages but this seems to be more sistematical, and I really don't know how to. (2 Replies)
Discussion started by: linecoder
2 Replies
4. BSD
Anyone, perhaps got DG/UX ELF binaries running on an old *BSD system?
I've tried a lot of different kinds, with COMPAT_SVR4 compiled in and ibcs support, all ended up with Segement Fault or Bus Error errors. (2 Replies)
Discussion started by: dgux
2 Replies
5. UNIX for Advanced & Expert Users
Dear Group,
I want to prepare an ELF file which can be downloaded dynamically to any address in the moemory and executes as a new task/thread/process.
1) for this what are all the compileation, linker options while building the ELF file?
2) which parts of ELF file has to modified while... (1 Reply)
Discussion started by: ravinder.are
1 Replies
6. Solaris
Hi Anyone,
I have two disks , one is primary and anothe is mirror.
I checked my mirror disk , It was fine.
After that i booted from my primary disk, did some installations regarding kernel patches.
It did not get booted properly. It says
====================
Not a valid... (2 Replies)
Discussion started by: jegaraman
2 Replies
7. Programming
hello everybody!
I want to read the string table of an object file(which is in ELF format).
I get the sh_name value but i cant find a way to read the value in the string table that this index represent. I program in C.
thanx a lot folks! (3 Replies)
Discussion started by: nicos
3 Replies
8. Linux
Hello,
This is not exactly relevant to Linux kernel but I'm gonna ask any way.
Is there any way I can modify a 64-bit ELF object file to make it look like 32-bit ELF object file and link it (using `ld`) with 32-bit ELF file?
I tried libelf but was unsuccessful. I had this pretty link... (1 Reply)
Discussion started by: tejuwala
1 Replies
9. UNIX for Advanced & Expert Users
Hi all!
Could anybody tell me what this means?
# /usr/local/sbin/sshd
ld.so.1: /usr/local/sbin/sshd: fatal: /usr/local/lib/libcrypto.so.0.9.6: bad ELF flags value: 256
Killed
Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies
GELF_CHECKSUM(3) BSD Library Functions Manual GELF_CHECKSUM(3)
NAME
elf32_checksum, elf64_checksum, gelf_checksum -- return the checksum of an ELF object
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
long
elf32_checksum(Elf *elf);
long
elf64_checksum(Elf *elf);
#include <gelf.h>
long
gelf_checksum(Elf *elf);
DESCRIPTION
These functions return a simple checksum of the ELF object described by their argument elf. The checksum is computed in way that allows its
value to remain unchanged in presence of modifications to the ELF object by utilities like strip(1).
Function elf32_checksum() returns a checksum for an ELF descriptor elf of class ELFCLASS32.
Function elf64_checksum() returns a checksum for an ELF descriptor elf of class ELFCLASS64.
Function gelf_checksum() provides a class-independent way retrieving the checksum for ELF object elf.
RETURN VALUES
These functions return the checksum of the ELF object, or zero in case an error was encountered.
ERRORS
These functions may fail with the following errors:
[ELF_E_ARGUMENT] Argument elf was NULL.
[ELF_E_ARGUMENT] Argument elf was not a descriptor for an ELF file.
[ELF_E_ARGUMENT] The ELF descriptor elf was not opened for reading or updating.
[ELF_E_CLASS] For functions elf32_checksum() and elf64_checksum(), ELF descriptor elf did not match the class of the called function.
[ELF_E_HEADER] The ELF object specified by argument elf had a malformed executable header.
[ELF_E_RESOURCE] An out of memory condition was detected during processing.
[ELF_E_SECTION] The ELF object specified by argument elf contained a section with a malformed section header.
[ELF_E_VERSION] The ELF object was of an unsupported version.
SEE ALSO
strip(1), elf(3), gelf(3)
BSD
August 29, 2006 BSD