Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I used nm command to inspect the function names in a .so library. And the result I got is like this:

00009634 T _Z24ICTCLAS_ParagraphProcessPKciPc9eCodeTypeb
00009764 T _Z25ICTCLAS_ParagraphProcessAPKciRi9eCodeTypeb
00009b24 T _Z26ICTCLAS_ParagraphProcessAWPKcP17tagICTCLAS_Result9eCodeTypeb

Actually there are functions called ParagraphProcess and ParagraphProcessA.

But how to interpret the prefix(_Z24ICTCLAS_) and suffix(PKciPc9eCodeTypeb) and the address-like string(00009634) at the start of the line?

share|improve this question

1 Answer 1

Have you tried using the -C flag on the nm command? It should demangle the names.

share|improve this answer
    
Thanks, man is a great tool. –  xiaohan2012 Feb 27 '12 at 10:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.