Нужна прога которая бы вытаскивала названия процедур и функций из динамической библиотеки.
можно использовать это:
Код:
readelf -s file.so
objdump -T -C file.so
Выводит примерно следующее:
Код:
0005f220 w DF .text 0000009b GLIBC_2.0 __vsscanf
0006dea0 g DF .text 000000fb GLIBC_2.0 free
0007c910 g DF .text 0000014d GLIBC_2.0 wcsstr
0007c7d0 g DF .text 00000023 GLIBC_2.0 wcsrchr
00023bf0 g DF .text 0000005e GLIBC_2.0 ispunct
000674c0 g DF .text 0000003b GLIBC_2.0 _IO_file_seek
00159800 g DO .bss 00000004 GLIBC_2.0 __daylight
000e3fc0 g DF .text 00000005 GLIBC_2.2 __cyg_profile_func_exit
000dd6c0 g DF .text 00000043 GLIBC_2.0 pthread_attr_getinheritsched
000e5470 g DF .text 0000002d GLIBC_2.5 __readlinkat_chk
000fe6b0 g DF .text 00000076 GLIBC_2.1 key_decryptsession
000e3190 g DF .text 00000095 GLIBC_PRIVATE __nss_hosts_lookup2
000cfd90 g DF .text 00000153 GLIBC_2.0 vwarn
0007cc70 w DF .text 0000002b GLIBC_2.0 wcpcpy
Можно так
Код:
cat 1.txt | cut -d ' ' -f19
или так
Код:
readelf -s имяфайла.so | awk '{print $8}'
или так
Код:
readelf -s имяфайла.so | awk '{printf "%s\t", $8}'
readelf -s имяфайла.so | awk '{print "123", $8,"123","\n"}'