Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

Commit

Permalink
Add raw_entry_point to retdec_params for decompile_file
Browse files Browse the repository at this point in the history
Fixes #5
  • Loading branch information
devtty1er committed Feb 19, 2018
1 parent 1254b25 commit 3d5e75b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions retdec.py
Expand Up @@ -248,6 +248,7 @@ def decompile_file(self):
"""Invoke this function to decompile the entire binary."""
p = self.setup_retdec_params()
p["data"]["mode"] = "bin"
p["data"]["raw_entry_point"] = self.view.entry_point

filepath = self.view.file.filename
filename = os.path.basename(filepath)
Expand Down

0 comments on commit 3d5e75b

Please sign in to comment.