pancake
fe644e60ff
Fix crash in r2 -a arm -b32 -c'wa str r0'
2016-06-27 15:58:43 +02:00
danielps
1b21628964
V810: Fix floating-point instructions ( #5186 )
2016-06-20 23:39:01 +02:00
pancake
8a82e5cae6
Implement 'cbz' in armass-thumb
2016-06-13 11:12:20 +02:00
pancake
5903bc0d10
Fix #5083 - null deref in armass
2016-06-06 16:53:56 +02:00
pancake
95b2e511f5
Fix some warnings
2016-06-01 12:23:10 +02:00
Riccardo Schirone
5b92204c27
asm/arch/avr: do not print space if there are no operands
2016-05-17 13:18:23 +02:00
pancake
b4bb247791
Add nop for arm64 assembler
2016-05-10 11:22:13 +02:00
Damien Zammit
af0a865d9f
WIP - Totally remove host endianness dependence
...
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
Riccardo Schirone
26fc8f92ef
libr: remove some unused variables and functions
2016-04-27 12:59:45 +02:00
pancake
bfc8e5318e
More fixes from osx-ppc
2016-04-27 11:27:22 +02:00
kolen
a65ea77725
Fix 'ed' opcode range resulted in overflow
...
Should be:
40 41 .. 4a 4b
maps to
00 01 .. 0a 0b
Was:
3a 3b 3c 3d 3e 3f 40 41 .. 4a 4b
maps to
fa fb fc fd fe ff 00 01 .. 0a 0b
2016-04-21 15:33:26 +02:00
Travis Goodspeed
3ca3b4f534
This patch fixes a bug in which many MSP430 instructions would be mistaken for emulated instructions.
2016-04-12 23:11:14 +02:00
pancake
5ef2b3cc0f
Fix many warnings
2016-04-11 12:22:15 +02:00
Alexander Couzens
7c6ec5f146
fix mips forward assembler when using negative offset
...
Fix 'Invalid reg name (-0x5c60)' when try to assemble
'lw t9, -0x5c60(gp)'
2016-04-11 00:58:04 +02:00
pancake
6f4518a247
Fix #4588 - uninit memory in m68k dis
2016-04-10 01:06:16 +02:00
pancake
eb99ec8580
Fix android build
2016-04-07 16:20:29 +02:00
Anton Kochkov
d558dec5b7
Fix CID 1353073
2016-04-05 12:38:34 +03:00
pancake
62195cc005
Fix #4502 - Implement blx for thumb
2016-04-05 00:15:45 +02:00
Anders Kaare
cb2d45e491
fixing m68k branch disasm bug
...
16bit displacement must be signed, but were unsigned. I've converted the
branch variants to 8/16/32bit signed casts rather than duplicating the
8bit ISBITSET() special case.
2016-04-04 21:27:06 +02:00
pancake
e8263655be
Fix more memleaks
2016-04-04 00:17:57 +02:00
pancake
9eb63df89f
Fix #4502 - Implement blx address for arm32 assembler
2016-04-03 17:35:52 +02:00
Evan Shaw
58328def22
Show absolute offsets for relative branches in SNES disassembly
...
This makes the disassembly easier to read.
2016-04-02 10:02:27 +02:00
Anders Kaare
ff21bb5fbf
fixing 6502 analysis
...
36e42b33fe
broke analysis by introducing a
new enum value. The analysis code didn't switch on the enum but rather
used it directly as an integer, so since the new SNES_OP_IMM has 5 as
its integer value the analysis code would think that the op was 5 bytes
in length.
2016-03-30 22:08:52 +02:00
Léo Gaspard
353ff45443
Add EBC 'not' instruction decoding
2016-03-29 17:10:04 +02:00
Léo Gaspard
5c8a663e23
Identify external calls for EBC
2016-03-29 01:22:48 +02:00
Léo Gaspard
7595af19e3
Use decode_index32 for EBC calls
2016-03-29 01:22:48 +02:00
Léo Gaspard
ff4bce16db
Actually follow UEFI spec for index{32,64}
2016-03-29 01:22:48 +02:00
pancake
dc33b03011
Handle movk and movz in the arm64 assembler and pseudo disassembler
2016-03-17 17:26:08 +01:00
pancake
ae32acc5bc
Add missing space after commas in m68k
2016-03-15 11:59:19 +01:00
pancake
1c443caccf
Fix some COVs in snes disassembler
2016-03-13 21:04:12 +01:00
pancake
526d8d8e63
Fix #4275 - Fix lanai format string warnings
2016-03-13 03:23:54 +01:00
Evan Shaw
36e42b33fe
Support 16-bit immediate operands in SNES
...
Size for immediate operands depends on the value of the M flag
(for register A) or the X flag (for registers X and Y). A register is
8-bit when its respective flag is set and 16-bit when clear.
These flags can be set or unset independently, so this still isn't quite right
for when one flag is set and the other isn't, but it's an improvement. It's
possible to force a particular instruction to decode correctly by using the
`afh` command.
2016-03-12 03:06:46 +01:00
pancake
650e99407b
Oops. copypaste error in 6502dis
2016-03-07 04:44:42 +01:00
pancake
8de14dc2b6
Fix #4242 - OOB read in riscv disassembler
2016-03-07 00:21:49 +01:00
pancake
36ce331815
Fix #4239 - oobread in 6502 disassembler
2016-03-06 23:43:07 +01:00
mrdanielps
7fe1d56932
V810: fixes
...
* Proper bound checking when decoding.
* Reuse some macros.
* Follow code style guidelines.
2016-02-28 17:43:40 +01:00
Prasanna Balan
d9f4bce40b
MSP430: add support for illegal opcodes
...
Before this commit,any illegal opcode would return -1 which
would make r2 use 1 byte as default opcode width.This was
wrong on MSP430 as it uses fixed 2 byte opcodes.Fix this
2016-02-25 02:58:38 +01:00
pancake
7c76d45ab7
Fix #4114 - Remove the use of setjmp in xtensa arch
2016-02-20 23:41:23 +01:00
William Robinet
a67adbcbb8
Typos
2016-02-17 13:38:43 +01:00
pancake
f52d3c114c
Add missing signature for the lanai disassembler
2016-02-16 23:26:55 +01:00
William Robinet
d3ab5f38aa
Remove execution bit from source files
2016-02-16 23:21:46 +01:00
William Robinet
0c7cacc2dc
Fix typos
2016-02-16 23:21:24 +01:00
pancake
55eee73c6d
Fix #4061 - properly assemble ldr.w thumb instruction
2016-02-16 17:12:37 +01:00
pancake
384cfb1042
Fix last coverities
2016-02-16 02:08:09 +01:00
mrdanielps
d6f49bc54e
V810: Implement ESIL
2016-02-16 00:57:42 +01:00
pancake
cdf63617d7
Initial support for LANAI disassembler
2016-02-15 13:27:23 +01:00
condret
44b06b11de
fix something
2016-02-01 14:10:09 +00:00
condret
b1d894ab7b
fix some warning
2016-02-01 10:58:36 +00:00
pancake
b08892dbb3
Fix Tricore warnings and handle in ELF
2016-01-30 02:58:45 +01:00
pancake
d7a244f010
Initial import of asm.tricore disassembler plugin
2016-01-30 02:47:17 +01:00