京東反編譯
1. jd反編譯軟體中怎麼修改
1.JD-GUI這款java反編譯工具是純綠色,完全免費的,非常適合開發者,其界面也簡潔大方
2.滑鼠單擊「file」從中選擇「Open File ...「選項,彈出一個文件選擇框,可以選擇要打開的文件,或者直接單擊文件夾圖標,直接彈出文件選擇框
3.從文件選擇框中選擇要打開的.class類型的文件,單擊『確定』
4.從打開的文件的左側可以看到文件的保存位置,類及方法,右側顯示類的具體內容,注釋不會顯示
5.還有一種方法是直接打開jar包,滑鼠單擊文件夾圖標,彈出文件選擇框,選擇一個jar包,蛋雞『確定』
6.從打開的界面中可以看到整個jar包中的.class文件的反編譯結果
7.另外介紹一下其他的方法:選擇文件打開 搜索
8.選擇文件打開:類似於eclipse快捷鍵ctrl+shift+r,打開一個小窗口,輸入想要打開的文件名,列表中會根據文件名列出所有匹配的文件,已供選擇。
——此功能用以檢索類
9.搜索:類似於電腦快捷鍵ctrl+f,也支持快捷鍵ctrl+f,但是不會打開小窗口,而是在界面左下角有一個輸入框,輸入想要搜索的方法名,會根據方法名高亮標出所有匹配的方法
——此功能用以搜索方法
10.高級搜索方法就是選擇下圖標識的搜索圖標,然後進行搜索
2. jd-gui 怎麼反編譯java項目
/*** Eclipse Class Decompiler plugin, right (c) 2012 Chao Chen ([email protected]) ***/
推薦你使用這個插件 csdn上面有詳細安裝過程,也可以聯系作者。
3. 用JD-eclipse反編譯出現 throw new RuntimeException("Stub!")
An interesting note on Android SDK is that the code in android.jar is stubbed out. This because the code inside the jar is never runs, so there』s no reason to make the SDK bigger because of this. To better undersand, if you look at these classes using a decompiler (with jad for example) you will only see: public void something(…){ throw new RuntimeException(「Stub!」); }. This means that you use android.jar only for the purpose of compiling the code, use autocomplete and imports in Eclipse.
Moreover, android.jar contains only the APIs exposed for the level of applications development. It』s a promise from Google that if you compile your application using this jar, you are guaranteed your application will run in future versions of Android. There is a part of the compilation process in the Android system that removes methods and classes of API. It』s used internally by the framework and should not be used for an Android developer. Why does Google do it? Well, I believe it』s because Google needs to write too much code to get API exposed. A lot of code starting in the hardware until to get a high-level API, which can be changed from one version to another, even codes that may no longer exist in future versions.
4. 如何去除jd-gui反編譯後的
背景說明
利用jd-gui反編譯.classs代碼之後,導出來的java源代碼裡面含有/**,其實這些標記是之前的java源碼的注釋,去掉這些標識了,需要利用jd-gui-cleaner.jar工具進行去掉,有需要的可以進行下載使用。
jd-gui-cleaner.jar簡介
清除jd-gui反編譯後注釋的工具
圖形界面,操作方便
在java環境下雙擊運行
運行後,先點input,選擇源文件文件夾,再點output,選擇輸出文件文件夾,最後點start運行。運行後會將所有源文件夾中的文件處理後保存到輸出文件夾中,並處理且只處理.java文件
原理很簡單,用java的正則表達式清理每個文件中的jd相關的注釋。開發中發現java的正則表達式經常內存溢出,在國外網站中發現這是java的原因,建議不要使用「選擇重復」的表達式,即:(A|B)*。
5. jdgui反編譯jar 如何使用
你好,很高興回答你的問題。
可以打開jdgui,然後把要反編譯的jar包拖入jdgui。在jdgui界面中的就顯示出反編譯後的結果了。
如果有幫助到你,請點擊採納。
6. 有沒有這樣的軟體: 用jd-gui可以反編譯class文件,但是不能修改。有可以反編譯並直接修改的么
jd-gui可以將看到的反編譯結果保存到一個zip壓縮包裡面,操作方法如下:
1、首先創建一個class文件,打開記事本。
7. 最好的java反編譯工具是哪個
jd-gui 是Java反編譯中比較好用的一個工具,用法如下:
下載jd-gui
雙擊打開jd-gui.exe
單擊左上角的File--->Open File
找到需要反編譯的.class文件 打開即可