Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.35 kb
bb_needed_libs() {
file ${1:-.}/* | grep ELF | cut -d : -f 1 | xargs readelf -d | grep NEEDED | sed -e 's/.*\[//g' -e 's/\].*//g' | sort -u
}
bb_found_libs() {
ldd ${1:-.}/*
}
bb_filter_found() {
LC_ALL=C fgrep --color=auto -f ${1:?[expected needed lib file]} ${2:?[expected found lib file]} | sed -e 's/(0x00.*//g' | sort -u | less
}
Jump to Line
Something went wrong with that request. Please try again.