-
Notifications
You must be signed in to change notification settings - Fork 173
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
Showing
5 changed files
with
49 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# 校验参数合法性 | ||
source util.sh | ||
check $1 | ||
|
||
# 得到新的目录 | ||
newfoldername=${foldername}"-bytecodeviewer" | ||
rm -rf $foldername | ||
|
||
if [ ! -d "$newfoldername" ]; | ||
then | ||
mkdir $newfoldername | ||
fi | ||
|
||
# 切换到创建的目录 | ||
cd $newfoldername | ||
|
||
# 打印该目录的路径 | ||
echo `pwd` | ||
|
||
# 通过ClassyShark查看apk文件 | ||
echo "View the decompile file" | ||
|
||
# 执行ClassyShark命令 | ||
#java -jar ../../tools/bytecode-viewer/Bytecode-Viewer.jar -i $absolutename -o . -t all | ||
java -jar ../../tools/bytecode-viewer/Bytecode-Viewer.jar |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.