640 Commits

Author SHA1 Message Date
Anton Kochkov
09aa35d3bd Cleanup disasm buffer for 8051 2014-05-11 04:51:43 +04:00
Anton Kochkov
1a0d10ef34 8051 - remove inclusion of the C source 2014-05-10 18:18:26 +04:00
Anton Kochkov
9069d8e0a9 Fix TMS320C55x+ segfaults 2014-05-10 03:01:55 +04:00
Anton Kochkov
fa96f3fa85 Fix #904 - 8051 disassembly 2014-05-10 02:02:01 +04:00
pancake
216c183b6e Remove tons of useless 'if (x) free (x)' 2014-05-09 17:40:28 +02:00
jvoisin
e91a45e867 Fix CID 1194806 2014-05-09 15:33:01 +02:00
jvoisin
36a5f5b56d Fix CID 1135160 2014-05-09 15:26:32 +02:00
jvoisin
f115779c5f Fix CID 1134541 2014-05-09 15:08:47 +02:00
pancake
1eb08738ba Fix #904 - s/???/invalid/g 2014-05-09 10:48:23 +02:00
pancake
731fc03a29 FIx #905 - assemble rdtsc and fix /c 2014-05-09 10:39:56 +02:00
pancake
ee276298b2 Fix memleaks in radiff2, segfaults in 8051 and aagraph 2014-05-09 03:06:05 +02:00
Anton Kochkov
33d5dfbca4 Fix build 2014-05-09 03:53:27 +04:00
Anton Kochkov
bf6e827551 Fix 8051 segfaults 2014-05-09 03:49:36 +04:00
Anton Kochkov
01a7d72362 Fix CID 1134848 2014-05-09 03:49:35 +04:00
Anton Kochkov
93757f045a Fix CID 1137867 2014-05-09 01:52:59 +04:00
Fedor Sakharov
5ec72d68c8 ARC: print numbers in hex, don't use 0x prefix if the number is in [0..9]
Fixes #306
2014-05-08 12:28:02 +04:00
Ilya V. Matveychikov
8167a31d8a tms320: remove unicode symbols from the c55x opcode table 2014-05-08 01:42:39 +02:00
Ilya V. Matveychikov
12fd2dffbd tms320: add XACS/XACD fields parsing for the x55x
It was surprising for me that these fields are not parsed properly. Found that
by crafting test cases in radare2-regressions.

Also, opcode table for the c55x was slighly incorrect. Hope, next patch will fix
that confusion.
2014-05-07 23:43:28 +02:00
Ilya V. Matveychikov
f225edde45 tms320: fix c55x opcode table
This patch fixes c55x opcode table and solves the problem with parsing of 2 or
more similar instructions that differs in some bits. Mmatching algorithm doesn't
takes into account wildcard mask length.

It leads to bad situation where first instruction match may complete successfull
but the second instruction, which in turn has more presicely mask, doesn't be
looked up:

       INSN1 with mask AAAA xxxx BBBB	(matched by wildcard mask)
       INSN2 with mask AAAA CCCC BBBB

Here the 'xxxx' is a 4-bit whildcard mask, 'AAAA', 'BBBB' and 'CCCC' is 4-bit
values.

The solution is to rebuild tables sorting items by the wildcard mask length
ascending.
2014-05-07 23:43:28 +02:00
Ilya V. Matveychikov
d25b5511dc tms320: add c55x table generator script 2014-05-07 23:43:28 +02:00
Ilya V. Matveychikov
91ebf19666 tms320: fix invalid k12 field parsing for c55x (in some cases k12=k4+k8) 2014-05-07 23:43:28 +02:00
pancake
b1349f8b14 Merge branch 'master' of https://github.com/radare/radare2 2014-05-07 16:32:53 +02:00
jvoisin
280068268b Fix CID 1135188 2014-05-07 13:43:31 +02:00
jvoisin
6c7dc17b36 Fix CID 1134630 2014-05-07 13:36:32 +02:00
jvoisin
a45deea1f7 Fix CID 1134593 2014-05-07 13:33:20 +02:00
Ilya V. Matveychikov
70afe92c81 tms320: fix instruction syntax (space missed) 2014-05-07 02:52:04 +02:00
Ilya V. Matveychikov
dfac2f9f0c tms320: fix error with c55x SSDD fields decoding 2014-05-07 02:52:04 +02:00
Ilya V. Matveychikov
a8bb021882 tms320: don't use hash sign with hex numbers for c55x
The only one rigth thing to do with hex numbers is to precede
such a numbers with '0x', not the '#' (beat me).
2014-05-07 02:52:04 +02:00
jvoisin
2c9923807e Fix CID 1135115 2014-05-06 01:36:08 +02:00
jvoisin
90d5fc576d Fix CID 1135114 2014-05-06 01:35:00 +02:00
jvoisin
f7767d4f15 Fix CID 1135113 2014-05-06 01:32:44 +02:00
jvoisin
d705e916bf Fix CID 1135109 2014-05-06 01:31:26 +02:00
jvoisin
20d17f5947 Fix CID 1135102 2014-05-06 01:25:39 +02:00
jvoisin
6ed5eaeac9 Fix CID 1135117 2014-05-06 01:17:19 +02:00
jvoisin
9001073705 Fix CID 1134527 2014-05-06 01:07:19 +02:00
Anton Kochkov
859a1492cd Fix CID 1211138 2014-05-06 01:13:39 +04:00
jvoisin
26d08c9259 Fix CID 1211167 2014-05-05 18:21:39 +02:00
jvoisin
47e5332073 Fix CID 1211139 2014-05-05 17:54:51 +02:00
Anton Kochkov
846a35063d Fix CID 1134848 2014-05-03 04:29:10 +04:00
jvoisin
838dabba30 Fix CID 1135190 2014-04-30 12:42:51 +02:00
jvoisin
1cd63a2f2e Fix CID 1134666 2014-04-30 12:42:51 +02:00
jvoisin
8ae158e86d Fix CID 1135187 2014-04-30 01:56:36 +02:00
jvoisin
1cce7502da Fix CID 1134680 2014-04-30 01:41:52 +02:00
Anton Kochkov
94d01aba57 Fix CID 1137861 2014-04-30 03:04:41 +04:00
Anton Kochkov
18235021ba Fix CID 1137863 2014-04-30 03:02:13 +04:00
Anton Kochkov
3021f89f3e Fix CID 1194794 2014-04-29 06:08:38 +04:00
Anton Kochkov
7e285583df Fix CID 1194795 2014-04-29 06:08:38 +04:00
Anton Kochkov
b6ea32d2fb Fix CID 1208743 2014-04-28 23:08:31 +04:00
deeso
ce7f33480e fixing warnings (not the unused ones) in various files 2014-04-28 12:58:35 -05:00
jvoisin
76965f8d77 Add checks to "r_file_mkstemp" calls 2014-04-28 11:36:19 +02:00