About the symbols in binary file.
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_mac00000ffa T tls1_change_cipher_state00000a22 T tls1_enc000006fc T tls1_final_finish_mac0000063d T tls1_generate_master_secret
00001734 T tls1_mac00000d2a T tls1_setup_key_block
Signature · 2 lines
Thanks, Nilesh
Quoted 11 lines · 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.
Quoted 3 lines
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.
Quoted 12 lines · Daniel Baluta
Quoted 11 lines · 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.
Quoted 5 lines
Quoted 3 lines
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. :)
Quoted 3 lines
thanks,
Daniel.
Signature · 2 lines
Thanks, Nilesh