SMALL
apk를 디컴파일 수행하다 보면, baksmali 부분에서 디컴파일이 막히는 부분이 존재한다.
안티 디컴파일(?) 처럼 인자 길이 등...
baksmali를 재빌드해서 사용하는 방법을 정리한다.
jdk 8 버전이 요구된다.
github.com/JesusFreke/smali/releases에서 원하는 버전의 smali 파일을 다운 받는다.
cd smali ./gradlew build
1
2
|
cd smali
./gradlew build
|
cs |
[윈도우면 bat파일 실행]
baksmali/build/libs/baksmali-<version>.jar 결과물은 여기에 나온다.
#baksmali 옵션
1
2
3
4
5
6
7
8
9
10
11
12
|
usage: baksmali [--version] [--help] [<command [<args>]]
Options:
--help,-h,-? - Show usage information
--version,-v - Print the version of baksmali and then exit
Commands:
deodex(de,x) - Deodexes an odex/oat file
disassemble(dis,d) - Disassembles a dex file.
dump(du) - Prints an annotated hex dump for the given dex file
help(h) - Shows usage information
list(l) - Lists various objects in a dex file.
|
cs |
LIST
'기타[etc]' 카테고리의 다른 글
프라하 석영작가 후기 by 사랑비 스냅 (0) | 2024.06.11 |
---|---|
2021 전문연구요원 훈련소 후기(3주 과정) (0) | 2021.02.19 |
펌웨어 수정 (0) | 2018.11.08 |
python thread 병렬처리 (0) | 2018.04.12 |
[퍼옴] gdb 분석 보조 - python (0) | 2018.03.24 |