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
a2734c7f
Commit
a2734c7f
authored
Aug 07, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed makefile comparison bugs
parent
79e8402c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
Makefile.in
Makefile.in
+6
-6
lzmamod.py
src/binwalk/plugins/lzmamod.py
+1
-1
Makefile
src/bundles/Makefile
+8
-8
No files found.
Makefile.in
View file @
a2734c7f
...
...
@@ -40,21 +40,21 @@ ida: build
if
[
"
$(IDA_DIR)
"
!=
""
]
&&
[
-e
"
$(IDA_DIR)
/python/lib/python2.7"
]
;
then
cp
-R
$(SRC_DIR)
/binwalk
$(IDA_DIR)
/python/lib/python2.7/
;
fi
build
:
if
[
"
$(BUILD_C_LIBS)
"
-eq
"yes"
]
;
then
make
-C
$(SRC_C_DIR)
;
fi
if
[
"
$(BUILD_BUNDLES)
"
-eq
"yes"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
;
fi
if
[
"
$(BUILD_C_LIBS)
"
=
"yes"
]
;
then
make
-C
$(SRC_C_DIR)
;
fi
if
[
"
$(BUILD_BUNDLES)
"
=
"yes"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
;
fi
$(PYTHON)
./setup.py build
deps
:
./deps.sh
clean
:
if
[
"
$(BUILD_C_LIBS)
"
-eq
"yes"
]
;
then
make
-C
$(SRC_C_DIR)
clean
;
fi
if
[
"
$(BUILD_BUNDLES)
"
-eq
"yes"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
clean
;
fi
if
[
"
$(BUILD_C_LIBS)
"
=
"yes"
]
;
then
make
-C
$(SRC_C_DIR)
clean
;
fi
if
[
"
$(BUILD_BUNDLES)
"
=
"yes"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
clean
;
fi
$(PYTHON)
./setup.py clean
distclean
:
clean
if
[
"
$(BUILD_C_LIBS)
"
-eq
"yes"
]
;
then
make
-C
$(SRC_C_DIR)
distclean
;
fi
if
[
"
$(BUILD_BUNDLES)
"
-eq
"yes"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
distclean
;
fi
if
[
"
$(BUILD_C_LIBS)
"
=
"yes"
]
;
then
make
-C
$(SRC_C_DIR)
distclean
;
fi
if
[
"
$(BUILD_BUNDLES)
"
=
"yes"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
distclean
;
fi
rm
-rf
Makefile config.
*
*
.cache
uninstall
:
...
...
src/binwalk/plugins/lzmamod.py
View file @
a2734c7f
...
...
@@ -11,7 +11,7 @@ class LZMAModPlugin(binwalk.core.plugin.Plugin):
'''
MODULES
=
[
'Signature'
]
FAKE_LZMA_SIZE
=
"
\x
00\x00\x00\x10\x00\x00\x00\x00
"
FAKE_LZMA_SIZE
=
"
\x
FF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
"
SIGNATURE
=
"lzma compressed data"
def
init
(
self
):
...
...
src/bundles/Makefile
View file @
a2734c7f
...
...
@@ -6,12 +6,12 @@ PYQTGRAPH_VERSION=`ls pyqtgraph-*.tar.gz | cut -d'-' -f2 | cut -d '.' -f1,2,3`
.PHONY
:
all clean_libs clean distclean
all
:
if
[
"
$(BUILD_FUZZY)
"
-eq
"yes"
]
;
then
make
-C
ssdeep-
$(SSDEEP_VERSION)
libfuzzy.la
;
fi
if
[
"
$(BUILD_FUZZY)
"
-eq
"yes"
]
;
then
cp ssdeep-
$(SSDEEP_VERSION)
/.libs/libfuzzy.
$(SOEXT)
$(LIB_DIR)
;
fi
if
[
"
$(BUILD_MAGIC)
"
-eq
"yes"
]
;
then
make
-C
file-
$(FILE_VERSION)
/src magic.h
;
fi
# This must be done first for OSX, else MAGIC_VERSION is undefined
if
[
"
$(BUILD_MAGIC)
"
-eq
"yes"
]
;
then
make
-C
file-
$(FILE_VERSION)
/src libmagic.la
;
fi
if
[
"
$(BUILD_MAGIC)
"
-eq
"yes"
]
;
then
cp file-
$(FILE_VERSION)
/src/.libs/libmagic.
$(SOEXT)
$(LIB_DIR)
;
fi
if
[
"
$(BUILD_PYQTGRAPH)
"
-eq
"yes"
]
&&
[
!
-e
$(LIB_DIR)
/pyqtgraph
]
;
then
cp
-R
pyqtgraph-
$(PYQTGRAPH_VERSION)
/pyqtgraph
$(LIB_DIR)
/
;
fi
if
[
"
$(BUILD_FUZZY)
"
=
"yes"
]
;
then
make
-C
ssdeep-
$(SSDEEP_VERSION)
libfuzzy.la
;
fi
if
[
"
$(BUILD_FUZZY)
"
=
"yes"
]
;
then
cp ssdeep-
$(SSDEEP_VERSION)
/.libs/libfuzzy.
$(SOEXT)
$(LIB_DIR)
;
fi
if
[
"
$(BUILD_MAGIC)
"
=
"yes"
]
;
then
make
-C
file-
$(FILE_VERSION)
/src magic.h
;
fi
# This must be done first for OSX, else MAGIC_VERSION is undefined
if
[
"
$(BUILD_MAGIC)
"
=
"yes"
]
;
then
make
-C
file-
$(FILE_VERSION)
/src libmagic.la
;
fi
if
[
"
$(BUILD_MAGIC)
"
=
"yes"
]
;
then
cp file-
$(FILE_VERSION)
/src/.libs/libmagic.
$(SOEXT)
$(LIB_DIR)
;
fi
if
[
"
$(BUILD_PYQTGRAPH)
"
=
"yes"
]
&&
[
!
-e
$(LIB_DIR)
/pyqtgraph
]
;
then
cp
-R
pyqtgraph-
$(PYQTGRAPH_VERSION)
/pyqtgraph
$(LIB_DIR)
/
;
fi
clean_libs
:
rm
-f
$(LIB_DIR)
/libmagic.
$(SOEXT)
...
...
@@ -19,8 +19,8 @@ clean_libs:
rm
-rf
$(LIB_DIR)
/pyqtgraph
clean
:
clean_libs
if
[
"
$(BUILD_FUZZY)
"
-eq
"yes"
]
;
then
make
-C
ssdeep-
$(SSDEEP_VERSION)
clean
;
fi
if
[
"
$(BUILD_MAGIC)
"
-eq
"yes"
]
;
then
make
-C
file-
$(FILE_VERSION)
clean
;
fi
if
[
"
$(BUILD_FUZZY)
"
=
"yes"
]
;
then
make
-C
ssdeep-
$(SSDEEP_VERSION)
clean
;
fi
if
[
"
$(BUILD_MAGIC)
"
=
"yes"
]
;
then
make
-C
file-
$(FILE_VERSION)
clean
;
fi
distclean
:
clean_libs
rm
-rf
./ssdeep-
$(SSDEEP_VERSION)
...
...
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