These are likely debugging symbols. Run “file” on the file to see if it says 
something similar to “with debug_info, not stripped” on the end.

If you intend to be building packages for distribution you can always locally 
amend the build process to “strip” the object files before packaging, if this 
concerns you.

Chris.

From: [email protected] <[email protected]> On Behalf Of C.V Jyothishmathi
Sent: Tuesday, May 18, 2021 06:45
To: [email protected]
Subject: [EXTERNAL] [vpp-dev] Source File Paths present in VPP shared library 
folders

Hi,

I am new to VPP. I am installing it from the github repository. I ran make 
build-release of VPP20.09 and was able to install it in my system. I had a few 
doubts. Kindly help me clarify them.

I was analyzing the binaries created by unpacking the .deb files in a tmp 
folder. When I did strings on the shared libraries created like libvppinfra.so 
and libvnet.so, I found the paths of the .c source file paths.

I had a doubt why these paths were present. Is there any way we can remove them?

admin@admin-server:~/test_deb/tmp2/usr/lib/x86_64-linux-gnu$ strings libvnet.so 
| grep /home/
/home/admin/vpp-20.09/build-root/install-vpp-native/vpp/lib
/home/admin/vpp-20.09/src/vnet/geneve/encap.c
/home/admin/vpp-20.09/src/vnet/bonding/node.c
/home/admin/vpp-20.09/src/vnet/ipsec/ipsec_output.c
/home/admin/vpp-20.09/src/vnet/l2/l2_api.c
/home/admin/vpp-20.09/src/vnet/vxlan/vxlan.c
/home/admin/vpp-20.09/src/vnet/geneve/geneve.c
/home/admin/vpp-20.09/src/vnet/bonding/cli.c
/home/admin/vpp-20.09/src/vnet/ip/vtep.c
/home/admin/vpp-20.09/src/vnet/vxlan-gbp/vxlan_gbp.c
/home/admin/vpp-20.09/src/vnet/vxlan-gpe/vxlan_gpe.c
/home/admin/vpp-20.09/src/vnet/lisp-cp/one_api.c
/home/admin/vpp-20.09/src/vnet/lisp-gpe/lisp_gpe_adjacency.c
/home/admin/vpp-20.09/src/vnet/srmpls/sr_mpls_policy.c
/home/admin/vpp-20.09/src/vnet/session/application_worker.c
/home/admin/vpp-20.09/src/vnet/fib/fib_attached_export.c
/home/admin/vpp-20.09/src/vnet/dpo/load_balance_map.c

Thanks!
Jyothishmathi CV
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19400): https://lists.fd.io/g/vpp-dev/message/19400
Mute This Topic: https://lists.fd.io/mt/82911148/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to