545 Commits

Author SHA1 Message Date
Ilya V. Matveychikov
e4226ffcea TMS320: fix defects reported by coverity
** CID 1168318:  Dead default in switch  (DEADCODE)
/libr/asm/arch/tms320/tms320_dasm.c: 552 in get_mmm_str()

** CID 1168319:  Operands don't affect result  (CONSTANT_EXPRESSION_RESULT)
/libr/asm/arch/tms320/tms320_dasm.c: 383 in get_cond_str()
2014-02-07 13:42:06 +04:00
Ilya V. Matveychikov
41eb3808c1 TMS320: move c55x+ to C55X_PLUS namespace 2014-02-06 12:50:25 +04:00
Ilya V. Matveychikov
cef957b20d TMS320: remove 64 from asm plugins bits 2014-02-06 11:07:47 +04:00
Ilya V. Matveychikov
8f40890bd7 TMS320: fill cpus field in the RAsmPlugin struct 2014-02-06 11:04:53 +04:00
zonkzonk
2f66bc120f add some x86 instruction description (*q x86_64)
please review! should we split x86 and x86_64 ?
2014-02-06 01:01:52 +01:00
pancake
2c676570a9 Merge branch 'master' 2014-02-06 00:27:08 +01:00
pancake
9a099e9e9e Add RAsmPlugins->cpus and handle it in rasm2 -L <arch> 2014-02-06 00:26:17 +01:00
Anton Kochkov
db8f8aaef1 Fix asm.cpu and anal.cpu TMS320 names 2014-02-06 02:12:34 +04:00
Ilya V. Matveychikov
969ea9b7c2 TMS320: move c55plus under the TMS320 namespace
Sorry for the huge patch, but there is nothing special. We just move
asm/arch/c55plus into the asm/arch/tms320 and add some wrappers to use
existing code base under the new namespace.

Also, we've implement TMS320 anal module that supports now c55+ only. To
be continued...
2014-02-06 01:19:23 +04:00
Ilya V. Matveychikov
64aa3b37f2 TMS320: add on-the-fly cpu changing ability
Add support for changing CPU by looking at `asm.cpu` variable
2014-02-06 01:19:23 +04:00
Ilya V. Matveychikov
abdd654f0a Add TMS320 features and decoding state fields 2014-02-05 12:47:36 +01:00
Ilya V. Matveychikov
1db5c446a9 Add TMS320 disassembly engine
This patch adds TMS320 DSP family processors disassembly engine. It's
purpose to add support for the all the families processors but as for
now the only one of them is supported (C55X).
2014-02-05 12:14:06 +01:00
pancake
a648539513 Fix static build 2014-02-03 00:19:55 +01:00
jvoisin
65bb8c5ec6 Coverity fixes #590
- Sandbox r2agent
- Check a return value
- Add missing parentheses
- Add missing parentheses
- Fix a division by zero
- Fix a wrong assignation
2014-02-02 23:58:50 +01:00
condret
cfdb0ebea1 Add basic whitespace support #592 2014-02-02 23:56:58 +01:00
pancake
5fe20bfe86 Fix #581 - rasm2 does not work for arc 2014-01-30 00:11:58 +01:00
zonkzonk
d6466b32bf Update x86
update rtdsc opcode description
2014-01-29 23:11:27 +01:00
pancake
809de9cd9c Fix #580 - Incorrect ARM far branch (applied @kikuchan patch) 2014-01-28 17:14:33 +01:00
condret
9825896e7c Add support for Malbolge disasm and analysis 2014-01-28 11:21:17 +01:00
pancake
4672c2d866 Fix short jmp assemble in x86.nz, add rasm2 -O <outputfile> 2014-01-26 01:58:25 +01:00
pancake
20a8b59984 Minor changes for the avr disas 2014-01-25 03:42:30 +01:00
pancake
5d53fc79eb Fixes in AVR disasm and analysis 2014-01-25 03:22:41 +01:00
pancake
6656f8d0fa Some more cleanup and rmeta fixes 2014-01-23 04:00:01 +01:00
pancake
473cd8953d ax -> afr ; more cleanup, add ark 2014-01-23 02:31:51 +01:00
pancake
a52ebdf61e Fix arm64 build with older iOS SDKs 2014-01-21 16:14:36 +01:00
Adam Pridgen
db1bb1a089 Changed the location of RBinObject, and created RBinFile to conform similarly to
RCoreFile, where RBinFile contains meta information for RBinObjects.  Now
RBinFiles are swapped out along with the RCoreFile when the priority is changed.
2014-01-20 02:44:25 +01:00
pancake
d86bf57ca4 Remove more r_lib references 2014-01-18 02:52:49 +01:00
Adam Pridgen
285e9ee1ef Moving the bin_obj (internal format into RBinObject proper 2014-01-17 12:41:37 -06:00
pancake
ad430f0d52 Add simple nios2 analysis plugin (colors!) 2014-01-15 22:44:14 +01:00
pancake
933dc0ef6d Add NIOS CPU disasm support (from gnu binutils) 2014-01-15 12:31:57 +01:00
pancake
9f0d7e44d3 Fix some issues reported by coverity 2014-01-15 01:56:28 +01:00
Adam Pridgen
9bdd742a43 Fix null pointer issues with java's use of sdb. Re-did the way keys for cp object, methods, and fields are entered into the sdb. Updated the way bin objects are referenced in asm and anal plugins for java. 2014-01-10 00:35:25 -06:00
pancake
43647b909c Initialize udis86 library once (faster disasm) 2014-01-05 04:51:46 +01:00
Maxime M
c12bb6f493 PPC:Add some misc opcodes 2014-01-04 02:15:24 +01:00
pancake
4a5165f232 Add missing Jamroot files in binr/ 2014-01-03 01:03:39 +01:00
pancake
98053a806d Fix bjam build 2014-01-03 00:43:22 +01:00
pancake
38fc28f960 Added more Jamroot files 2014-01-03 00:13:46 +01:00
pancake
3b3bbbb916 Add more Jamroot files and move some plugs to r2-extras 2013-12-31 15:34:27 +01:00
condret
9363a11ca5 Update gb_op_table.h
This would make ramulate happy
2013-12-29 18:44:10 +01:00
pancake
375b2164fe Implement 'movs' in ARM assembler 2013-12-29 02:36:28 +01:00
pancake
b546844132 Implement 'swp' instruction in the ARM assembler 2013-12-29 02:30:26 +01:00
pancake
3e5dc60379 Fix 'cmp' in ARM assembler
- gnu dis is confusing:
  cmp r3, 1, 30 -> cmp r3, 1<<(32-30)
2013-12-29 02:11:40 +01:00
pancake
ab82968341 Fix build, update sdb for sdb_apush fix 2013-12-22 23:55:28 +01:00
pancake
0a3e867392 Fix linking and do some minor changes 2013-12-22 03:24:12 +01:00
Adam Pridgen
77bc339184 Added cp_opj info into the sdb. CP Info is a primitive serialization that describes the file location, type, and values (dependant on type) in a dotted string format. 2013-12-22 01:56:18 +01:00
condret
f4d1a3a589 GB bankswitch detect + autocomments, fix wrong opcode, update anal 2013-12-17 02:19:29 +01:00
pancake
3a9b6c686f Fix asm/avr license and some coverity issues 2013-12-15 00:58:05 +01:00
Fedor Sakharov
4536780d3a Fixes coverity issues in asm_ebc.c and ebc_disas.c 2013-12-14 11:33:07 +04:00
pancake
2620f22e9b Fix 8051 segfault 2013-12-14 01:45:48 +01:00
pancake
9e904df9b8 Fix static linking 2013-12-14 01:31:49 +01:00