From: Gery <zaphod001@gmail.com>
To: Glynn Clements <glynn@gclements.plus.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: reading elf section data
Date: Mon, 12 Nov 2007 13:25:15 -0500 [thread overview]
Message-ID: <47389A8B.8030108@gmail.com> (raw)
In-Reply-To: <18232.12586.211596.82841@cerise.gclements.plus.com>
Glynn Clements wrote:
> Gery wrote:
>
>
>> How to read in human format data from elf section?
>>
>
> Can you be more specific? What kind of data? What format?
>
> objdump and readelf can provide a lot of information about ELF files,
> but they can't decode every type of data which could conceivably be
> stored in an ELF file.
>
>
Ok.
i put some structure with gcc attribute to special section named ".my_sec"
The structure is like
struct abc {
char *a;
char *b;
};
and global variable is
struct abc klm = { "this is 1st string", "this is 2nd string" };
Which utility can show me just the data of that section?
next prev parent reply other threads:[~2007-11-12 18:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 13:36 reading elf section data Gery
2007-11-12 10:55 ` Glynn Clements
2007-11-12 11:29 ` Steve Graegert
2007-11-12 18:37 ` Gery
2007-11-12 12:07 ` Steve Graegert
2007-11-12 19:11 ` Gery
2007-11-12 18:25 ` Gery [this message]
2007-11-12 15:56 ` Glynn Clements
2007-11-13 15:22 ` Gery
2007-11-13 9:13 ` Kristof Provost
2007-11-13 16:22 ` Gery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47389A8B.8030108@gmail.com \
--to=zaphod001@gmail.com \
--cc=glynn@gclements.plus.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.