
正文
linux下反编译命令 linux反编译class文件命令
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
如何在Linux下反编译dll文件
linux反编译dll?
dll文件只用在win下吧。linux用.so文件。
更何况DLL的很多文件库使用的win的函数或头文件。
反编译都不会很好处理,无论是win还是linux。
相关问答
Q1: linux 下如何将动态链接库.so进行反编译后,换编译器重新编译?
程序能不能正常运行取决于程序和动态库之间linux下反编译命令的ABI是否兼容。只要ABI兼容那么编译器版本就没有影响。高版本linux下反编译命令的编译器同样可以使用低版本的ABI来生成目标代码linux下反编译命令,但这个问题要具体分析。linux下反编译命令你解决问题的思路完全不对。
Q2: 如何在Linux中反编译java源代码
之前看同事使用JD-GUI来反编译java
.class文件,觉得很爽,不过一直以来也没有再次接触到这个问题,所以也没有对这个工具进行深入的了解。
今天无聊看了些技术文档,忽然想起这个工具来,上网一找。呼呼果真也有Linux的版本。
不过我网上资料显示主页上下载的gz包是32位的程序,我在64位的Fedora
12下可能有些问题,程序在运行时会调用不到关键的32位库而失败。幸运的是只要安装几个包即可:
yum install
libcanberra-gtk2.i686 PackageKit-gtk-module.i686
gtk2-engines.i686
下载后:
tar -xzvf
jd-gui-0.3.2.linux.i686.tar.gz
sudo mv jd-gui
/usr/local/bin
至此jd-gui便可以在linux下运行,对于class或者jar文件都可以使用这个工具打开查看反编译源码
转载,仅供参考。
Q3: 如何使用apktool.jar进行反编译
a.下载地址:
b.下载之后,解压之后,就一个apktool.jar文件
c.使用apktool.jar解压apk文件
条件:
1).JDK是必不可少的
2).JDK环境变量配置
使用:
打开windows的cmd或者linux下的终端,将当前目录切换到apktool.jar所在目录
使用提示:
Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]
COMMANDs are:
d[ecode] [OPTS] file.apk [dir]
Decode file.apk to dir.
OPTS:
-s, --no-src
Do not decode sources.
-r, --no-res
Do not decode resources.
-d, --debug
Decode in debug mode. Check project page for more info.
-b, --no-debug-info
Baksmali -- don't write out debug info (.local, .param, .line, etc.)
-f, --force
Force delete destination directory.
-t tag, --frame-tag tag
Try to use framework files tagged by tag.
--frame-path dir
Use the specified directory for framework files
--keep-broken-res
Use if there was an error and some resources were dropped, e.g.:
"Invalid config flags detected. Dropping resources", but you
want to decode them anyway, even with errors. You will have to
fix them manually before building.
b[uild] [OPTS] [app_path] [out_file]
Build an apk from already decoded application located in app_path.
It will automatically detect, whether files was changed and perform
needed steps only.
If you omit app_path then current directory will be used.
If you omit out_file then app_path/dist/name_of_original.apk
will be used.
OPTS:
-f, --force-all
Skip changes detection and build all files.
-d, --debug
Build in debug mode. Check project page for more info.
-a, --aapt
Loads aapt from specified location.
if|install-framework framework.apk [tag] --frame-path [location]
Install framework file to your system.
For additional info, see:
For smali/baksmali info, see:
反编译命令:java -jar apktool.jar decode apk文件所在路径
关于linux下反编译命令和linux反编译class文件命令的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。







