linux依赖包追查

###########################

which

[root@igoodful ~]# which ssh-keygen 
/usr/bin/ssh-keygen

 

ldd

[root@igoodful ~]# ldd /usr/bin/ssh-keygen
    linux-vdso.so.1 =>  (0x00007ffc819f7000)
    libfipscheck.so.1 => /lib64/libfipscheck.so.1 (0x00007f2f9fe6c000)
    libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f2f9fa09000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f2f9f805000)
    libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f2f9f5b0000)
    liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f2f9f3a1000)
    libutil.so.1 => /lib64/libutil.so.1 (0x00007f2f9f19e000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f2f9ef88000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f2f9ed51000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f2f9eb37000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f2f9e769000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f2fa02d5000)
    libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f2f9e54c000)
    libssl.so.10 => /lib64/libssl.so.10 (0x00007f2f9e2da000)
    libssl3.so => /lib64/libssl3.so (0x00007f2f9e075000)
    libsmime3.so => /lib64/libsmime3.so (0x00007f2f9de4d000)
    libnss3.so => /lib64/libnss3.so (0x00007f2f9db13000)
    libnssutil3.so => /lib64/libnssutil3.so (0x00007f2f9d8e3000)
    libplds4.so => /lib64/libplds4.so (0x00007f2f9d6df000)
    libplc4.so => /lib64/libplc4.so (0x00007f2f9d4da000)
    libnspr4.so => /lib64/libnspr4.so (0x00007f2f9d29b000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2f9d07f000)
    libfreebl3.so => /lib64/libfreebl3.so (0x00007f2f9ce7c000)
    libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f2f9cc2f000)
    libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f2f9c946000)
    libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f2f9c713000)
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f2f9c50f000)
    libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f2f9c2ff000)
    librt.so.1 => /lib64/librt.so.1 (0x00007f2f9c0f7000)
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f2f9bef3000)
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f2f9bccc000)
    libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f2f9ba6a000)

 

 

objdump

[root@igoodful ~]# objdump -tT /lib64/libcrypto.so.10 |grep -i openssl_1
000000000010f250 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECDSA_SIG_free
0000000000110010 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC ECDSA_OpenSSL
000000000010f070 g    DF .text    0000000000000039  OPENSSL_1.0.1_EC ECDSA_set_ex_data
00000000004417e0 g    DO .data.rel.ro    0000000000000038  OPENSSL_1.0.1_EC ECDSA_SIG_it
00000000000e20d0 g    DF .text    0000000000000082  OPENSSL_1.0.1_EC EC_POINT_copy
000000000010f050 g    DF .text    0000000000000019  OPENSSL_1.0.1_EC ECDSA_get_ex_new_index
00000000000e1f20 g    DF .text    0000000000000022  OPENSSL_1.0.1_EC EC_POINT_free
000000000010f1d0 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC ECDSA_METHOD_set_name
00000000000e3010 g    DF .text    00000000000000e6  OPENSSL_1.0.1_EC EC_GROUP_set_generator
00000000000e2490 g    DF .text    0000000000000051  OPENSSL_1.0.1_EC EC_POINT_dup
00000000000e1a00 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_GROUP_set_point_conversion_form
00000000000e8a00 g    DF .text    00000000000000f1  OPENSSL_1.0.1_EC EC_POINT_bn2point
00000000001ba5a0 g    DO .rodata    000000000000002c  OPENSSL_1.0.1_EC EC_version
000000000010ef20 g    DF .text    0000000000000049  OPENSSL_1.0.1_EC ECDSA_set_method
00000000000eb410 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC EC_KEY_get0_private_key
00000000000f40e0 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC EC_GFp_nistp256_method
00000000000e19d0 g    DF .text    0000000000000014  OPENSSL_1.0.1_EC EC_GROUP_set_asn1_flag
000000000010ed10 g    DF .text    0000000000000025  OPENSSL_1.0.1_EC ECDSA_get_default_method
00000000000e8b00 g    DF .text    0000000000000119  OPENSSL_1.0.1_EC EC_POINT_point2hex
00000000000e9400 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECPKPARAMETERS_free
00000000000e2770 g    DF .text    000000000000007b  OPENSSL_1.0.1_EC EC_POINT_add
00000000000fa2b0 g    DF .text    00000000000000c7  OPENSSL_1.0.1_EC EC_POINT_oct2point
00000000000e2ed0 g    DF .text    0000000000000035  OPENSSL_1.0.1_EC EC_GROUP_precompute_mult
00000000000e2570 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_set_Jprojective_coordinates_GFp
00000000000e2960 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_is_on_curve
00000000000fa110 g    DF .text    00000000000000c7  OPENSSL_1.0.1_EC EC_POINT_set_compressed_coordinates_GFp
00000000000eadb0 g    DF .text    0000000000000032  OPENSSL_1.0.1_EC EC_KEY_up_ref
00000000000e17c0 g    DF .text    0000000000000135  OPENSSL_1.0.1_EC EC_GROUP_new
00000000000e1a10 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_GROUP_get_point_conversion_form
0000000000110090 g    DF .text    0000000000000085  OPENSSL_1.0.1_EC ECDSA_sign_ex
00000000000eb6b0 g    DF .text    000000000000006f  OPENSSL_1.0.1_EC EC_KEY_get_key_method_data
00000000000e1de0 g    DF .text    0000000000000047  OPENSSL_1.0.1_EC EC_EX_DATA_clear_free_all_data
00000000004408a0 g    DO .data.rel.ro    0000000000000038  OPENSSL_1.0.1_EC EC_PRIVATEKEY_it
00000000000e86b0 g    DF .text    0000000000000064  OPENSSL_1.0.1_EC EC_curve_nist2nid
00000000000e1c90 g    DF .text    0000000000000033  OPENSSL_1.0.1_EC EC_EX_DATA_get_data
00000000000ede30 g    DF .text    0000000000000067  OPENSSL_1.0.1_EC EC_KEY_print
00000000000e1930 g    DF .text    0000000000000012  OPENSSL_1.0.1_EC EC_GROUP_get_mont_data
00000000000eb680 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_KEY_get_conv_form
00000000000e5970 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC EC_GFp_simple_method
000000000010f1a0 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC ECDSA_METHOD_set_sign_setup
00000000000eb660 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_KEY_get_enc_flags
0000000000114300 g    DF .text    0000000000000019  OPENSSL_1.0.1_EC ECDH_get_ex_new_index
00000000000e1950 g    DF .text    000000000000002c  OPENSSL_1.0.1_EC EC_GROUP_get_order
00000000000e9300 g    DF .text    0000000000000061  OPENSSL_1.0.1_EC EC_GROUP_get_basis_type
000000000006f950 g    DF .text    0000000000000015 (OPENSSL_1.0.1) SSLeay_version
000000000006f8e0 g    DF .text    0000000000000046  OPENSSL_1.0.2 SSLeay_version
00000000000eadf0 g    DF .text    0000000000000325  OPENSSL_1.0.1_EC EC_KEY_generate_key
0000000000110140 g    DF .text    000000000000004d  OPENSSL_1.0.1_EC ECDSA_sign_setup
000000000010f200 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC ECDSA_METHOD_set_app_data
00000000000e93b0 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECPARAMETERS_new
00000000000e2670 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_set_affine_coordinates_GFp
00000000000eb120 g    DF .text    000000000000029b  OPENSSL_1.0.1_EC EC_KEY_check_key
000000000010f210 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC ECDSA_METHOD_get_app_data
00000000000e2160 g    DF .text    00000000000002d9  OPENSSL_1.0.1_EC EC_GROUP_copy
00000000000e2a60 g    DF .text    00000000000002b9  OPENSSL_1.0.1_EC EC_GROUP_cmp
00000000000e1f50 g    DF .text    000000000000007a  OPENSSL_1.0.1_EC EC_GROUP_free
00000000000e8620 g    DF .text    0000000000000045  OPENSSL_1.0.1_EC EC_get_builtin_curves
00000000000e1b40 g    DF .text    000000000000003c  OPENSSL_1.0.1_EC EC_GROUP_get_degree
00000000000eb460 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC EC_KEY_get0_public_key
00000000004408e0 g    DO .data.rel.ro    0000000000000038  OPENSSL_1.0.1_EC ECPKPARAMETERS_it
00000000000e8c20 g    DF .text    0000000000000079  OPENSSL_1.0.1_EC EC_POINT_hex2point
0000000000110190 g    DF .text    0000000000000055  OPENSSL_1.0.1_EC ECDSA_do_verify
0000000000110120 g    DF .text    000000000000001e  OPENSSL_1.0.1_EC ECDSA_sign
00000000000e1fd0 g    DF .text    0000000000000042  OPENSSL_1.0.1_EC EC_POINT_clear_free
00000000000eaa60 g    DF .text    000000000000008b  OPENSSL_1.0.1_EC EC_KEY_new
0000000000110020 g    DF .text    0000000000000053  OPENSSL_1.0.1_EC ECDSA_do_sign_ex
00000000000e1910 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_METHOD_get_field_type
0000000000114090 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC ECDH_set_default_method
00000000000e1d90 g    DF .text    0000000000000047  OPENSSL_1.0.1_EC EC_EX_DATA_free_all_data
00000000000e1b80 g    DF .text    000000000000003c  OPENSSL_1.0.1_EC EC_GROUP_check_discriminant
00000000000edf30 g    DF .text    0000000000000053  OPENSSL_1.0.1_EC ECParameters_print
00000000000e2020 g    DF .text    00000000000000aa  OPENSSL_1.0.1_EC EC_GROUP_clear_free
00000000000eb3c0 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC EC_KEY_get0_group
00000000000e2500 g    DF .text    0000000000000070  OPENSSL_1.0.1_EC EC_POINT_set_to_infinity
00000000000e19c0 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_GROUP_get_curve_name
00000000000eb690 g    DF .text    000000000000001a  OPENSSL_1.0.1_EC EC_KEY_set_conv_form
00000000000edea0 g    DF .text    000000000000008e  OPENSSL_1.0.1_EC EC_KEY_print_fp
00000000000e2e70 g    DF .text    000000000000005c  OPENSSL_1.0.1_EC EC_POINT_mul
00000000000e1cd0 g    DF .text    000000000000005f  OPENSSL_1.0.1_EC EC_EX_DATA_free_data
00000000001e4ae0 g    DO .rodata    000000000000002e  OPENSSL_1.0.1_EC ECDH_version
00000000000e1ac0 g    DF .text    000000000000003c  OPENSSL_1.0.1_EC EC_GROUP_set_curve_GFp
00000000000e93c0 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECPARAMETERS_free
00000000000e1ab0 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC EC_GROUP_get_seed_len
00000000000e19b0 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_GROUP_set_curve_name
00000000000e24f0 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_POINT_method_of
000000000010f0e0 g    DF .text    00000000000000ab  OPENSSL_1.0.1_EC ECDSA_METHOD_new
00000000000f9250 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC EC_GFp_nistp521_method
00000000000e19f0 g    DF .text    0000000000000009  OPENSSL_1.0.1_EC EC_GROUP_get_asn1_flag
00000000000e1aa0 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC EC_GROUP_get0_seed
000000000010ef70 g    DF .text    00000000000000df  OPENSSL_1.0.1_EC ECDSA_size
000000000010f240 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECDSA_SIG_new
00000000000eb7e0 g    DF .text    0000000000000013  OPENSSL_1.0.1_EC EC_KEY_precompute_mult
00000000000e8940 g    DF .text    00000000000000b9  OPENSSL_1.0.1_EC EC_POINT_point2bn
000000000006f980 g    DF .text    0000000000000006 (OPENSSL_1.0.1) SSLeay
000000000006f990 g    DF .text    0000000000000006  OPENSSL_1.0.2 SSLeay
00000000000e8140 g    DF .text    00000000000004d7  OPENSSL_1.0.1_EC EC_GROUP_new_by_curve_name
0000000000000000 g    DO *ABS*    0000000000000000  OPENSSL_1.0.1 OPENSSL_1.0.1
0000000000000000 g    DO *ABS*    0000000000000000  OPENSSL_1.0.2 OPENSSL_1.0.2
00000000000eb420 g    DF .text    0000000000000036  OPENSSL_1.0.1_EC EC_KEY_set_private_key
00000000000e2870 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_invert
000000000010f1e0 g    DF .text    0000000000000015  OPENSSL_1.0.1_EC ECDSA_METHOD_free
00000000000e8720 g    DF .text    0000000000000220  OPENSSL_1.0.1_EC EC_GROUP_check
00000000000eb7c0 g    DF .text    0000000000000012  OPENSSL_1.0.1_EC EC_KEY_set_asn1_flag
00000000000e1e30 g    DF .text    00000000000000e5  OPENSSL_1.0.1_EC EC_POINT_new
00000000000e1980 g    DF .text    000000000000002c  OPENSSL_1.0.1_EC EC_GROUP_get_cofactor
000000000010f1c0 g    DF .text    0000000000000007  OPENSSL_1.0.1_EC ECDSA_METHOD_set_flags
00000000001147e0 g    DF .text    0000000000000053  OPENSSL_1.0.1_EC ECDH_compute_key
00000000000e1d30 g    DF .text    000000000000005f  OPENSSL_1.0.1_EC EC_EX_DATA_clear_free_data
00000000000fc3a0 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC EC_GFp_nistz256_method
000000000010f1b0 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC ECDSA_METHOD_set_verify
00000000001e4120 g    DO .rodata    000000000000002f  OPENSSL_1.0.1_EC ECDSA_version
0000000000440920 g    DO .data.rel.ro    0000000000000038  OPENSSL_1.0.1_EC ECPARAMETERS_it
00000000000e2440 g    DF .text    000000000000004a  OPENSSL_1.0.1_EC EC_GROUP_dup
00000000000ee980 g    DF .text    000000000000008e  OPENSSL_1.0.1_EC ECPKParameters_print_fp
00000000000e1bc0 g    DF .text    00000000000000cb  OPENSSL_1.0.1_EC EC_EX_DATA_set_data
00000000000eb720 g    DF .text    0000000000000097  OPENSSL_1.0.1_EC EC_KEY_insert_key_method_data
00000000000eb3d0 g    DF .text    0000000000000036  OPENSSL_1.0.1_EC EC_KEY_set_group
00000000000e1900 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_GROUP_method_of
00000000000e25f0 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_get_Jprojective_coordinates_GFp
000000000010ed00 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC ECDSA_set_default_method
00000000000e2f10 g    DF .text    0000000000000035  OPENSSL_1.0.1_EC EC_GROUP_have_precompute_mult
00000000000eb470 g    DF .text    000000000000003a  OPENSSL_1.0.1_EC EC_KEY_set_public_key
00000000000e8670 g    DF .text    0000000000000038  OPENSSL_1.0.1_EC EC_curve_nid2nist
00000000000e26f0 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_get_affine_coordinates_GFp
00000000000e29e0 g    DF .text    0000000000000075  OPENSSL_1.0.1_EC EC_POINT_cmp
00000000000ee010 g    DF .text    0000000000000964  OPENSSL_1.0.1_EC ECPKParameters_print
00000000000e1a20 g    DF .text    000000000000007d  OPENSSL_1.0.1_EC EC_GROUP_set_seed
00000000001101f0 g    DF .text    000000000000011b  OPENSSL_1.0.1_EC ECDSA_verify
0000000000110080 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECDSA_do_sign
0000000000000000 g    DO *ABS*    0000000000000000  OPENSSL_1.0.1_EC OPENSSL_1.0.1_EC
0000000000114360 g    DF .text    0000000000000024  OPENSSL_1.0.1_EC ECDH_get_ex_data
00000000000eb820 g    DF .text    0000000000000006  OPENSSL_1.0.1_EC EC_KEY_clear_flags
00000000000e6240 g    DF .text    00000000000000df  OPENSSL_1.0.1_EC EC_GROUP_new_curve_GFp
00000000000e6230 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC EC_GFp_nist_method
00000000001140a0 g    DF .text    0000000000000025  OPENSSL_1.0.1_EC ECDH_get_default_method
00000000000e9e20 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC EC_PRIVATEKEY_new
00000000001147d0 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC ECDH_OpenSSL
00000000000e5e90 g    DF .text    0000000000000008  OPENSSL_1.0.1_EC EC_GFp_mont_method
00000000000e2da0 g    DF .text    0000000000000093  OPENSSL_1.0.1_EC EC_POINTs_make_affine
0000000000114320 g    DF .text    0000000000000039  OPENSSL_1.0.1_EC ECDH_set_ex_data
00000000000ead60 g    DF .text    0000000000000048  OPENSSL_1.0.1_EC EC_KEY_dup
00000000000e2d20 g    DF .text    0000000000000073  OPENSSL_1.0.1_EC EC_POINT_make_affine
00000000000e1b00 g    DF .text    000000000000003c  OPENSSL_1.0.1_EC EC_GROUP_get_curve_GFp
00000000000e9e30 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC EC_PRIVATEKEY_free
00000000000e2e40 g    DF .text    0000000000000025  OPENSSL_1.0.1_EC EC_POINTs_mul
00000000000eb670 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_KEY_set_enc_flags
00000000000eb4b0 g    DF .text    00000000000001a8  OPENSSL_1.0.1_EC EC_KEY_set_public_key_affine_coordinates
00000000000e28f0 g    DF .text    0000000000000070  OPENSSL_1.0.1_EC EC_POINT_is_at_infinity
00000000000eabb0 g    DF .text    00000000000001b0  OPENSSL_1.0.1_EC EC_KEY_copy
00000000000e27f0 g    DF .text    0000000000000072  OPENSSL_1.0.1_EC EC_POINT_dbl
0000000000114880 g    DF .text    00000000000001bb  OPENSSL_1.0.1_EC ECDH_KDF_X9_62
00000000000eaaf0 g    DF .text    0000000000000079  OPENSSL_1.0.1_EC EC_KEY_free
00000000000eb810 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_KEY_set_flags
00000000001142b0 g    DF .text    0000000000000049  OPENSSL_1.0.1_EC ECDH_set_method
00000000000e1920 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC EC_GROUP_get0_generator
00000000000edf90 g    DF .text    0000000000000078  OPENSSL_1.0.1_EC ECParameters_print_fp
00000000000eab70 g    DF .text    0000000000000040  OPENSSL_1.0.1_EC EC_KEY_new_by_curve_name
00000000000e93f0 g    DF .text    000000000000000c  OPENSSL_1.0.1_EC ECPKPARAMETERS_new
00000000000fa1e0 g    DF .text    00000000000000c7  OPENSSL_1.0.1_EC EC_POINT_point2oct
000000000010f190 g    DF .text    0000000000000005  OPENSSL_1.0.1_EC ECDSA_METHOD_set_sign
00000000000eb800 g    DF .text    0000000000000004  OPENSSL_1.0.1_EC EC_KEY_get_flags
000000000010f0b0 g    DF .text    0000000000000024  OPENSSL_1.0.1_EC ECDSA_get_ex_data

 

 

 

 

 

 

 

 

 

 

 

 

 

#######################################

posted @ 2023-06-15 14:55  igoodful  阅读(167)  评论(0编辑  收藏  举报