Commit Graph

785 Commits

Author SHA1 Message Date
Sven Steinbauer
3480b9c799 Add lsl and shift to operand 2017-02-10 13:11:14 +01:00
Sven Steinbauer
cb36fd40cb refactor mov instructions 2017-02-10 13:11:14 +01:00
Sven Steinbauer
4ef134e5c4 Add parsing routines 2017-02-10 13:11:14 +01:00
Sven Steinbauer
f6120770eb Add ldrex strex to ARM assembler 2017-02-08 18:29:02 +01:00
pancake
5fa9601abe Implement add+sub for arm64 2017-01-29 14:48:13 +01:00
pancake
f64b082bd2 Implement adr instruction for the arm64 assembler 2017-01-29 14:08:04 +01:00
pancake
3c9e80372f Fix #6598 - r2pm db2 issue and add 2 arm64 bonus ops to the assembler 2017-01-29 03:44:18 +01:00
pancake
1627b990ad Add hvc and smc instructions in the arm64 assembler 2017-01-29 03:24:47 +01:00
pancake
196c800b87 Implement svc instruction for the arm64 assembler 2017-01-29 02:36:44 +01:00
Sven Steinbauer
4e73901e31 Add arm64 mov instruction (#6594)
Only handles immediates up to 32 at the moment.

FIX #6588
2017-01-27 20:49:34 +01:00
Sven Steinbauer
a8d3d5b996 Retire x86_olly to r2e (#6521) 2017-01-17 14:28:14 +00:00
pancake
2a83f21a3e Make gcc6 warnings happy 2017-01-15 22:02:57 +01:00
Sven Steinbauer
583ca82dd9 ARM asm Fix #6436 (#6441)
Fix order of opcodes in comparison list to check against ands over and.
2017-01-07 01:45:10 +01:00
pancake
d7240fac8e Fix latest covs 2016-12-22 16:13:49 +01:00
Álvaro Felipe Melchor
88d4649cc6 fix more coverities 2016-12-19 17:23:30 +01:00
pancake
9039228b58 Honor Q as an alias for q! in visual and prompt 2016-12-19 04:46:50 +01:00
pancake
2c5400e03e Fix more CIDs, memleaks mainly 2016-12-19 04:21:56 +01:00
Álvaro Felipe Melchor
028e8f0ca3 Fix few covs 2016-12-04 22:26:17 +01:00
pancake
7e07579cdc Fix last covs 2016-11-20 12:20:05 +01:00
Sven Steinbauer
5010de936f Add br and blr (#6217) 2016-11-17 16:54:24 +00:00
Sven Steinbauer
8cf9af578c Add arm64 branch instructions (#6216) 2016-11-17 17:05:13 +01:00
Sven Steinbauer
dec588687a Fix add and sub for arm thumb FIX #6181 (#6198)
* Enhance sub op support for thumb arch

Generate correct instructions up to 0x100

* Improve support for add instruction for thumb arch
2016-11-16 11:25:11 +00:00
pancake
11f2c4fe4f Add more movk/movz/movn for the arm64 assembler 2016-11-15 11:57:48 +01:00
Sven Steinbauer
cd37be0406 Fix mov instruction with register as first parm 2016-11-14 12:14:51 +00:00
Sven Steinbauer
64bea8794c Add support for blx op with register values 2016-11-14 11:48:49 +00:00
Sven Steinbauer
ef448c64fe Fix ldr assembly for 4 bit values
values that can be expressed with 4 bits care outputted with shorter instructions.
2016-11-14 09:18:37 +00:00
Sven Steinbauer
9eb8802a0e Handle numeric values for ldr rN, [rN, N]
does not handle special cases with values ending in 0, 4, 8
2016-11-11 19:09:42 +00:00
Sven Steinbauer
26cdbfdbdc Fix thumb ldr r0, [rN] assembly 2016-11-11 08:37:06 +00:00
Álvaro Felipe Melchor
f5166f936d Fix some meamleaks (#6156) 2016-11-09 02:28:14 +01:00
Álvaro Felipe Melchor
3222447eab Fix warnings when compiling in linux 2016-11-08 01:58:07 +01:00
Álvaro Felipe Melchor
9f6c3a2c8a fix warning in tms320 s/st8/char/g 2016-11-07 22:31:09 +01:00
Álvaro Felipe Melchor
f941d219fe revert change on ins.c 2016-11-07 21:23:05 +01:00
Álvaro Felipe Melchor
302d3f52e9 Take into account section alignment 2016-11-06 22:00:08 +01:00
Sven Steinbauer
e797258741 Test for valid numbers in arm getnum function (#6118)
* Test for valid numbers in arm getnum function

Using strtod it's possible to test if the string passed in is a valid
number

Also handles hexvalues

* KISS the fix
2016-11-05 10:38:42 +01:00
szt
f29a91b63a arm chars are unsigned by default
http://blog.cdleary.com/2012/11/arm-chars-are-unsigned-by-default/
2016-11-04 04:49:34 +01:00
Sven Steinbauer
80da50f31f Error on invalid b instruction (#6109)
If label resolves to an offset of 0, assume instruction invalid
2016-11-04 00:34:56 +01:00
Sven Steinbauer
ab2551691c Add arm shift ops FIX #5482 (#6081) 2016-11-01 00:56:27 +01:00
pancake
e31164a5fa Fix latest covs 2016-10-29 13:06:11 +02:00
Sven Steinbauer
54afd47d9e Remove m68k asm and anal from core (#6063)
* Remove m68k disassembler - Moving to extras
* Remove m68k anal plugin - Gets moved to r2e to be installed with m68k
2016-10-28 12:54:48 +02:00
pancake
8d37adc546 Fix all pending null-deref covs 2016-10-26 23:22:04 +02:00
Sven Steinbauer
52cc4dfe95 Move Z80 non-commercial to r2e (#6015)
* Move z80 non-commercial to r2e

Rename z80-cr to z80 as a consequence as it will be the default z80 disassembler

* Add GPL z80 assembler back in

* Fix Clang build
2016-10-24 13:21:36 +01:00
Álvaro Felipe Melchor
0cd32b4090 fix build 2016-10-24 11:58:35 +02:00
Sven Steinbauer
aa5fd3253c Update and fix LGPL Z80 disassembler (#6009)
* Fix dd IX instructions

* Fix segfault for dd and de ops

Although only seemed to happen on OSX, not on linux.

* Fix ed op

* Remove invalid instruction "in f, [c]" which is not referenced in
http://clrhome.org/table/

* fix bad offsets to ops following removed one

* Fix fd ops with bad type flags

* Fix ed and fdcb ops

Remove debug prints
2016-10-24 10:28:59 +01:00
pancake
35d9eef757 Fix 20 more covs (divBy0, dbl3, negidx, bufovr, ..) 2016-10-20 15:39:36 +02:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +02:00
szt
45bbca4e29 Fix "orr" in ARM assembler (#5958)
https://github.com/radare/radare2/issues/5954 fix
2016-10-12 23:33:53 +02:00
Álvaro Felipe Melchor
84b4b1b8f6 fix regression 2016-10-10 21:09:30 +02:00
pancake
3ae8b9813b Get rid of some %\d$ constructions in anal_8051.c for #3944 2016-10-10 10:20:51 +02:00
Álvaro Felipe Melchor
66a55302ee Fix build 2016-10-08 13:25:16 +02:00
pancake
cd26e34a7b Blind fix #5938 - remove some __FILE__ references 2016-10-08 03:01:22 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
e10c664c55 Add msr/mrs for the armass64 assembler 2016-09-16 18:27:42 +02:00
pancake
496da56a9e Fix sys/ios-static.sh 2016-09-12 20:52:12 +02:00
pancake
4429de16f9 Fix pa/pad for big/lil endian 2016-09-01 22:34:28 +02:00
Rakholiya Jenish
f3085dd3e4 remove %hh usage 2016-08-19 19:58:38 -04:00
Mitchell Johnson
7661c3930a Add a missing MSP430 constant register instruction encoding (#5548)
* Fix a missing #1 constant-generator encoding for msp430
* Fix up some tab/space mixing
2016-08-18 15:58:38 +02:00
dx
4b263b3475 Fix a handful of boring leaks (#5518)
Valgrinding to get exp. Testing with "r2 -Aqcq /bin/ls"

Before:

       definitely lost: 22,735 bytes in 250 blocks
       indirectly lost: 23,542 bytes in 605 blocks
         possibly lost: 2,464 bytes in 7 blocks
       still reachable: 3,876,216 bytes in 80,761 blocks

After:

       definitely lost: 25,216 bytes in 58 blocks
       indirectly lost: 24,830 bytes in 739 blocks
         possibly lost: 0 bytes in 0 blocks
       still reachable: 20,105 bytes in 34 blocks

The "goto beach" (named like that for consistency) change resulted in
freeing most of the "still reachable" stuff on quit, which also moved
stuff out of "possibly lost", so.. it looks like it's leaking more now.
Yay.
2016-08-16 00:45:33 +02:00
pancake
6d1d02024e Remove problematic asprintf defines from libiberty.h 2016-08-08 13:40:50 +02:00
pancake
744fad6418 Port to Termux (Android-Debian environment) 2016-08-06 05:12:58 +01:00
pancake
91fe80f4ca Fix avr's rjmp disasm, analysis and esil 2016-07-25 03:19:16 +02:00
Maijin
22de895ef5 Rename CSR disasm/anal into XAP4 Fix #5355 2016-07-23 00:41:42 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
bsmiles32
622e828e1d Add basic support for N64 RSP processor. (#5269)
* Add basic support for N64 RSP processor.
This includes:
* a table driven instruction decoder (rsp_idec)
* a disassembler
* a very primitive anal plugin
2016-07-03 22:03:26 +02:00
pancake
2cc433cefa Fixes for avr to make travis green 2016-07-02 02:37:00 +02:00
pancake
9864ef8841 Lowercase all registers to match RReg rules in AVR 2016-07-01 15:22:23 +02:00
Álvaro Felipe Melchor
4396598081 Fix oob read reported by revskill on mk68 code 2016-06-30 23:15:25 +02:00
Álvaro Felipe Melchor
d69a502eb5 fix indentation m68k_disasm 2016-06-30 23:01:24 +02:00
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
pancake
6f1655c491 Initial support for xtensa CPU disassmbler (from GNU binutils) 2016-01-28 23:59:50 +01:00
Kitsu
990abd338c Added desc to msp430 and fixed mnemo typo rcr -> rrc 2016-01-28 12:22:41 +01:00
Maijin
41c8c5ad48 Fix i4004dis scr -> src opcode 2016-01-26 15:10:39 +01:00
Kamil Rytarowski
0d827a2870 NetBSD: Fix warnings for array subscript has type 'char' 2016-01-22 21:36:30 +01:00
pancake
5f8697f10a Fix #3972 - Use API instead of command for named functions 2016-01-19 00:44:24 +01:00
pancake
a778b467a0 Initial i4004 analysis plugin 2016-01-10 23:03:27 +01:00
pancake
42acaa7596 Softly kill boolt type 2016-01-03 02:05:26 +01:00
pancake
40e08dbd89 Get rid of _Bool 2015-12-01 12:39:12 +01:00
Ricardo Quesada
f5c65f5da8 Adds VSF (VICE Snapshot File) support as a bin format
VICE is the most popular C64/C128 emulator and allows
users to save snapshots of the games.

Analyzing VICE snapshots are more useful than
analyzing .prg (the "standard" c64 program)
because usually all .prg are compressed, and
are decompressed in runtime.

commit 796297c6cd3a099fd17ad3715b4ed5646a6a9e65
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 12:28:58 2015 -0800

    no sbd for the moment

commit c785b22318c3cacf7771ab21198aa759777224af
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 10:06:12 2015 -0800

    bank 0 and bank 1

commit 63304876b6f84df001c39f5b35084ff6e61bc01b
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 09:47:12 2015 -0800

    c128 includes basic, monitor and editor sections

commit 1a8995a644df6d9e871a586e57c3cd8e00cce7ae
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Nov 26 14:45:36 2015 -0800

    c128 roms...

    uses sdb which is not used at all
    more vic symbols

commit 8a29c3c7736fcf689b9248e65093277347ae38bc
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 10:39:44 2015 -0800

    ram last entry

commit fca46301b2fd68e230cf547047a5278e098c9340
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 00:10:20 2015 -0800

    more tidy code

commit 03b8a12b319bd0eb9f21b60d882da2030c2c35f1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 22:52:20 2015 -0800

    VSF works for C64... still many things to fix

commit a118a930cb40441b412db916deb4c0ca30e30309
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 13:37:32 2015 -0800

    initial commit... compiles and detects VICE

    but nothing more
2015-11-29 12:17:05 +01:00
pancake
e0ce78f08c Fix double reglisting in linux-arm 2015-11-25 12:49:02 +01:00
pancake
a31cd1101e Initial import of the VAX asm/anal/bin support 2015-11-23 12:34:53 +01:00
pancake
ad74a6ec6b Move msil and mdmp into radare2-extras, add r2pm pkgs 2015-11-11 11:07:32 +01:00
pancake
cc30dc5d83 Fix CR16 disassembler crash 2015-11-05 16:28:11 +01:00
pancake
6bc091f16f Fix some covs and the is_any() macro in anal.riscv 2015-11-05 10:34:42 +01:00
pancake
8f48a3b9a7 Fix AVR disasm regression and bin.elf=avr forces 16bit mode 2015-11-05 09:20:47 +01:00
pancake
ac10ef4c6f Fix ASAN OOB reads in AVR disassembler 2015-11-05 09:13:17 +01:00
pancake
8e3421d222 Remove unused variables 2015-11-05 00:47:27 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
Anton Kochkov
a6dccd04b2 Fix AVR std instruction 2015-11-01 23:19:08 +03:00
pancake
f4e6c8a7df Fix static builds 2015-11-01 00:20:58 +01:00
pancake
f326094542 Fix some warnings 2015-10-31 17:22:24 +01:00
pancake
691e0c8c1a Fix latest COVs 2015-10-31 12:06:40 +01:00
pancake
f88b35afba Fixes for asm.riscv 2015-10-30 00:06:38 +01:00
qnix
09f1ea9856 Initial RISC-V support (32,64bit disasm) 2015-10-29 23:57:22 +01:00
condret
d5eb739f77 gb_asm: implement most varriants of ld 2015-10-27 10:05:38 +00:00
condret
b70ef7123c gb_asm: implement add 2015-10-24 20:01:12 +00:00
condret
62a8b04d81 gb_asm: implement inc, dec 2015-10-24 16:13:48 +00:00
condret
c59420797a gb_asm: implement bit, res, set 2015-10-24 12:00:24 +00:00
condret
0f14965f99 gb_asm: implement rlc, rrc, rl, rr, sla, sra, swap, srl 2015-10-24 02:46:48 +00:00
condret
891931b775 gb_asm: more code-base reduction 2015-10-24 02:16:35 +00:00
condret
38235b6144 gb_asm: code-base reduction 2015-10-23 18:59:21 +00:00
pancake
888c05d31f Fix some recent covs 2015-10-23 12:07:07 +02:00
condret
1ce554ed01 gb_asm: implement or, xor, and, sbc, sub, adc 2015-10-23 00:50:49 +00:00
condret
ab917483aa gb_asm: implement cp-instruction 2015-10-22 17:06:48 +00:00
condret
1ece41ea48 gb_asm: add call, call C, call Z, call nC, call nZ 2015-10-22 14:37:37 +00:00
condret
0c2eb134f9 gb_asm: implement jr, jr Z, jr C, jr nZ, jr nC 2015-10-22 13:34:27 +00:00
condret
3b3052d288 fix segfaults, that can happen if gb_asm is used the wrong way 2015-10-22 10:39:08 +00:00
condret
8e6afc0acf gb_asm: add jp, jp hl, jp Z, jp nZ, jp C, jp nC 2015-10-22 02:51:35 +00:00
condret
848eb486ca gb-assembler: implement ret Z, ret C, ret nZ, ret nC 2015-10-22 00:30:25 +00:00
condret
fb3059130c gb-assembler: push, pop, reti 2015-10-21 22:52:05 +00:00
condret
d2c6bd4888 add rst-vectors and comments 2015-10-21 21:15:59 +00:00
condret
279d09aaa8 fix build for windows 2015-10-21 20:00:24 +00:00
pancake
922da0064b Fix asm.gb build 2015-10-21 19:45:54 +02:00
condret
7d7024b2c6 initial commit for gameboy-assembler 2015-10-21 18:22:14 +00:00
pancake
7dd98bcf75 Add support for TinyCC (super fast builds) 2015-10-21 16:31:24 +02:00
pancake
c594d76323 Fix static build 2015-10-18 21:46:49 +02:00
pancake
879f798562 Fix #3501 - c++11 problem with olly disassembler 2015-10-18 17:11:57 +02:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
Anton Kochkov
32a4b9e6b7 Add XCH for AVR, patch from @Darkkey 2015-10-14 00:15:19 +02:00
Anton Kochkov
82eed6f2a5 More standard C and TCC fixes 2015-10-06 01:29:26 +03:00
qnix
55146f4ab1 6502: illegal/undocumented instructions 2015-09-23 22:21:11 +00:00
Felix Held
db39374b8b add lm32 disassembly support 2015-09-20 23:58:12 +02:00
Ricardo Quesada
557d45bca1 Add 6502 analysis module
Include all documented 6502 opcodes
Esil expression is still work in progress
Fix BRK opcode->size in 6502_disas
2015-09-18 00:09:43 +02:00
condret
6c278703af add mcs96-disassembler (needs a lots of love) 2015-09-16 00:45:01 +00:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
pancake
6dd21e50e9 Fix regression in z80 (thx @dequis) 2015-09-14 10:30:18 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
ccc1668d98 Fix assemble of thumb 'b' instruction 2015-09-11 03:56:47 +02:00
pancake
cff606d99f Fix z80 indentation and remove exit() statement 2015-09-03 15:13:46 +02:00
Darkkey
61735aabb5 Added AVR assembler, fixed AVR 'sts' command disassembling. 2015-09-02 23:00:25 +02:00
pancake
9ff546439d Workaround for the ARM ldr assembler issue 2015-09-02 01:25:34 +02:00
pancake
b321d7fd8c Fix local var and assemble of LDR instructions in ARM eggs 2015-09-02 00:58:39 +02:00
pancake
a5655dff9b A bit dsojson leak just to avoid a crash 2015-09-01 18:44:37 +02:00
pancake
b1e267dd7a Fix gcc warnings for the gnu arm disassembler 2015-08-31 17:08:30 +02:00
pancake
605290f071 Support Thumb UDF instruction 2015-08-28 19:49:43 +02:00
pancake
1d4b0d8555 Fix some covs 2015-08-28 17:21:04 +02:00
pancake
529698f635 Add support to assemble Undefined ARM instructions 2015-08-28 15:18:52 +02:00
pancake
604cf153fa Update arm.gnu plugin to support CRC and UDF instructions 2015-08-28 14:40:25 +02:00
pancake
95bdb8e2ac Avoid tabs in SH GNU disassembler 2015-08-27 13:05:30 +02:00
Maijin
69aea0184d Fix some dalvik opcodes
add-double <-> sub-double
2015-08-21 13:28:52 +02:00
pancake
f4528faa93 Fix #3031 - Another ODR violation from @revskills 2015-08-19 18:58:48 +02:00
pancake
b57e4f9b9d Fix #3031 - Fix ODR violation and cleanup (-100LOC) EBC disassembler 2015-08-19 17:48:02 +02:00
pancake
55b560d406 Fix warning in dcpu16 disassembler 2015-08-16 18:26:57 +02:00
pancake
def4329769 Fix #3081 - Fix LDR instruction for the ARM assembler 2015-08-13 03:12:12 +02:00
pancake
eb7d33e3d9 Remove dupped instruction in v810 2015-08-11 09:04:21 +02:00
pancake
0005fe73c3 Fix oobread in dcpu16 2015-08-09 12:39:11 +02:00
Sascha Schirra
7c145226d2 Bugfix: movw/movt instructions are assembled to mov instruction 2015-08-03 12:06:55 +02:00
pancake
191fecab85 Fix RAsm build 2015-07-15 01:04:22 +02:00
David Kreuter
a8d7b8ea94 CID 1134732 Out-of-bounds access /libr/asm/arch/avr/format.c 2015-07-15 00:39:07 +02:00
mrdanielps
a44d087e87 V810 fixes:
* Add system register names
* Fix xor and remove unused instructions
2015-07-11 22:42:32 +02:00
mrdanielps
1eb7d865d2 V810: bugfixes 2015-07-08 21:10:05 +02:00
mrdanielps
dce2a1eb88 Add V810 support 2015-07-08 21:09:59 +02:00