Last active
March 2, 2021 16:31
-
-
Save Saruspete/3c4cfdcede06f8d6b7526667a770b105 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LD_LIBRARY_PATH='$LIB' ./elf/ldconfig -p | |
(gdb) info stack | |
#0 0x000000000049032b in expand_dynamic_string_token (l=0x0, input=0x7ffe35525c60 "$LIB") at dl-load.c:400 | |
#1 0x0000000000490442 in fillin_rpath (rpath=<optimized out>, rpath@entry=0x7ffe35525c60 "$LIB", result=0x14c65e0, sep=sep@entry=0x4c5f10 ":;", what=what@entry=0x4b1ac9 "LD_LIBRARY_PATH", | |
where=where@entry=0x0, l=l@entry=0x0) at dl-load.c:465 | |
#2 0x000000000049094f in _dl_init_paths (llp=<optimized out>, source=0x4b1ac9 "LD_LIBRARY_PATH", glibc_hwcaps_prepend=<optimized out>, glibc_hwcaps_mask=<optimized out>) at dl-load.c:825 | |
#3 0x00000000004648e2 in _dl_non_dynamic_init () at dl-support.c:344 | |
#4 0x0000000000465b96 in __libc_init_first (argc=2, argv=0x7ffe35525f58, envp=0x7ffe35525f70) at init-first.c:68 | |
#5 0x00000000004094b4 in __libc_start_main_impl (main=0x4016f0 <main>, argc=2, argv=0x7ffe35525f58, init=<optimized out>, fini=<optimized out>, rtld_fini=0x0, stack_end=0x7ffe35525f48) | |
at ../csu/libc-start.c:362 | |
#6 0x0000000000401cb1 in _start () at ../sysdeps/x86_64/start.S:116 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment