BusyBox filesystem Add LDD function

Source: Internet
Author: User

/******************************************************************** * busybox filesystem add LDD functio n * Declaration: * This article is mainly to solve the problem that the view program proposed by Munyan involves the dynamic link library. * 2016-1-23 Shenzhen Nanshan Ping Shan village Zengjianfeng *************************************************************** ****/First, reference article:where  is 'LDD'?http://buildroot-busybox.2317881.n4.nabble.com/where-is-ldd-td48070.htmlSecond, the solution:1. You really don'T need a special LDD. LDD is just a script. In their most basic usage (LDD <executable>), it just runs:# ld_trace_loaded_objects=1<executable>2. For example on BusyBox: # ld_trace_loaded_objects=1/bin/BusyBox Linux-vdso32.so.1= (0x00100000) libc.so.6= =/lib/libc.so.6(0x0fe70000)             /lib/ld.so.1(0x48000000third, the test effect: [[email protected]]# ld_trace_loaded_objects=1/bin/busybox libm.so.6= =/lib/libm.so.6(0x2ac8c000) libc.so.6= =/lib/libc.so.6(0x2acf6000)            /lib/ld-linux-armhf.so.3(0x2aae1000) [[email protected]]# ld_trace_loaded_objects=1/bin/main Hello world. [Email protected]]# ld_trace_loaded_objects=1/bin/main main Mainso [[email protected]]# ld_trace_loaded_objects=1/bin/Mainso libc.so.6= =/lib/libc.so.6(0x2abea000)            /lib/ld-linux-armhf.so.3(0x2ab1b000) [[email protected]]#

BusyBox filesystem Add LDD function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.