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-depend
binwalk
Commits
1ea13379
Commit
1ea13379
authored
10 years ago
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated XBE signature; changed default header width to 80 characters.
parent
ad5e411e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
display.py
src/binwalk/core/display.py
+1
-1
binwalk
src/binwalk/magic/binwalk
+6
-0
executables
src/magic/executables
+6
-0
No files found.
src/binwalk/core/display.py
View file @
1ea13379
...
@@ -13,7 +13,7 @@ class Display(object):
...
@@ -13,7 +13,7 @@ class Display(object):
This class is instantiated for all modules implicitly and should not need to be invoked directly by most modules.
This class is instantiated for all modules implicitly and should not need to be invoked directly by most modules.
'''
'''
SCREEN_WIDTH
=
0
SCREEN_WIDTH
=
0
HEADER_WIDTH
=
15
0
HEADER_WIDTH
=
8
0
DEFAULT_FORMAT
=
"
%
s
\n
"
DEFAULT_FORMAT
=
"
%
s
\n
"
def
__init__
(
self
,
quiet
=
False
,
verbose
=
False
,
log
=
None
,
csv
=
False
,
fit_to_screen
=
False
,
filter
=
None
):
def
__init__
(
self
,
quiet
=
False
,
verbose
=
False
,
log
=
None
,
csv
=
False
,
fit_to_screen
=
False
,
filter
=
None
):
...
...
This diff is collapsed.
Click to expand it.
src/binwalk/magic/binwalk
View file @
1ea13379
...
@@ -895,11 +895,16 @@
...
@@ -895,11 +895,16 @@
0 string XBEH XBE, Microsoft Xbox executable
0 string XBEH XBE, Microsoft Xbox executable
# probabilistic checks whether signed or not
# probabilistic checks whether signed or not
>0x0004 ulelong =0x0
>0x0004 ulelong =0x0
>>&2 ulelong !0x0 \b, invalid
>>&2 ulelong =0x0
>>&2 ulelong =0x0
>>>&2 ulelong !0x0 \b, invalid
>>>&2 ulelong =0x0 \b, not signed
>>>&2 ulelong =0x0 \b, not signed
>0x0004 ulelong >0
>0x0004 ulelong >0
>>&2 ulelong =0x0 \b, invalid
>>&2 ulelong >0
>>&2 ulelong >0
>>>&2 ulelong =0x0 \b, invalid
>>>&2 ulelong >0 \b, signed
>>>&2 ulelong >0 \b, signed
>0x0104 lelong <0 \b, invalid base address
# expect base address of 0x10000
# expect base address of 0x10000
>0x0104 ulelong =0x10000
>0x0104 ulelong =0x10000
>>(0x0118-0x0FF60) ulelong&0x80000007 0x80000007 \b, all regions
>>(0x0118-0x0FF60) ulelong&0x80000007 0x80000007 \b, all regions
...
@@ -911,6 +916,7 @@
...
@@ -911,6 +916,7 @@
>>>>(0x0118-0x0FF60) ulelong &0x80000000 Manufacturer
>>>>(0x0118-0x0FF60) ulelong &0x80000000 Manufacturer
>>>(0x0118-0x0FF60) ulelong >0 \b)
>>>(0x0118-0x0FF60) ulelong >0 \b)
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# motorola: file(1) magic for Motorola 68K and 88K binaries
# motorola: file(1) magic for Motorola 68K and 88K binaries
#
#
...
...
This diff is collapsed.
Click to expand it.
src/magic/executables
View file @
1ea13379
...
@@ -283,11 +283,16 @@
...
@@ -283,11 +283,16 @@
0 string XBEH XBE, Microsoft Xbox executable
0 string XBEH XBE, Microsoft Xbox executable
# probabilistic checks whether signed or not
# probabilistic checks whether signed or not
>0x0004 ulelong =0x0
>0x0004 ulelong =0x0
>>&2 ulelong !0x0 \b, invalid
>>&2 ulelong =0x0
>>&2 ulelong =0x0
>>>&2 ulelong !0x0 \b, invalid
>>>&2 ulelong =0x0 \b, not signed
>>>&2 ulelong =0x0 \b, not signed
>0x0004 ulelong >0
>0x0004 ulelong >0
>>&2 ulelong =0x0 \b, invalid
>>&2 ulelong >0
>>&2 ulelong >0
>>>&2 ulelong =0x0 \b, invalid
>>>&2 ulelong >0 \b, signed
>>>&2 ulelong >0 \b, signed
>0x0104 lelong <0 \b, invalid base address
# expect base address of 0x10000
# expect base address of 0x10000
>0x0104 ulelong =0x10000
>0x0104 ulelong =0x10000
>>(0x0118-0x0FF60) ulelong&0x80000007 0x80000007 \b, all regions
>>(0x0118-0x0FF60) ulelong&0x80000007 0x80000007 \b, all regions
...
@@ -299,6 +304,7 @@
...
@@ -299,6 +304,7 @@
>>>>(0x0118-0x0FF60) ulelong &0x80000000 Manufacturer
>>>>(0x0118-0x0FF60) ulelong &0x80000000 Manufacturer
>>>(0x0118-0x0FF60) ulelong >0 \b)
>>>(0x0118-0x0FF60) ulelong >0 \b)
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# motorola: file(1) magic for Motorola 68K and 88K binaries
# motorola: file(1) magic for Motorola 68K and 88K binaries
#
#
...
...
This diff is collapsed.
Click to expand it.
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