Re: [OOT] About the symbols in binary file.

2012-01-20 Thread nilesh
On Friday 20 January 2012 03:37 PM, Daniel Baluta wrote:
> On Fri, Jan 20, 2012 at 11:56 AM, nilesh  wrote:
>> 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?
>
> man nm :)
Missed that..Sorry for being lazy to check before posting the dumb query. :)

>
> thanks,
> Daniel.

-- 
Thanks,
Nilesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: [OOT] About the symbols in binary file.

2012-01-20 Thread Daniel Baluta
On Fri, Jan 20, 2012 at 11:56 AM, nilesh  wrote:
> 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?

man nm :)

thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[OOT] About the symbols in binary file.

2012-01-20 Thread nilesh
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?

0499 t tls1_PRF
0019 t tls1_P_hash
 T tls1_alert_code
0937 T tls1_cert_verify_mac
0ffa T tls1_change_cipher_state
0a22 T tls1_enc
06fc T tls1_final_finish_mac
063d T tls1_generate_master_secret
1734 T tls1_mac
0d2a T tls1_setup_key_block


-- 
Thanks,
Nilesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies