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
2cb6e5da
Commit
2cb6e5da
authored
9 years ago
by
Craig Heffner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed binarch signedness bug(s)
parent
93f91f80
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
28 deletions
+27
-28
extract.conf
src/binwalk/config/extract.conf
+0
-1
binarch
src/binwalk/magic/binarch
+27
-27
No files found.
src/binwalk/config/extract.conf
View file @
2cb6e5da
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
#
#
# o zlib
# o zlib
# o cpio
# o cpio
# o jffs2
# o Raw LZMA/deflate streams
# o Raw LZMA/deflate streams
#
#
# There are also alternative extractors for the following file formats, implemented as plugins:
# There are also alternative extractors for the following file formats, implemented as plugins:
...
...
This diff is collapsed.
Click to expand it.
src/binwalk/magic/binarch
View file @
2cb6e5da
...
@@ -17,15 +17,15 @@
...
@@ -17,15 +17,15 @@
#
#
# addiu $sp, XX
# addiu $sp, XX
# jr $ra
# jr $ra
0 belong 0x03e00008 MIPS instructions, function epilogue
0
u
belong 0x03e00008 MIPS instructions, function epilogue
>4 beshort !0x27BD {invalid}
>4
u
beshort !0x27BD {invalid}
0 beshort 0x27BD MIPS instructions, function epilogue
0
u
beshort 0x27BD MIPS instructions, function epilogue
>2 belong !0x03e00008 {invalid}
>2
u
belong !0x03e00008 {invalid}
0 lelong 0x03e00008 MIPSEL instructions, function epilogue
0
u
lelong 0x03e00008 MIPSEL instructions, function epilogue
>6 leshort !0x27BD {invalid}
>6
u
leshort !0x27BD {invalid}
0 leshort 0x27BD MIPS instructions, function epilogue
0
u
leshort 0x27BD MIPS instructions, function epilogue
>2 lelong !0x03e00008 {invalid}
>2
u
lelong !0x03e00008 {invalid}
# MIPS16e
# MIPS16e
# nop (x4)
# nop (x4)
...
@@ -41,63 +41,63 @@
...
@@ -41,63 +41,63 @@
# move $sp, $s1
# move $sp, $s1
# restore XX, XX, XX
# restore XX, XX, XX
# jrc $ra
# jrc $ra
0 beshort 0x65B9 MIPS16e instructions, function epilogue
0
u
beshort 0x65B9 MIPS16e instructions, function epilogue
>3 byte !0x64 {invalid}
>3 byte !0x64 {invalid}
>4 beshort !0xE8A0 {invalid}
>4
u
beshort !0xE8A0 {invalid}
0 leshort 0x65B9 MIPSEL16e instructions, function epilogue
0
u
leshort 0x65B9 MIPSEL16e instructions, function epilogue
>3 byte !0x64 {invalid}
>3 byte !0x64 {invalid}
>4 leshort !0xE8A0 {invalid}
>4
u
leshort !0xE8A0 {invalid}
# jrc $ra
# jrc $ra
# nop
# nop
0 belong 0xe8a06500 MIPS16e instructions, function epilogue
0
u
belong 0xe8a06500 MIPS16e instructions, function epilogue
0 lelong 0xe8a06500 MIPSEL16e instructions, function epilogue
0
u
lelong 0xe8a06500 MIPSEL16e instructions, function epilogue
# PowerPC prologue
# PowerPC prologue
# mflr r0
# mflr r0
0 belong 0x7C0802A6 PowerPC big endian instructions, function prologue
0
u
belong 0x7C0802A6 PowerPC big endian instructions, function prologue
0 lelong 0x7C0802A6 PowerPC little endian instructions, function prologue
0
u
lelong 0x7C0802A6 PowerPC little endian instructions, function prologue
# PowerPC epilogue
# PowerPC epilogue
# blr
# blr
0 belong 0x4E800020 PowerPC big endian instructions, function epilogue
0
u
belong 0x4E800020 PowerPC big endian instructions, function epilogue
0 lelong 0x4E800020 PowerPC little endian instructions, function epilogue
0
u
lelong 0x4E800020 PowerPC little endian instructions, function epilogue
# TODO: Add ARM Thumb dectection
# TODO: Add ARM Thumb dectection
# ARM prologue
# ARM prologue
# STMFD SP!, {XX}
# STMFD SP!, {XX}
# <any instruction whose opcode begins with 0xE>
# <any instruction whose opcode begins with 0xE>
0
beshort
0xE92D ARMEB instructions, function prologue
0
ubeshort
0xE92D ARMEB instructions, function prologue
>4 byte&0xF0 !0xE0 {invalid}
>4 byte&0xF0 !0xE0 {invalid}
>8 byte&0xF0 !0xE0 {invalid}
>8 byte&0xF0 !0xE0 {invalid}
0
leshort
0xE92D ARM instructions, function prologue{adjust:-2}
0
uleshort
0xE92D ARM instructions, function prologue{adjust:-2}
>5 byte&0xF0 !0xE0 {invalid}
>5 byte&0xF0 !0xE0 {invalid}
>9 byte&0xF0 !0xE0 {invalid}
>9 byte&0xF0 !0xE0 {invalid}
# ARM epilogue
# ARM epilogue
# MOV R0, XX
# MOV R0, XX
# LDMFD SP!, {XX}
# LDMFD SP!, {XX}
0
beshort
0xE1A0 ARMEB instructions, function epilogue
0
ubeshort
0xE1A0 ARMEB instructions, function epilogue
>4 beshort !0xE8BD {invalid}
>4 beshort !0xE8BD {invalid}
0
leshort
0xE1A0 ARM instructions, function epilogue{adjust:-2}
0
uleshort
0xE1A0 ARM instructions, function epilogue{adjust:-2}
>4 leshort !0xE8BD {invalid}
>4 leshort !0xE8BD {invalid}
# Ubicom32 prologue
# Ubicom32 prologue
# move.4 -4($sp)++, $ra
# move.4 -4($sp)++, $ra
0
belong
0x02FF6125 Ubicom32 instructions, function prologue
0
ubelong
0x02FF6125 Ubicom32 instructions, function prologue
# Ubicom32 epilogues
# Ubicom32 epilogues
# calli $ra, 0($ra)
# calli $ra, 0($ra)
# ret ($sp)4++
# ret ($sp)4++
0
belong
0xF0A000A0 Ubicom32 instructions, function epilogue
0
ubelong
0xF0A000A0 Ubicom32 instructions, function epilogue
0
belong
0x000022E1 Ubicom32 instructions, function epilogue
0
ubelong
0x000022E1 Ubicom32 instructions, function epilogue
# AVR8 prologue
# AVR8 prologue
# push r28
# push r28
# push r29
# push r29
0
belong
0x93CF93DF AVR8 instructions, function prologue
0
ubelong
0x93CF93DF AVR8 instructions, function prologue
0
belong
0x93DF93CF AVR8 instructions, function prologue
0
ubelong
0x93DF93CF AVR8 instructions, function prologue
# AVR32 prologue
# AVR32 prologue
# pushm r7,lr
# pushm r7,lr
...
...
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