Ld linux.so.2 what is




















Active 2 years, 3 months ago. Viewed 52k times. Improve this question. Federal Reserve Federal Reserve 1 1 gold badge 7 7 silver badges 12 12 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Eliah Kagan 3, 2 2 gold badges 22 22 silver badges 37 37 bronze badges.

Stephen Kitt Stephen Kitt k 43 43 gold badges silver badges bronze badges. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Linked 4.

Related Hot Network Questions. In glibc 2. Note that even when this variable is set, a strong symbol in a shared library will not override a weak definition of the same symbol in the main program.

Any other value enables pointer guarding, which is also the default. Pointer guarding is a security mechanism whereby some pointers to code stored in writable program memory return addresses saved by setjmp 3 or function pointers used by various glibc internals are mangled semi- randomly to make it more difficult for an attacker to hijack the pointers for use in the event of a buffer overrun or stack-smashing attack. This detail is relevant only before glibc 2. Use ldd 1 to get a list of the objects that might be traced.

If the object name is not recognized, then all prelinking activity is traced. See ldconfig 8. This is usually undesirable, and is typically employed only as an emergency remedy, for example, as a temporary workaround to a library misconfiguration issue. The dynamic linker checks these directories against the hardware of the machine and selects the most suitable version of a given shared object.

Hardware capability directories can be cascaded to combine CPU features. What is ld-linux. Now, most programs are dynamically linked. When the operating system loads a dynamically linked application, it must find and load the dynamic library it depends on to execute the application.

On Linux systems, this job is handled by ld-linux. You can use the ldd command for an application or dynamic library to see which libraries it depends on. When the application ls is loaded into memory, the OS passes control to ld-linux. The man page for ld-linux. Usually, the dynamic linker is implicitly specified during linking. This program header specifies the path of the interpreter.



0コメント

  • 1000 / 1000