-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1fb3a21
commit f7e542e
Showing
7 changed files
with
42 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ case "$1" in | |
SHELL_TO_SET=bash | ||
fi | ||
;; | ||
bash|zsh) | ||
bash|ksh|zsh) | ||
SHELL_TO_SET=$1 | ||
;; | ||
*) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
tools[nm]=nm | ||
|
||
function getSymbols_nm() { | ||
getSymbols_nm() { | ||
$binary "$1" | grep -E ' T ' | sed -e 's/.* '$strip'//' | grep '^\('$2'\)' | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
tools[objdump]=objdump | ||
|
||
function getSymbols_objdump() { | ||
getSymbols_objdump() { | ||
$binary -t "$1" | grep -E ' g [F ] [^ ]+[ ]+' | sed -e 's/.* '$strip'//' | grep '^\('$2'\)' | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
tools[readelf]=readelf | ||
|
||
function getSymbols_readelf() { | ||
getSymbols_readelf() { | ||
$binary -s "$1" | grep -E ' FUNC GLOBAL DEFAULT ' | sed -e 's/.* '$strip'//' | grep '^\('$2'\)' | ||
} |
This file contains 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