kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: nilesh.tayade@netscout.com (nilesh)
To: kernelnewbies@lists.kernelnewbies.org
Subject: [OOT] About the symbols in binary file.
Date: Fri, 20 Jan 2012 15:26:46 +0530	[thread overview]
Message-ID: <4F193A5E.4050603@netscout.com> (raw)

Hi,

The question is not completely related to kernel. But I came across 
similar question when debugging in kernel.

I tried dissecting the SSL library using 'nm' command. It is showing the 
list of symbols along with some generic addresses (to be used when 
relocating).
Also there are some characters 't', 'T', 'U'. I guess these correspond 
to properties of symbols - like static, extern etc.

Could someone please point out what exactly each character corresponds to?
I mean looking at the character, we should be able to denote if it's a 
static symbol or inline etc. Do we have any such mapping?

00000499 t tls1_PRF
00000019 t tls1_P_hash
00000000 T tls1_alert_code
00000937 T tls1_cert_verify_mac
00000ffa T tls1_change_cipher_state
00000a22 T tls1_enc
000006fc T tls1_final_finish_mac
0000063d T tls1_generate_master_secret
00001734 T tls1_mac
00000d2a T tls1_setup_key_block


-- 
Thanks,
Nilesh

             reply	other threads:[~2012-01-20  9:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20  9:56 nilesh [this message]
2012-01-20 10:07 ` [OOT] About the symbols in binary file Daniel Baluta
2012-01-20 11:10   ` nilesh

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=4F193A5E.4050603@netscout.com \
    --to=nilesh.tayade@netscout.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).