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
34810df1
Commit
34810df1
authored
Feb 04, 2016
by
Craig Heffner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed hashlib warnings/errors in IDA
parent
eeb5b95f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
common.py
src/binwalk/core/common.py
+5
-1
No files found.
src/binwalk/core/common.py
View file @
34810df1
...
@@ -5,11 +5,15 @@ import os
...
@@ -5,11 +5,15 @@ import os
import
re
import
re
import
sys
import
sys
import
ast
import
ast
import
hashlib
import
platform
import
platform
import
operator
as
op
import
operator
as
op
import
binwalk.core.idb
from
binwalk.core.compat
import
*
from
binwalk.core.compat
import
*
# Don't try to import hashlib when loaded into IDA; it doesn't work.
if
not
binwalk
.
core
.
idb
.
LOADED_IN_IDA
:
import
hashlib
# The __debug__ value is a bit backwards; by default it is set to True, but
# The __debug__ value is a bit backwards; by default it is set to True, but
# then set to False if the Python interpreter is run with the -O option.
# then set to False if the Python interpreter is run with the -O option.
if
not
__debug__
:
if
not
__debug__
:
...
...
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