Commit 1ea13379 by devttys0

Updated XBE signature; changed default header width to 80 characters.

parent ad5e411e
...@@ -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 = 150 HEADER_WIDTH = 80
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):
......
...@@ -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
# #
......
...@@ -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
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment