Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
4f1533f0
Commit
4f1533f0
authored
Apr 23, 2015
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partial fix for entropy bugs in Windows
parent
a9a8c7ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
entropy.py
src/binwalk/modules/entropy.py
+10
-3
unjffs2.py
src/binwalk/plugins/unjffs2.py
+0
-5
No files found.
src/binwalk/modules/entropy.py
View file @
4f1533f0
...
...
@@ -117,9 +117,16 @@ class Entropy(Module):
# Need to invoke the pyqtgraph stuff via a separate process, as calling pg.exit
# is pretty much required. pg.exit calls os._exit though, and we don't want to
# exit out of the main process (especially if being run via the API).
p
=
multiprocessing
.
Process
(
target
=
self
.
_run
)
p
.
start
()
p
.
join
()
try
:
p
=
multiprocessing
.
Process
(
target
=
self
.
_run
)
p
.
start
()
p
.
join
()
except
IOError
as
e
:
# Windows Python2.7 imp.find_module fails to find the binwalk module;
# this eventually leads to an Invalid Argument IOError in the multiprocessing
# module. This means that when run in Windows, pg.exit will cause binwalk
# to exit.
self
.
_run
()
def
_run
(
self
):
# Sanity check and warning if pyqtgraph isn't found
...
...
src/binwalk/plugins/unjffs2.py
View file @
4f1533f0
# This file has been depreciated and is no longer in use.
# This is merely a placeholder to ensure future installations
# don't leave the old, depreciated file in tact.
import
binwalk.core.plugin
class
Unjffs2DepreciatedPlugin
(
binwalk
.
core
.
plugin
.
Plugin
):
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment