プロが教えるわが家の防犯対策術!

Avast社が提供しております逆コンパイラソフトRetdecのインストール方法をお教えいただけないでしょうか。
使用しているOSはWindows 10、IDEはMicrosoft Visual Studio 2017です。
調べてみましたが私の力不足ゆえ理解することができませんでした。
皆様のお力をお貸しいただけると幸いです。

A 回答 (1件)

インストール方法は下記サイトに書いてますよ。


# from https://github.com/avast-tl/retdec
> Windows
> 1.Either download and unpack a pre-built package, or build and install the decompiler by yourself (the process is described below).
> 2.Install Microsoft Visual C++ Redistributable for Visual Studio 2015.
> 3.Install the following programs:
> ・Python (version >= 3.4)
> ・UPX (Optional: if you want to use UPX unpacker in the preprocessing stage)
> ・Graphviz (Optional: if you want to generate call or control flow graphs)
> 4.Now, you are all set to run the decompiler. To decompile a binary file named test.exe, run the following command (ensure that python runs Python 3; as an alternative, you can try py -3)
> python $RETDEC_INSTALL_DIR/bin/retdec-decompiler.py test.exe
> For more information, run retdec-decompiler.py with --help.

これを見る限り、Retdec自体はPythonのパッケージとして作られているようですね。
1. pre-built package をダウンロードする。
 上記サイトのpre-built packageはリンクになっています。
 リンク先に32bit版と64bit版のパッケージがあります。環境に合わせて選択。
 ソースパッケージをダウンロードして自分でコンパイルしても良いです。
2. MSVC++2015版の再配布用パッケージをインストールしておく。
 おそらく1のパッケージがMSVC++2015でコンパイルされているのでしょう。
3. 下記3つのプログラムをインストールする。必須はPythonだけ。
 Python(3.4以降)
 UPX UPXでパックしたバイナリを逆コンパイルしたいとき
 Graphviz 呼び出しと制御フローのグラフを描きたいとき
4. 逆コンパイル対象コードを用意してコマンドを実行してみる

基本Pythonの使い方が分かってないと使えなさそう。
IDEに組み込んで使えるかどうかは未確認だけど……
    • good
    • 1
この回答へのお礼

無事解決致しました
ありがとうございます(o*。_。)oペコッ

お礼日時:2019/02/02 19:20

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!