Skip to content

Commit

Permalink
remove incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rorymcnamara committed Jul 13, 2017
1 parent 3e9c452 commit 8de7b21
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ findgadget() {
# eval splits up the LIBS as args
# if we don't find one, try to find something in /usr/lib/* and LD_PRELOAD

# unfortunately, this doesn't account for sections in the binary
# we need to, because right now i'm getting gadgets in .data which isn't exec'able
# we can easily get the offset/size of .text using getsect, but grep doesn't have an option for it

matches=()
match=()
eval grep -Fao --byte-offset "$1" ${LIBS[@]} | grep -o "^[^:]*:[^:]*" | while IFS=$'\n' read match; do
Expand Down

0 comments on commit 8de7b21

Please sign in to comment.