File: ldd-rewrite.sed

package info (click to toggle)
glibc 2.36-9%2Bdeb12u12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 299,992 kB
  • sloc: ansic: 1,055,666; asm: 324,942; makefile: 15,198; python: 12,603; sh: 10,884; cpp: 5,685; awk: 1,883; perl: 518; yacc: 292; pascal: 182; sed: 39
file content (11 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (37)
1
2
3
4
5
6
7
8
9
10
11
/Maybe extra code for non-ELF binaries/a\
  file=$1\
  # Run the ldd stub.\
  lddlibc4 "$file"\
  # Test the result.\
  if test $? -lt 3; then\
    return 0;\
  fi\
  # In case of an error punt.
/LD_TRACE_LOADED_OBJECTS=1/a\
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"