Java反编译工具JAD的用法

java反编译工具,在日常工作中经常用到。可以搜索引擎搜索一下。
最常用的命令参数如下:

Jadv1 . 5 . 8f . Copyright 2001 PavelKouznetsov ( kpdus@softhome . net ).
Usage:jad[option
( s ) ] < filename ( s )>
Options:-a-generateJVMinstructionsascomments
( annotate )
-af-outputfullyqualifiednames
when annotating
-b-generateredundantbraces
( braces )
-clear-clearallprefixes
, includingthedefaultones
-d
< dir > -directory for output files
-dead-trytodecompiledeadpartsofcode
( if thereareany )
-dis-disassembleronly
( disassembler )
-f-generatefullyqualifiednames
( fullnames )
-ff-outputfieldsbeforemethods
( fieldsfirst )
-i-
print defaultinitializers for fields ( definits )
-l
< num > -splitstringsintopiecesofmax < num > chars ( splitstr )
-lnc-outputoriginallinenumbersascomments
( lnc )
-lradix
< num > -displaylongintegersusingthespecifiedradix
-nl-splitstrings
on newlinecharacters ( splitstr )
-noconv-don'tconvertJavaidentifiersintovalidones
( noconv )
-nocast-don'tgenerateauxiliarycasts
-noclass-don'tconvert
. classoperators
-nocode-don'tgeneratethesourcecode
for methods
-noctor-suppresstheemptyconstructors
-nodos-turn
off check for class files writteninDOS mode
-nofd-don'tdisambiguatefieldswiththesamenames
( nofldis )
-noinner-turn
off thesupportofinnerclasses
-nolvt-ignoreLocalVariableTableentries
( nolvt )
-nonlb-don'tinsertanewlinebeforeopeningbrace
( nonlb )
-o-overwriteoutput
files withoutconfirmation
-p-sendalloutputtoSTDOUT
( for piping )
-pa
< pfx > -prefix for allpackagesingeneratedsource files
-pc
< pfx > -prefix for classeswithnumericalnames ( default:_cls )
-pe
< pfx > -prefix for unusedexceptionnames ( default:_ex )
-pf
< pfx > -prefix for fieldswithnumericalnames ( default:_fld )
-pi
< num > -packimportsintoonelineusing . * ( packimports )
-pl
< pfx > -prefix for localswithnumericalnames ( default:_lcl )
-pm
< pfx > -prefix for methodswithnumericalnames ( default:_mth )
-pp
< pfx > -prefix for methodparmswithnumericalnames ( default :_prm )
-pv
< num > -packfieldswiththesametypesintooneline ( packfields )
-r-
restore packagedirectorystructure
-radix
< num > -displayintegersusingthespecifiedradix ( 8 , 10 , or 16 )
-s
< ext > -outputfileextension ( default: . jad )
-safe-generateadditionalcaststodisambiguatemethods
/ fields
-space-outputspacebetweenkeyword
( if , while , etc ) andexpression

-stat-showthetotalnumberofprocessedclasses
/ methods / fields
-t
< num > - use < num > spaces for indentation ( default: 4 )
-t-
use tabsinsteadofspaces for indentation
-v-showmethodnameswhiledecompiling
-
8 -convertUnicodestringsinto ANSI strings ( ansi )
-&-redirectSTDERRtoSTDOUT
jad-sjava-r-o-dSrc- 8 **\ * . class

本命令参数说明如下:
-sjava:反向文件后的扩展名为java,默认文件扩展名为jad。
-r:按照类的包恢复目录结构。
-o:如果输出的文件存在,则不提示而直接覆盖。
-8:转换Uncode字符为ANSI字符,指定后,Java代码中的“\u65f6\u95f4”,会转换为“时间”
-dSrc:输出编译后的Java文件到Src目录。
**\*.class:反编译当前目录以及子目录下的所有的class文件。

jad的全部命令参数如下:

你可能感兴趣的:(java,.net,搜索引擎,F#,ext)