07-08-2007
How can i read a non text file in unix - ELF-64 executable object file - IA64
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help
9 More Discussions You Might Find Interesting
1. Programming
Hi,
We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them:
Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies
2. UNIX for Dummies Questions & Answers
Hi, I know nothing about Unix. Recently received image files from a client. Mac sees it as a Unix executable file. How do I convert these files to Tiff?
Thanks for helping. (1 Reply)
Discussion started by: Pet Teoh
1 Replies
3. Shell Programming and Scripting
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Discussion started by: lazybaer
6 Replies
4. Shell Programming and Scripting
Hi,
I want to write an executable file in unix env to go to a particular path instead of always typing the long path cd /app/oracle/product/10.2.0/Db_1/scripts/prejib/sample.
I have tried with the below script in but not working . please help me
bash-3.00$ cat a.sh
#!/bin/sh ... (3 Replies)
Discussion started by: prejib
3 Replies
5. Shell Programming and Scripting
Hello, everyone. I am working wtihin AIX 5.3, and I need to do the following:
read the each line of file BASE.txt
do XK {line contents}
if XK's output begins with "BASE", then append line contents to file "output.txt"
continue until end of file
Here is what I tried(unsuccessfuly):
... (4 Replies)
Discussion started by: Mordaris
4 Replies
6. Shell Programming and Scripting
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Discussion started by: An0mander
2 Replies
7. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
8. Shell Programming and Scripting
Hi,
We are in the process of migrating from AIX to Linux. There is a script of type "executable (RISC System/6000) or object module not stripped" on AIX and we are unable to read the contents of it.
Is there a way to read the contents of the file on AIX, so that we can rewrite the code in... (3 Replies)
Discussion started by: venkatesh17
3 Replies
9. Shell Programming and Scripting
i have a text file as belows, it includes 2 columns, 1st is the column name, 2nd is the file_name
data_file.txt
column_name file_name
col1 file1
col2 file2
col3 file1
col4 file1
col5 file2
now, i would like to... (4 Replies)
Discussion started by: tester111
4 Replies
LEARN ABOUT SUNOS
elf_kind
elf_kind(3ELF) ELF Library Functions elf_kind(3ELF)
NAME
elf_kind - determine file type
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ]
#include <libelf.h>
Elf_Kind elf_kind(Elf *elf);
DESCRIPTION
This function returns a value identifying the kind of file associated with an ELF descriptor (elf). Defined values are below:
ELF_K_AR The file is an archive [see ar.h(3HEAD)]. An ELF descriptor may also be associated with an archive member, not the archive
itself, and then elf_kind() identifies the member's type.
ELF_K_COFF The file is a COFF object file. elf_begin(3ELF) describes the library's handling for COFF files.
ELF_K_ELF The file is an ELF file. The program may use elf_getident() to determine the class. Other functions, such as elf32_gete-
hdr(), are available to retrieve other file information.
ELF_K_NONE This indicates a kind of file unknown to the library.
Other values are reserved, to be assigned as needed to new kinds of files. elf should be a value previously returned by elf_begin(). A null
pointer is allowed, to simplify error handling, and causes elf_kind() to return ELF_K_NONE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
ar.h(3HEAD), elf(3ELF), elf32_getehdr(3ELF), elf_begin(3ELF), elf_getident(3ELF), libelf(3LIB), attributes(5)
SunOS 5.10 11 Jul 2001 elf_kind(3ELF)