File: ldd-rewrite.sed

package info (click to toggle)
glibc-pre2.1 2.0.105-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 50,884 kB
  • ctags: 45,906
  • sloc: ansic: 344,555; asm: 23,735; sh: 4,611; makefile: 4,118; awk: 831; cpp: 454; perl: 435; sed: 62
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"