readelf string from .text code

example

 cat  hello.c
#include
int main()
{
        printf("Hello world  \n");
        return 1 ;
}
 

$ readelf   -p .rodata        hello-x86

String dump of section '.rodata':
  [    10]  Hello world
 

 

 

Example with toolchaine

 

 /usr/local/toolchain/bin/arm-linux-gnueabihf-readelf    -p .rodata        libXXXXX.so     |grep   VRIPTVClient
  [   8c0]  VRIPTVClient_4.2.3.6_CI_vip5305_PROD_7.0.0

 

你可能感兴趣的:(Debug,Linux,CrossPlatform)